Thread (30 messages) flat view 30 messages, 3 authors, 2023-02-10

Re: [PATCH v2 07/19] powerpc/rtas: improve function information lookups

From: Nathan Lynch <hidden>
Date: 2023-02-08 13:17:25

Michael Ellerman [off-list ref] writes:
Nathan Lynch via B4 Submission Endpoint
[off-list ref] writes:
quoted
From: Nathan Lynch <redacted>

The core RTAS support code and its clients perform two types of lookup
for RTAS firmware function information.
...
quoted
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 479a95cb2770..14fe79217c26 100644
--- a/arch/powerpc/include/asm/rtas.h
+++ b/arch/powerpc/include/asm/rtas.h
@@ -16,6 +16,93 @@
  * Copyright (C) 2001 PPC 64 Team, IBM Corp
  */
 
+#define rtas_fnidx(x_) RTAS_FNIDX__ ## x_
I'd prefer we just spelt it out in full, to aid grepability and
cscope/tags etc.
OK.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help