* WARN Kernel v6.9-evl-rebase - do_int80_emulation
@ 2024-05-17 11:49 Nechita, Ionut
2024-05-17 12:12 ` Philippe Gerum
0 siblings, 1 reply; 10+ messages in thread
From: Nechita, Ionut @ 2024-05-17 11:49 UTC (permalink / raw)
To: xenomai@lists.linux.dev
Hello Xenomai Team,
I notice one warning message today in dmesg, when using 6.9-evl branch.
Output(dmesg):
[ 9.807115] ------------[ cut here ]------------
[ 9.807119] WARNING: CPU: 1 PID: 1473 at kernel/irq/pipeline.c:303 inband_irq_enable+0x21/0x40
[ 9.807126] Modules linked in: xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables libcrc32c nfnetlink snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component cmac algif_hash algif_skcipher af_alg bnep overlay snd_sof_pci_intel_skl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_generic_allocation soundwire_bus snd_soc_avs snd_soc_hda_codec snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core intel_rapl_msr intel_rapl_common snd_compress ac97_bus snd_pcm_dmaengine intel_uncore_frequency intel_uncore_frequency_common snd_hda_intel intel_tcc_cooling snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec x86_pkg_temp_thermal intel_powerclamp snd_hda_core coretemp iwlmvm snd_hwdep kvm_intel
[ 9.807164] mei_hdcp mei_pxp binfmt_misc snd_pcm kvm i915 mac80211 snd_seq_midi libarc4 crct10dif_pclmul snd_seq_midi_event polyval_clmulni polyval_generic ghash_clmulni_intel snd_rawmidi btusb btrtl snd_seq btintel sha256_ssse3 btbcm btmtk sha1_ssse3 drm_buddy snd_seq_device aesni_intel bluetooth snd_timer iwlwifi ttm crypto_simd cryptd rapl drm_display_helper ecdh_generic intel_cstate wmi_bmof snd cec intel_wmi_thunderbolt ecc ee1004 cfg80211 i2c_algo_bit mei_me soundcore intel_xhci_usb_role_switch mei intel_pch_thermal intel_pmc_core intel_vsec pmt_telemetry pmt_class mac_hid acpi_pad sch_fq_codel msr parport_pc ppdev lp parport efi_pstore ip_tables x_tables autofs4 rtsx_pci_sdmmc i2c_i801 ahci e1000e crc32_pclmul rtsx_pci libahci xhci_pci xhci_pci_renesas i2c_smbus xhci_hcd video wmi
[ 9.807209] CPU: 1 PID: 1473 Comm: check Not tainted 6.9.0-x64v1-lowlatency1 #2
[ 9.807212] Hardware name: Intel(R) Client Systems NUC7i7BNH/NUC7i7BNB, BIOS BNKBL357.86A.0083.2020.0714.1344 07/14/2020
[ 9.807213] IRQ stage: Linux
[ 9.807214] RIP: 0010:inband_irq_enable+0x21/0x40
[ 9.807216] Code: 90 90 90 90 90 90 90 90 90 55 48 89 e5 53 0f b6 1d c5 86 3c 02 80 fb 01 0f 87 36 bc fb 00 83 e3 01 75 09 9c 58 f6 c4 02 75 02 <0f> 0b e8 58 ff ff ff 48 8b 5d f8 c9 31 c0 31 f6 31 ff c3 cc cc cc
[ 9.807218] RSP: 0000:ffffb419821ebcd8 EFLAGS: 00010046
[ 9.807220] RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000000
[ 9.807221] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 9.807222] RBP: ffffb419821ebce0 R08: 0000000000000000 R09: 0000000000000000
[ 9.807224] R10: 0000000000000000 R11: 0000000000000000 R12: ffffb419821ebf58
[ 9.807225] R13: 0000000000000001 R14: ffff9aea847e29c0 R15: 0000000000000000
[ 9.807226] FS: 0000000000000000(0000) GS:ffff9af19eb00000(0000) knlGS:0000000000000000
[ 9.807227] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 9.807229] CR2: 0000000008049000 CR3: 000000010ec94001 CR4: 00000000003706f0
[ 9.807230] Call Trace:
[ 9.807232] <TASK>
[ 9.807234] ? show_regs+0x71/0x90
[ 9.807238] ? inband_irq_enable+0x21/0x40
[ 9.807240] ? __warn+0x8c/0x160
[ 9.807243] ? inband_irq_enable+0x21/0x40
[ 9.807245] ? report_bug+0x1ab/0x1c0
[ 9.807249] ? handle_bug+0x52/0xc0
[ 9.807252] ? exc_invalid_op+0x10c/0x140
[ 9.807255] ? asm_exc_invalid_op+0x1b/0x20
[ 9.807261] ? inband_irq_enable+0x21/0x40
[ 9.807264] do_int80_emulation+0x87/0x1d0
[ 9.807268] ? do_fault+0x36f/0x530
[ 9.807272] ? __pmd_alloc+0x12c/0x200
[ 9.807275] ? __handle_mm_fault+0x746/0xe30
[ 9.807280] ? inband_irq_restore+0x33/0x40
[ 9.807281] ? handle_mm_fault+0x22c/0x380
[ 9.807284] ? irqentry_exit_to_user_mode+0x91/0x310
[ 9.807287] ? irqentry_exit+0x4f/0x100
[ 9.807289] ? exc_page_fault+0x9b/0x1c0
[ 9.807292] asm_int80_emulation+0x1b/0x20
[ 9.807294] RIP: 0023:0x8049009
[ 9.807298] Code: Unable to access opcode bytes at 0x8048fdf.
[ 9.807299] RSP: 002b:00000000ffee7b80 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 9.807301] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000000000
[ 9.807302] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 9.807303] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 9.807304] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[ 9.807305] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 9.807308] </TASK>
[ 9.807309] ---[ end trace 0000000000000000 ]---
Lscpu:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: GenuineIntel
Model name: Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
CPU family: 6
Model: 142
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Stepping: 9
BogoMIPS: 6999.82
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64
monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc
_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 64 KiB (2 instances)
L1i: 64 KiB (2 instances)
L2: 512 KiB (2 instances)
L3: 4 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Vulnerabilities:
Gather data sampling: Mitigation; Microcode
Itlb multihit: KVM: Mitigation: VMX disabled
L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Mds: Mitigation; Clear CPU buffers; SMT vulnerable
Meltdown: Mitigation; PTI
Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable
Reg file data sampling: Not affected
Retbleed: Mitigation; IBRS
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; IBRS; IBPB conditional; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Srbds: Mitigation; Microcode
Tsx async abort: Not affected
Lspci:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics 650 (rev 06)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1c.7 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #8 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-V (rev 21)
3a:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
Linux 6.9.0-x64v1-evl1 #2 SMP PREEMPT_DYNAMIC IRQ_PIPELINE Fri May 17 14:29:03 EEST 202 x86_64 x86_64 x86_64 GNU/Linux
Best regards.
Ionut Nechita.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-17 11:49 WARN Kernel v6.9-evl-rebase - do_int80_emulation Nechita, Ionut
@ 2024-05-17 12:12 ` Philippe Gerum
2024-05-17 12:40 ` Nechita, Ionut
0 siblings, 1 reply; 10+ messages in thread
From: Philippe Gerum @ 2024-05-17 12:12 UTC (permalink / raw)
To: Nechita, Ionut; +Cc: xenomai@lists.linux.dev
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Hello Xenomai Team,
>
> I notice one warning message today in dmesg, when using 6.9-evl branch.
>
> Output(dmesg):
>
> [ 9.807115] ------------[ cut here ]------------
> [ 9.807119] WARNING: CPU: 1 PID: 1473 at kernel/irq/pipeline.c:303 inband_irq_enable+0x21/0x40
<snip>
Could you please try this?
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c
index 3d7be57150174..8f5a460d7fc00 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -259,7 +259,7 @@ __visible noinstr void do_int80_emulation(struct pt_regs *regs)
nr = syscall_32_enter(regs);
- local_irq_enable();
+ local_irq_enable_full();
nr = syscall_enter_from_user_mode_work(regs, nr);
if (dovetailing()) {
--
Philippe.
^ permalink raw reply related [flat|nested] 10+ messages in thread
* RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-17 12:12 ` Philippe Gerum
@ 2024-05-17 12:40 ` Nechita, Ionut
2024-05-17 13:15 ` Philippe Gerum
0 siblings, 1 reply; 10+ messages in thread
From: Nechita, Ionut @ 2024-05-17 12:40 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai@lists.linux.dev
Clean now in dmesg.
Warn message not appear.
This patch is fine.
But I notice issue on compiling CONFIG_PINCTRL_CHERRYVIEW at builtin option.
Kernel failing when CONFIG_PINCTRL_CHERRYVIEW is =y.
I use CONFIG_PINCTRL_CHERRYVIEW=n to compiling your change.
Best regards,
Ionut Nechita
-----Original Message-----
From: Philippe Gerum <rpm@xenomai.org>
Sent: Friday, May 17, 2024 3:13 PM
To: Nechita, Ionut <ionut.nechita@intel.com>
Cc: xenomai@lists.linux.dev
Subject: Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Hello Xenomai Team,
>
> I notice one warning message today in dmesg, when using 6.9-evl branch.
>
> Output(dmesg):
>
> [ 9.807115] ------------[ cut here ]------------
> [ 9.807119] WARNING: CPU: 1 PID: 1473 at kernel/irq/pipeline.c:303 inband_irq_enable+0x21/0x40
<snip>
Could you please try this?
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c index 3d7be57150174..8f5a460d7fc00 100644
--- a/arch/x86/entry/common.c
+++ b/arch/x86/entry/common.c
@@ -259,7 +259,7 @@ __visible noinstr void do_int80_emulation(struct pt_regs *regs)
nr = syscall_32_enter(regs);
- local_irq_enable();
+ local_irq_enable_full();
nr = syscall_enter_from_user_mode_work(regs, nr);
if (dovetailing()) {
--
Philippe.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-17 12:40 ` Nechita, Ionut
@ 2024-05-17 13:15 ` Philippe Gerum
2024-05-17 13:23 ` Nechita, Ionut
0 siblings, 1 reply; 10+ messages in thread
From: Philippe Gerum @ 2024-05-17 13:15 UTC (permalink / raw)
To: Nechita, Ionut; +Cc: xenomai@lists.linux.dev
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Clean now in dmesg.
> Warn message not appear.
> This patch is fine.
>
> But I notice issue on compiling CONFIG_PINCTRL_CHERRYVIEW at builtin option.
> Kernel failing when CONFIG_PINCTRL_CHERRYVIEW is =y.
>
> I use CONFIG_PINCTRL_CHERRYVIEW=n to compiling your change.
>
There must be something else at work. Builds fine here with
CONFIG_PINCTRL_CHERRYVIEW=y.
The failing build log would help.
--
Philippe.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-17 13:15 ` Philippe Gerum
@ 2024-05-17 13:23 ` Nechita, Ionut
2024-05-17 13:38 ` Nechita, Ionut
0 siblings, 1 reply; 10+ messages in thread
From: Nechita, Ionut @ 2024-05-17 13:23 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai@lists.linux.dev
This is happened when CONFIG_DOVETAIL is =n and CONFIG_EVL is =n in .config.
When using disable this and using generic configuration/flavour; CONFIG_PINCTRL_CHERRYVIEW with =y is not build.
Maybe rebase is not fully completed on 6.9-rebase-evl.
Will try to append kernel log build.
Best regards,
Ionut Nechita.
-----Original Message-----
From: Philippe Gerum <rpm@xenomai.org>
Sent: Friday, May 17, 2024 4:16 PM
To: Nechita, Ionut <ionut.nechita@intel.com>
Cc: xenomai@lists.linux.dev
Subject: Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Clean now in dmesg.
> Warn message not appear.
> This patch is fine.
>
> But I notice issue on compiling CONFIG_PINCTRL_CHERRYVIEW at builtin option.
> Kernel failing when CONFIG_PINCTRL_CHERRYVIEW is =y.
>
> I use CONFIG_PINCTRL_CHERRYVIEW=n to compiling your change.
>
There must be something else at work. Builds fine here with CONFIG_PINCTRL_CHERRYVIEW=y.
The failing build log would help.
--
Philippe.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-17 13:23 ` Nechita, Ionut
@ 2024-05-17 13:38 ` Nechita, Ionut
2024-05-20 9:49 ` Nechita, Ionut
0 siblings, 1 reply; 10+ messages in thread
From: Nechita, Ionut @ 2024-05-17 13:38 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai@lists.linux.dev
Snip log for kernel build:
...
CC [M] drivers/crypto/intel/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.o
LD [M] drivers/staging/most/i2c/most_i2c.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pin_dbg_show':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: error: cleanup argument not a function
CC drivers/mmc/core/host.o
CC [M] drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:120:17: error: implicit declaration of function 'class_hard_spinlock_irqsave_constructor'; did you mean 'class_raw_spinlock_irqsave_constructor'? [-Werror=implicit-function-declaration]
120 | class_##_name##_constructor
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
LD [M] drivers/staging/most/net/most_net.o
CC [M] drivers/hwtracing/intel_th/acpi.o
CC [M] drivers/platform/surface/surface_aggregator_cdev.o
./include/linux/cleanup.h:166:28: error: implicit declaration of function 'class_hard_spinlock_irqsave_lock_ptr'; did you mean 'class_raw_spinlock_irqsave_lock_ptr'? [-Werror=implicit-function-declaration]
166 | #define __guard_ptr(_name) class_##_name##_lock_ptr
| ^~~~~~
./include/linux/cleanup.h:170:28: note: in expansion of macro '__guard_ptr'
170 | *done = NULL; __guard_ptr(_name)(&scope) && !done; done = (void *)1)
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
CC drivers/devfreq/governor_performance.o
CC [M] drivers/pinctrl/pinctrl-mcp23s08.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinmux_set_mux':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:671:9: note: in expansion of macro 'guard'
671 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/ufs/core/ufs-debugfs.o
drivers/pinctrl/intel/pinctrl-cherryview.c:671:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard484' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:671:9: note: in expansion of macro 'guard'
671 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC drivers/devfreq/governor_powersave.o
CC drivers/extcon/devres.o
CC [M] drivers/staging/media/ipu3/ipu3-css.o
CC [M] drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.o
CC [M] drivers/pinctrl/intel/pinctrl-alderlake.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_request_enable':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:747:9: note: in expansion of macro 'guard'
747 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:747:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard487' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:747:9: note: in expansion of macro 'guard'
747 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/staging/vt6655/baseband.o
CC [M] drivers/staging/sm750fb/ddk750_mode.o
CC [M] drivers/pinctrl/intel/pinctrl-broxton.o
CC [M] drivers/staging/fbtft/fbtft-core.o
CC [M] drivers/staging/sm750fb/ddk750_display.o
CC [M] drivers/platform/chrome/chromeos_laptop.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_disable_free':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:796:9: note: in expansion of macro 'guard'
796 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:796:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard488' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:796:9: note: in expansion of macro 'guard'
796 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/ras/amd/atl/denormalize.o
LD [M] drivers/virt/vboxguest/vboxguest.o
CC [M] drivers/mmc/host/sdhci-pci-o2micro.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_set_direction':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:811:9: note: in expansion of macro 'guard'
811 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:811:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard489' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:811:9: note: in expansion of macro 'guard'
811 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/staging/sm750fb/ddk750_swi2c.o
AR drivers/clocksource/built-in.a
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_config_get':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:842:9: note: in expansion of macro 'scoped_guard'
842 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:842:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:842:9: note: in expansion of macro 'scoped_guard'
842 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_config_set_pull':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:922:9: note: in expansion of macro 'guard'
922 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:922:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard490' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:922:9: note: in expansion of macro 'guard'
922 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_config_set_oden':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:983:9: note: in expansion of macro 'guard'
983 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:983:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard491' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:983:9: note: in expansion of macro 'guard'
983 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC drivers/interconnect/debugfs-client.o
CC [M] drivers/pinctrl/intel/pinctrl-cannonlake.o
CC [M] drivers/staging/vt6656/usbpipe.o
CC [M] drivers/staging/vt6655/rxtx.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_get':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1104:9: note: in expansion of macro 'scoped_guard'
1104 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1104:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1104:9: note: in expansion of macro 'scoped_guard'
1104 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
CC [M] drivers/staging/vt6656/channel.o
CC drivers/mmc/core/mmc.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_set':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1120:9: note: in expansion of macro 'guard'
1120 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1120:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard494' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1120:9: note: in expansion of macro 'guard'
1120 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/pinctrl/intel/pinctrl-cedarfork.o
CC [M] drivers/extcon/extcon-adc-jack.o
CC [M] drivers/pinctrl/intel/pinctrl-denverton.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_get_direction':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1137:9: note: in expansion of macro 'scoped_guard'
1137 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1137:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1137:9: note: in expansion of macro 'scoped_guard'
1137 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
CC [M] drivers/crypto/atmel-i2c.o
CC drivers/mmc/core/mmc_ops.o
CC [M] drivers/ufs/core/ufs_bsg.o
CC [M] drivers/staging/sm750fb/ddk750_dvi.o
CC drivers/of/platform.o
CC [M] drivers/pinctrl/intel/pinctrl-elkhartlake.o
CC drivers/mmc/core/sd.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_ack':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_t'; did you mean 'class_raw_spinlock_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: note: in expansion of macro 'guard'
1179 | guard(hard_spinlock)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: error: cleanup argument not a function
CC [M] drivers/ufs/core/ufshcd-crypto.o
CC [M] drivers/crypto/ccp/ccp-dev.o
CC [M] drivers/platform/surface/surface_aggregator_hub.o
CC [M] drivers/crypto/ccp/ccp-ops.o
CC drivers/dpll/dpll_core.o
CC drivers/devfreq/governor_userspace.o
CC drivers/dpll/dpll_netlink.o
CC [M] drivers/pinctrl/intel/pinctrl-emmitsburg.o
CC drivers/mmc/core/sd_ops.o
CC drivers/of/property.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:120:17: error: implicit declaration of function 'class_hard_spinlock_constructor'; did you mean 'class_raw_spinlock_constructor'? [-Werror=implicit-function-declaration]
120 | class_##_name##_constructor
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: note: in expansion of macro 'guard'
1179 | guard(hard_spinlock)(&chv_lock);
| ^~~~~
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard495' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: note: in expansion of macro 'guard'
1179 | guard(hard_spinlock)(&chv_lock);
| ^~~~~
CC drivers/dpll/dpll_nl.o
CC drivers/of/kobj.o
CC drivers/mmc/core/sdio.o
CC [M] drivers/staging/media/av7110/av7110_hw.o
CC drivers/mmc/core/sdio_ops.o
CC [M] drivers/staging/rts5208/rtsx_scsi.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_mask_unmask':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1192:9: note: in expansion of macro 'guard'
1192 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1192:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard496' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1192:9: note: in expansion of macro 'guard'
1192 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/crypto/intel/qat/qat_common/adf_cfg.o
CC drivers/mmc/core/sdio_bus.o
CC [M] drivers/pinctrl/pinctrl-tps6594.o
CC [M] drivers/staging/rts5208/rtsx_card.o
CC drivers/devfreq/governor_passive.o
CC [M] drivers/extcon/extcon-axp288.o
LD [M] drivers/crypto/intel/qat/qat_dh895xcc/qat_dh895xcc.o
CC [M] drivers/staging/rts5208/general.o
CC [M] drivers/hwtracing/intel_th/gth.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_startup':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1244:9: note: in expansion of macro 'scoped_guard'
1244 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1244:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1244:9: note: in expansion of macro 'scoped_guard'
1244 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
CC [M] drivers/mmc/host/sdhci-pci-arasan.o
CC drivers/leds/led-core.o
CC [M] drivers/extcon/extcon-fsa9480.o
CC [M] drivers/staging/gdm724x/gdm_mux.o
CC drivers/hv/channel.o
CC [M] drivers/mmc/host/sdhci-pci-dwc-mshc.o
CC [M] drivers/mmc/host/sdhci-pci-gli.o
CC drivers/mmc/core/sdio_cis.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_type':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1336:9: note: in expansion of macro 'guard'
1336 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1336:9: error: cleanup argument not a function
CC [M] drivers/pinctrl/intel/pinctrl-geminilake.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard501' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1336:9: note: in expansion of macro 'guard'
1336 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC drivers/hv/channel_mgmt.o
CC [M] drivers/vdpa/vdpa.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_handler':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1408:9: note: in expansion of macro 'scoped_guard'
1408 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1408:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1408:9: note: in expansion of macro 'scoped_guard'
1408 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
CC drivers/of/fdt.o
CC [M] drivers/staging/media/av7110/av7110_v4l.o
CC [M] drivers/ras/amd/atl/map.o
CC [M] drivers/platform/chrome/chromeos_privacy_screen.o
CC [M] drivers/crypto/intel/qat/qat_c62xvf/adf_drv.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinctrl_mmio_access_handler':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1599:9: note: in expansion of macro 'guard'
1599 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1599:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard502' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1599:9: note: in expansion of macro 'guard'
1599 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/staging/rtl8712/rtl8712_cmd.o
CC [M] drivers/platform/chrome/chromeos_pstore.o
CC [M] drivers/extcon/extcon-gpio.o
CC [M] drivers/extcon/extcon-intel-int3496.o
CC drivers/leds/led-class.o
CC [M] drivers/crypto/intel/qat/qat_c62xvf/adf_c62xvf_hw_data.o
CC [M] drivers/crypto/intel/qat/qat_common/adf_isr.o
CC [M] drivers/crypto/intel/qat/qat_common/adf_ctl_drv.o
CC [M] drivers/crypto/ccp/ccp-dev-v3.o
AR drivers/staging/vme_user/built-in.a
CC [M] drivers/staging/pi433/pi433_if.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinctrl_suspend_noirq':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1712:9: note: in expansion of macro 'guard'
1712 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1712:9: error: cleanup argument not a function
CC [M] drivers/staging/rts5208/sd.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard503' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1712:9: note: in expansion of macro 'guard'
1712 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
AR drivers/powercap/built-in.a
CC [M] drivers/staging/fbtft/fbtft-sysfs.o
LD [M] drivers/crypto/intel/qat/qat_c62x/qat_c62x.o
CC [M] drivers/staging/pi433/rf69.o
CC [M] drivers/hsi/hsi_core.o
CC [M] drivers/hwtracing/intel_th/sth.o
CC [M] drivers/accel/habanalabs/common/mmu/mmu.o
CC [M] drivers/pinctrl/intel/pinctrl-icelake.o
LD [M] drivers/crypto/intel/qat/qat_dh895xccvf/qat_dh895xccvf.o
CC [M] drivers/parport/share.o
CC [M] drivers/staging/fbtft/fbtft-bus.o
CC [M] drivers/staging/rts5208/xd.o
CC [M] drivers/parport/ieee1284.o
CC [M] drivers/crypto/ccp/ccp-dev-v5.o
CC [M] drivers/accel/habanalabs/common/mmu/mmu_v1.o
CC [M] drivers/staging/rts5208/ms.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinctrl_resume_noirq':
CC [M] drivers/staging/media/ipu3/ipu3-v4l2.o
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1739:9: note: in expansion of macro 'guard'
1739 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/accel/habanalabs/common/mmu/mmu_v2.o
drivers/pinctrl/intel/pinctrl-cherryview.c:1739:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard504' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1739:9: note: in expansion of macro 'guard'
1739 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/parport/ieee1284_ops.o
CC [M] drivers/platform/chrome/chromeos_tbmc.o
CC drivers/platform/x86/amd/wbrf.o
LD [M] drivers/crypto/intel/qat/qat_c3xxx/qat_c3xxx.o
cc1: some warnings being treated as errors
make[8]: *** [scripts/Makefile.build:244: drivers/pinctrl/intel/pinctrl-cherryview.o] Error 1
make[8]: *** Waiting for unfinished jobs....
LD [M] drivers/virt/acrn/acrn.o
...
Best regards,
Ionut Nechita.
-----Original Message-----
From: Nechita, Ionut
Sent: Friday, May 17, 2024 4:23 PM
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@lists.linux.dev
Subject: RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
This is happened when CONFIG_DOVETAIL is =n and CONFIG_EVL is =n in .config.
When using disable this and using generic configuration/flavour; CONFIG_PINCTRL_CHERRYVIEW with =y is not build.
Maybe rebase is not fully completed on 6.9-rebase-evl.
Will try to append kernel log build.
Best regards,
Ionut Nechita.
-----Original Message-----
From: Philippe Gerum <rpm@xenomai.org>
Sent: Friday, May 17, 2024 4:16 PM
To: Nechita, Ionut <ionut.nechita@intel.com>
Cc: xenomai@lists.linux.dev
Subject: Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Clean now in dmesg.
> Warn message not appear.
> This patch is fine.
>
> But I notice issue on compiling CONFIG_PINCTRL_CHERRYVIEW at builtin option.
> Kernel failing when CONFIG_PINCTRL_CHERRYVIEW is =y.
>
> I use CONFIG_PINCTRL_CHERRYVIEW=n to compiling your change.
>
There must be something else at work. Builds fine here with CONFIG_PINCTRL_CHERRYVIEW=y.
The failing build log would help.
--
Philippe.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-17 13:38 ` Nechita, Ionut
@ 2024-05-20 9:49 ` Nechita, Ionut
2024-05-22 13:18 ` Philippe Gerum
0 siblings, 1 reply; 10+ messages in thread
From: Nechita, Ionut @ 2024-05-20 9:49 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai@lists.linux.dev
Hi Philippe,
You are reproduce this issue without CONFIG_EVL and CONFIG_DOVETAIL enabled in config kernel?
CONFIG_EVL=n
CONFIG_DOVETAIL=n
BR,
Ionut.
-----Original Message-----
From: Nechita, Ionut
Sent: Friday, May 17, 2024 4:39 PM
To: 'Philippe Gerum' <rpm@xenomai.org>
Cc: 'xenomai@lists.linux.dev' <xenomai@lists.linux.dev>
Subject: RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
Snip log for kernel build:
...
CC [M] drivers/crypto/intel/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.o
LD [M] drivers/staging/most/i2c/most_i2c.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pin_dbg_show':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: error: cleanup argument not a function
CC drivers/mmc/core/host.o
CC [M] drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:120:17: error: implicit declaration of function 'class_hard_spinlock_irqsave_constructor'; did you mean 'class_raw_spinlock_irqsave_constructor'? [-Werror=implicit-function-declaration]
120 | class_##_name##_constructor
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
LD [M] drivers/staging/most/net/most_net.o
CC [M] drivers/hwtracing/intel_th/acpi.o
CC [M] drivers/platform/surface/surface_aggregator_cdev.o
./include/linux/cleanup.h:166:28: error: implicit declaration of function 'class_hard_spinlock_irqsave_lock_ptr'; did you mean 'class_raw_spinlock_irqsave_lock_ptr'? [-Werror=implicit-function-declaration]
166 | #define __guard_ptr(_name) class_##_name##_lock_ptr
| ^~~~~~
./include/linux/cleanup.h:170:28: note: in expansion of macro '__guard_ptr'
170 | *done = NULL; __guard_ptr(_name)(&scope) && !done; done = (void *)1)
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:632:9: note: in expansion of macro 'scoped_guard'
632 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
CC drivers/devfreq/governor_performance.o
CC [M] drivers/pinctrl/pinctrl-mcp23s08.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinmux_set_mux':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:671:9: note: in expansion of macro 'guard'
671 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/ufs/core/ufs-debugfs.o
drivers/pinctrl/intel/pinctrl-cherryview.c:671:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard484' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:671:9: note: in expansion of macro 'guard'
671 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC drivers/devfreq/governor_powersave.o
CC drivers/extcon/devres.o
CC [M] drivers/staging/media/ipu3/ipu3-css.o
CC [M] drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.o
CC [M] drivers/pinctrl/intel/pinctrl-alderlake.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_request_enable':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:747:9: note: in expansion of macro 'guard'
747 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:747:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard487' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:747:9: note: in expansion of macro 'guard'
747 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/staging/vt6655/baseband.o
CC [M] drivers/staging/sm750fb/ddk750_mode.o
CC [M] drivers/pinctrl/intel/pinctrl-broxton.o
CC [M] drivers/staging/fbtft/fbtft-core.o
CC [M] drivers/staging/sm750fb/ddk750_display.o
CC [M] drivers/platform/chrome/chromeos_laptop.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_disable_free':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:796:9: note: in expansion of macro 'guard'
796 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:796:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard488' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:796:9: note: in expansion of macro 'guard'
796 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/ras/amd/atl/denormalize.o
LD [M] drivers/virt/vboxguest/vboxguest.o
CC [M] drivers/mmc/host/sdhci-pci-o2micro.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_set_direction':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:811:9: note: in expansion of macro 'guard'
811 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:811:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard489' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:811:9: note: in expansion of macro 'guard'
811 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/staging/sm750fb/ddk750_swi2c.o
AR drivers/clocksource/built-in.a
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_config_get':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:842:9: note: in expansion of macro 'scoped_guard'
842 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:842:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:842:9: note: in expansion of macro 'scoped_guard'
842 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_config_set_pull':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:922:9: note: in expansion of macro 'guard'
922 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:922:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard490' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:922:9: note: in expansion of macro 'guard'
922 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_config_set_oden':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:983:9: note: in expansion of macro 'guard'
983 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:983:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard491' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:983:9: note: in expansion of macro 'guard'
983 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC drivers/interconnect/debugfs-client.o
CC [M] drivers/pinctrl/intel/pinctrl-cannonlake.o
CC [M] drivers/staging/vt6656/usbpipe.o
CC [M] drivers/staging/vt6655/rxtx.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_get':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1104:9: note: in expansion of macro 'scoped_guard'
1104 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1104:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1104:9: note: in expansion of macro 'scoped_guard'
1104 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
CC [M] drivers/staging/vt6656/channel.o
CC drivers/mmc/core/mmc.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_set':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1120:9: note: in expansion of macro 'guard'
1120 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1120:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard494' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1120:9: note: in expansion of macro 'guard'
1120 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/pinctrl/intel/pinctrl-cedarfork.o
CC [M] drivers/extcon/extcon-adc-jack.o
CC [M] drivers/pinctrl/intel/pinctrl-denverton.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_get_direction':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1137:9: note: in expansion of macro 'scoped_guard'
1137 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1137:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1137:9: note: in expansion of macro 'scoped_guard'
1137 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
CC [M] drivers/crypto/atmel-i2c.o
CC drivers/mmc/core/mmc_ops.o
CC [M] drivers/ufs/core/ufs_bsg.o
CC [M] drivers/staging/sm750fb/ddk750_dvi.o
CC drivers/of/platform.o
CC [M] drivers/pinctrl/intel/pinctrl-elkhartlake.o
CC drivers/mmc/core/sd.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_ack':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_t'; did you mean 'class_raw_spinlock_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: note: in expansion of macro 'guard'
1179 | guard(hard_spinlock)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: error: cleanup argument not a function
CC [M] drivers/ufs/core/ufshcd-crypto.o
CC [M] drivers/crypto/ccp/ccp-dev.o
CC [M] drivers/platform/surface/surface_aggregator_hub.o
CC [M] drivers/crypto/ccp/ccp-ops.o
CC drivers/dpll/dpll_core.o
CC drivers/devfreq/governor_userspace.o
CC drivers/dpll/dpll_netlink.o
CC [M] drivers/pinctrl/intel/pinctrl-emmitsburg.o
CC drivers/mmc/core/sd_ops.o
CC drivers/of/property.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:120:17: error: implicit declaration of function 'class_hard_spinlock_constructor'; did you mean 'class_raw_spinlock_constructor'? [-Werror=implicit-function-declaration]
120 | class_##_name##_constructor
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: note: in expansion of macro 'guard'
1179 | guard(hard_spinlock)(&chv_lock);
| ^~~~~
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard495' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1179:9: note: in expansion of macro 'guard'
1179 | guard(hard_spinlock)(&chv_lock);
| ^~~~~
CC drivers/dpll/dpll_nl.o
CC drivers/of/kobj.o
CC drivers/mmc/core/sdio.o
CC [M] drivers/staging/media/av7110/av7110_hw.o
CC drivers/mmc/core/sdio_ops.o
CC [M] drivers/staging/rts5208/rtsx_scsi.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_mask_unmask':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1192:9: note: in expansion of macro 'guard'
1192 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1192:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard496' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1192:9: note: in expansion of macro 'guard'
1192 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/crypto/intel/qat/qat_common/adf_cfg.o
CC drivers/mmc/core/sdio_bus.o
CC [M] drivers/pinctrl/pinctrl-tps6594.o
CC [M] drivers/staging/rts5208/rtsx_card.o
CC drivers/devfreq/governor_passive.o
CC [M] drivers/extcon/extcon-axp288.o
LD [M] drivers/crypto/intel/qat/qat_dh895xcc/qat_dh895xcc.o
CC [M] drivers/staging/rts5208/general.o
CC [M] drivers/hwtracing/intel_th/gth.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_startup':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1244:9: note: in expansion of macro 'scoped_guard'
1244 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1244:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1244:9: note: in expansion of macro 'scoped_guard'
1244 | scoped_guard(hard_spinlock_irqsave, &chv_lock) {
| ^~~~~~~~~~~~
CC [M] drivers/mmc/host/sdhci-pci-arasan.o
CC drivers/leds/led-core.o
CC [M] drivers/extcon/extcon-fsa9480.o
CC [M] drivers/staging/gdm724x/gdm_mux.o
CC drivers/hv/channel.o
CC [M] drivers/mmc/host/sdhci-pci-dwc-mshc.o
CC [M] drivers/mmc/host/sdhci-pci-gli.o
CC drivers/mmc/core/sdio_cis.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_type':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1336:9: note: in expansion of macro 'guard'
1336 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1336:9: error: cleanup argument not a function
CC [M] drivers/pinctrl/intel/pinctrl-geminilake.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard501' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1336:9: note: in expansion of macro 'guard'
1336 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC drivers/hv/channel_mgmt.o
CC [M] drivers/vdpa/vdpa.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_gpio_irq_handler':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:169:14: note: in expansion of macro 'CLASS'
169 | for (CLASS(_name, scope)(args), \
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1408:9: note: in expansion of macro 'scoped_guard'
1408 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1408:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/cleanup.h:169:9: error: declaration of non-variable 'class_hard_spinlock_irqsave_constructor' in 'for' loop initial declaration
169 | for (CLASS(_name, scope)(args), \
| ^~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1408:9: note: in expansion of macro 'scoped_guard'
1408 | scoped_guard(hard_spinlock_irqsave, &chv_lock)
| ^~~~~~~~~~~~
CC drivers/of/fdt.o
CC [M] drivers/staging/media/av7110/av7110_v4l.o
CC [M] drivers/ras/amd/atl/map.o
CC [M] drivers/platform/chrome/chromeos_privacy_screen.o
CC [M] drivers/crypto/intel/qat/qat_c62xvf/adf_drv.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinctrl_mmio_access_handler':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1599:9: note: in expansion of macro 'guard'
1599 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1599:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard502' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1599:9: note: in expansion of macro 'guard'
1599 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/staging/rtl8712/rtl8712_cmd.o
CC [M] drivers/platform/chrome/chromeos_pstore.o
CC [M] drivers/extcon/extcon-gpio.o
CC [M] drivers/extcon/extcon-intel-int3496.o
CC drivers/leds/led-class.o
CC [M] drivers/crypto/intel/qat/qat_c62xvf/adf_c62xvf_hw_data.o
CC [M] drivers/crypto/intel/qat/qat_common/adf_isr.o
CC [M] drivers/crypto/intel/qat/qat_common/adf_ctl_drv.o
CC [M] drivers/crypto/ccp/ccp-dev-v3.o
AR drivers/staging/vme_user/built-in.a
CC [M] drivers/staging/pi433/pi433_if.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinctrl_suspend_noirq':
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1712:9: note: in expansion of macro 'guard'
1712 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1712:9: error: cleanup argument not a function
CC [M] drivers/staging/rts5208/sd.o
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard503' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1712:9: note: in expansion of macro 'guard'
1712 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
AR drivers/powercap/built-in.a
CC [M] drivers/staging/fbtft/fbtft-sysfs.o
LD [M] drivers/crypto/intel/qat/qat_c62x/qat_c62x.o
CC [M] drivers/staging/pi433/rf69.o
CC [M] drivers/hsi/hsi_core.o
CC [M] drivers/hwtracing/intel_th/sth.o
CC [M] drivers/accel/habanalabs/common/mmu/mmu.o
CC [M] drivers/pinctrl/intel/pinctrl-icelake.o
LD [M] drivers/crypto/intel/qat/qat_dh895xccvf/qat_dh895xccvf.o
CC [M] drivers/parport/share.o
CC [M] drivers/staging/fbtft/fbtft-bus.o
CC [M] drivers/staging/rts5208/xd.o
CC [M] drivers/parport/ieee1284.o
CC [M] drivers/crypto/ccp/ccp-dev-v5.o
CC [M] drivers/accel/habanalabs/common/mmu/mmu_v1.o
CC [M] drivers/staging/rts5208/ms.o
drivers/pinctrl/intel/pinctrl-cherryview.c: In function 'chv_pinctrl_resume_noirq':
CC [M] drivers/staging/media/ipu3/ipu3-v4l2.o
./include/linux/cleanup.h:119:9: error: unknown type name 'class_hard_spinlock_irqsave_t'; did you mean 'class_raw_spinlock_irqsave_t'?
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~~~~
./include/linux/cleanup.h:164:9: note: in expansion of macro 'CLASS'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1739:9: note: in expansion of macro 'guard'
1739 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/accel/habanalabs/common/mmu/mmu_v2.o
drivers/pinctrl/intel/pinctrl-cherryview.c:1739:9: error: cleanup argument not a function
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:56,
from ./include/linux/mmzone.h:8,
from ./include/linux/gfp.h:7,
from ./include/linux/slab.h:16,
from ./include/linux/resource_ext.h:11,
from ./include/linux/acpi.h:13,
from drivers/pinctrl/intel/pinctrl-cherryview.c:13:
./include/linux/compiler.h:189:45: warning: unused variable '__UNIQUE_ID_guard504' [-Wunused-variable]
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
./include/linux/cleanup.h:119:27: note: in definition of macro 'CLASS'
119 | class_##_name##_t var __cleanup(class_##_name##_destructor) = \
| ^~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:29: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
././include/linux/compiler_types.h:84:22: note: in expansion of macro '___PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
./include/linux/compiler.h:189:37: note: in expansion of macro '__PASTE'
189 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
./include/linux/cleanup.h:164:22: note: in expansion of macro '__UNIQUE_ID'
164 | CLASS(_name, __UNIQUE_ID(guard))
| ^~~~~~~~~~~
drivers/pinctrl/intel/pinctrl-cherryview.c:1739:9: note: in expansion of macro 'guard'
1739 | guard(hard_spinlock_irqsave)(&chv_lock);
| ^~~~~
CC [M] drivers/parport/ieee1284_ops.o
CC [M] drivers/platform/chrome/chromeos_tbmc.o
CC drivers/platform/x86/amd/wbrf.o
LD [M] drivers/crypto/intel/qat/qat_c3xxx/qat_c3xxx.o
cc1: some warnings being treated as errors
make[8]: *** [scripts/Makefile.build:244: drivers/pinctrl/intel/pinctrl-cherryview.o] Error 1
make[8]: *** Waiting for unfinished jobs....
LD [M] drivers/virt/acrn/acrn.o
...
Best regards,
Ionut Nechita.
-----Original Message-----
From: Nechita, Ionut
Sent: Friday, May 17, 2024 4:23 PM
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@lists.linux.dev
Subject: RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
This is happened when CONFIG_DOVETAIL is =n and CONFIG_EVL is =n in .config.
When using disable this and using generic configuration/flavour; CONFIG_PINCTRL_CHERRYVIEW with =y is not build.
Maybe rebase is not fully completed on 6.9-rebase-evl.
Will try to append kernel log build.
Best regards,
Ionut Nechita.
-----Original Message-----
From: Philippe Gerum <rpm@xenomai.org>
Sent: Friday, May 17, 2024 4:16 PM
To: Nechita, Ionut <ionut.nechita@intel.com>
Cc: xenomai@lists.linux.dev
Subject: Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Clean now in dmesg.
> Warn message not appear.
> This patch is fine.
>
> But I notice issue on compiling CONFIG_PINCTRL_CHERRYVIEW at builtin option.
> Kernel failing when CONFIG_PINCTRL_CHERRYVIEW is =y.
>
> I use CONFIG_PINCTRL_CHERRYVIEW=n to compiling your change.
>
There must be something else at work. Builds fine here with CONFIG_PINCTRL_CHERRYVIEW=y.
The failing build log would help.
--
Philippe.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-20 9:49 ` Nechita, Ionut
@ 2024-05-22 13:18 ` Philippe Gerum
2024-05-22 13:23 ` Nechita, Ionut
0 siblings, 1 reply; 10+ messages in thread
From: Philippe Gerum @ 2024-05-22 13:18 UTC (permalink / raw)
To: Nechita, Ionut; +Cc: xenomai@lists.linux.dev
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Hi Philippe,
>
> You are reproduce this issue without CONFIG_EVL and CONFIG_DOVETAIL enabled in config kernel?
>
> CONFIG_EVL=n
> CONFIG_DOVETAIL=n
Yep, this should fix the issue. This bug might have been there since the
introduction of scoped guards for hard spinlocks. Checking and
backporting fixes if so.
commit b51c3afd66c8763bed7a4b8258cc5cf5c8ebd719 (HEAD -> rebase/v6.9-evl)
Author: Philippe Gerum <rpm@xenomai.org>
Date: Wed May 22 15:16:52 2024 +0200
irq_pipeline: provide placeholder for scoped guard w/o IRQ_PIPELINE
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h
index eb8b4d386e942..545368b045e52 100644
--- a/include/linux/spinlock.h
+++ b/include/linux/spinlock.h
@@ -612,7 +612,24 @@ DEFINE_LOCK_GUARD_1(hard_spinlock_irqsave, hard_spinlock_t,
hard_spin_unlock_irqrestore((raw_spinlock_t *)_T->lock,
_T->flags),
unsigned long flags)
-#endif
+#else /* !CONFIG_IRQ_PIPELINE */
+DEFINE_LOCK_GUARD_1(hard_spinlock, raw_spinlock_t,
+ raw_spin_lock(_T->lock),
+ raw_spin_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_nested, raw_spinlock_t,
+ raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING),
+ raw_spin_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_irq, raw_spinlock_t,
+ raw_spin_lock_irq(_T->lock),
+ raw_spin_unlock_irq(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_irqsave, raw_spinlock_t,
+ raw_spin_lock_irqsave(_T->lock, _T->flags),
+ raw_spin_unlock_irqrestore(_T->lock, _T->flags),
+ unsigned long flags)
+#endif /* !CONFIG_IRQ_PIPELINE */
DEFINE_LOCK_GUARD_1(spinlock, spinlock_t,
spin_lock(_T->lock),
--
Philippe.
^ permalink raw reply related [flat|nested] 10+ messages in thread
* RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-22 13:18 ` Philippe Gerum
@ 2024-05-22 13:23 ` Nechita, Ionut
2024-05-22 15:26 ` Nechita, Ionut
0 siblings, 1 reply; 10+ messages in thread
From: Nechita, Ionut @ 2024-05-22 13:23 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai@lists.linux.dev
Hi Philippe,
Thank you, will try today to check this.
Best regards,
Ionut Nechita.
-----Original Message-----
From: Philippe Gerum <rpm@xenomai.org>
Sent: Wednesday, May 22, 2024 4:19 PM
To: Nechita, Ionut <ionut.nechita@intel.com>
Cc: xenomai@lists.linux.dev
Subject: Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Hi Philippe,
>
> You are reproduce this issue without CONFIG_EVL and CONFIG_DOVETAIL enabled in config kernel?
>
> CONFIG_EVL=n
> CONFIG_DOVETAIL=n
Yep, this should fix the issue. This bug might have been there since the introduction of scoped guards for hard spinlocks. Checking and backporting fixes if so.
commit b51c3afd66c8763bed7a4b8258cc5cf5c8ebd719 (HEAD -> rebase/v6.9-evl)
Author: Philippe Gerum <rpm@xenomai.org>
Date: Wed May 22 15:16:52 2024 +0200
irq_pipeline: provide placeholder for scoped guard w/o IRQ_PIPELINE
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h index eb8b4d386e942..545368b045e52 100644
--- a/include/linux/spinlock.h
+++ b/include/linux/spinlock.h
@@ -612,7 +612,24 @@ DEFINE_LOCK_GUARD_1(hard_spinlock_irqsave, hard_spinlock_t,
hard_spin_unlock_irqrestore((raw_spinlock_t *)_T->lock,
_T->flags),
unsigned long flags)
-#endif
+#else /* !CONFIG_IRQ_PIPELINE */
+DEFINE_LOCK_GUARD_1(hard_spinlock, raw_spinlock_t,
+ raw_spin_lock(_T->lock),
+ raw_spin_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_nested, raw_spinlock_t,
+ raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING),
+ raw_spin_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_irq, raw_spinlock_t,
+ raw_spin_lock_irq(_T->lock),
+ raw_spin_unlock_irq(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_irqsave, raw_spinlock_t,
+ raw_spin_lock_irqsave(_T->lock, _T->flags),
+ raw_spin_unlock_irqrestore(_T->lock, _T->flags),
+ unsigned long flags)
+#endif /* !CONFIG_IRQ_PIPELINE */
DEFINE_LOCK_GUARD_1(spinlock, spinlock_t,
spin_lock(_T->lock),
--
Philippe.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
2024-05-22 13:23 ` Nechita, Ionut
@ 2024-05-22 15:26 ` Nechita, Ionut
0 siblings, 0 replies; 10+ messages in thread
From: Nechita, Ionut @ 2024-05-22 15:26 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai@lists.linux.dev
This is fixed now.
Now CONFIG_EVL=n is working correctly.
Thank you.
Best regards,
Ionut Nechita.
-----Original Message-----
From: Nechita, Ionut
Sent: Wednesday, May 22, 2024 4:23 PM
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@lists.linux.dev
Subject: RE: WARN Kernel v6.9-evl-rebase - do_int80_emulation
Hi Philippe,
Thank you, will try today to check this.
Best regards,
Ionut Nechita.
-----Original Message-----
From: Philippe Gerum <rpm@xenomai.org>
Sent: Wednesday, May 22, 2024 4:19 PM
To: Nechita, Ionut <ionut.nechita@intel.com>
Cc: xenomai@lists.linux.dev
Subject: Re: WARN Kernel v6.9-evl-rebase - do_int80_emulation
"Nechita, Ionut" <ionut.nechita@intel.com> writes:
> Hi Philippe,
>
> You are reproduce this issue without CONFIG_EVL and CONFIG_DOVETAIL enabled in config kernel?
>
> CONFIG_EVL=n
> CONFIG_DOVETAIL=n
Yep, this should fix the issue. This bug might have been there since the introduction of scoped guards for hard spinlocks. Checking and backporting fixes if so.
commit b51c3afd66c8763bed7a4b8258cc5cf5c8ebd719 (HEAD -> rebase/v6.9-evl)
Author: Philippe Gerum <rpm@xenomai.org>
Date: Wed May 22 15:16:52 2024 +0200
irq_pipeline: provide placeholder for scoped guard w/o IRQ_PIPELINE
Signed-off-by: Philippe Gerum <rpm@xenomai.org>
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h index eb8b4d386e942..545368b045e52 100644
--- a/include/linux/spinlock.h
+++ b/include/linux/spinlock.h
@@ -612,7 +612,24 @@ DEFINE_LOCK_GUARD_1(hard_spinlock_irqsave, hard_spinlock_t,
hard_spin_unlock_irqrestore((raw_spinlock_t *)_T->lock,
_T->flags),
unsigned long flags)
-#endif
+#else /* !CONFIG_IRQ_PIPELINE */
+DEFINE_LOCK_GUARD_1(hard_spinlock, raw_spinlock_t,
+ raw_spin_lock(_T->lock),
+ raw_spin_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_nested, raw_spinlock_t,
+ raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING),
+ raw_spin_unlock(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_irq, raw_spinlock_t,
+ raw_spin_lock_irq(_T->lock),
+ raw_spin_unlock_irq(_T->lock))
+
+DEFINE_LOCK_GUARD_1(hard_spinlock_irqsave, raw_spinlock_t,
+ raw_spin_lock_irqsave(_T->lock, _T->flags),
+ raw_spin_unlock_irqrestore(_T->lock, _T->flags),
+ unsigned long flags)
+#endif /* !CONFIG_IRQ_PIPELINE */
DEFINE_LOCK_GUARD_1(spinlock, spinlock_t,
spin_lock(_T->lock),
--
Philippe.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-05-22 15:26 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17 11:49 WARN Kernel v6.9-evl-rebase - do_int80_emulation Nechita, Ionut
2024-05-17 12:12 ` Philippe Gerum
2024-05-17 12:40 ` Nechita, Ionut
2024-05-17 13:15 ` Philippe Gerum
2024-05-17 13:23 ` Nechita, Ionut
2024-05-17 13:38 ` Nechita, Ionut
2024-05-20 9:49 ` Nechita, Ionut
2024-05-22 13:18 ` Philippe Gerum
2024-05-22 13:23 ` Nechita, Ionut
2024-05-22 15:26 ` Nechita, Ionut
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.