projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0224e
)
parisc/pdc: Add width field to struct pdc_model
author
Helge Deller
<deller@gmx.de>
Sun, 22 Oct 2023 09:48:11 +0000
(11:48 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:07:10 +0000
(17:07 +0000)
commit
6240553b52c475d9fc9674de0521b77e692f3764
upstream.
PDC2.0 specifies the additional PSW-bit field.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/uapi/asm/pdc.h
patch
|
blob
|
history
diff --git
a/arch/parisc/include/uapi/asm/pdc.h
b/arch/parisc/include/uapi/asm/pdc.h
index
7a90070
..
8e38a86
100644
(file)
--- a/
arch/parisc/include/uapi/asm/pdc.h
+++ b/
arch/parisc/include/uapi/asm/pdc.h
@@
-472,6
+472,7
@@
struct pdc_model { /* for PDC_MODEL */
unsigned long arch_rev;
unsigned long pot_key;
unsigned long curr_key;
+ unsigned long width; /* default of PSW_W bit (1=enabled) */
};
struct pdc_cache_cf { /* for PDC_CACHE (I/D-caches) */