linux/drivers
Artem Bityutskiy 00433eae17 intel_idle: improve C-state flags handling robustness
The following C-state flags are currently mutually-exclusive and should not
be combined:
  * IRQ_ENABLE
  * IBRS
  * XSTATE

There is a warning for the situation when the IRQ_ENABLE flag
is combined with the IBRS flag, but no warnings for other combinations.
This is inconsistent and prone to errors.

Improve the situation by adding warnings for all the unexpected
combinations. Add a couple of helpful commentaries too.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-04-27 19:37:36 +02:00
..
accel hwmon updates for v6.4 2023-04-25 17:43:44 -07:00
accessibility
acpi Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
amba ARM: tegra: Remove MODULE_LICENSE in non-modules 2023-04-05 15:03:17 +02:00
android
ata ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-03-21 20:19:28 -07:00
auxdisplay
base Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
bcma
block asm-generic updates for 6.4 2023-04-25 12:22:11 -07:00
bluetooth bluetooth: btbcm: Fix logic error in forming the board name. 2023-04-10 10:23:15 -07:00
bus asm-generic updates for 6.4 2023-04-25 12:22:11 -07:00
cdrom
char ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
clk clk: rs9: Fix suspend/resume 2023-03-21 10:47:06 -07:00
clocksource RISC-V: Allow marking IPIs as suitable for remote FENCEs 2023-04-08 11:26:24 +01:00
comedi
connector
counter counter: 104-quad-8: Fix Synapse action reported for Index signals 2023-03-18 09:26:40 -04:00
cpufreq Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
cpuidle cpuidle: Use of_property_present() for testing DT property presence 2023-03-27 19:08:12 +02:00
crypto crypto: ccp: Get rid of __sev_platform_init_locked()'s local function pointer 2023-03-21 12:08:07 +01:00
cxl Merge branch 'for-6.3/cxl-doe-fixes' into for-6.3/cxl 2023-04-04 15:37:25 -07:00
dax
dca
devfreq PM / devfreq: exynos-ppmu: Use devm_platform_get_and_ioremap_resource() 2023-04-04 00:09:32 +09:00
dio
dma dmaengine: apple-admac: Fix 'current_tx' not getting freed 2023-03-31 18:17:21 +05:30
dma-buf Merge tag 'dma-fence-deadline' of https://gitlab.freedesktop.org/drm/msm into drm-next 2023-03-29 15:45:38 +02:00
edac ARM: SoC drivers for v6.4 2023-04-25 12:02:16 -07:00
eisa
extcon
firewire
firmware arm64 updates for 6.4 2023-04-25 12:39:01 -07:00
fpga ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
fsi
gnss
gpio gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
gpu ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
greybus
hid for-linus-2023041201 2023-04-12 17:26:00 -07:00
hsi
hte hte: tegra-194: Use proper includes 2023-03-06 12:33:01 +02:00
hv - Add the necessary glue so that the kernel can run as a confidential 2023-04-25 10:48:08 -07:00
hwmon Thermal control updates for 6.4-rc1 2023-04-25 18:32:43 -07:00
hwspinlock
hwtracing coresight: etm4x: Do not access TRCIDR1 for identification 2023-03-21 12:31:02 +00:00
i2c just two driver fixes 2023-04-15 11:06:49 -07:00
i3c
idle intel_idle: improve C-state flags handling robustness 2023-04-27 19:37:36 +02:00
iio ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
infiniband Merge branch 'x86-rep-insns': x86 user copy clarifications 2023-04-24 10:39:27 -07:00
input Thermal control updates for 6.4-rc1 2023-04-25 18:32:43 -07:00
interconnect interconnect: exynos: drop redundant link destroy 2023-03-13 21:13:48 +02:00
iommu iommufd: Do not corrupt the pfn list when doing batch carry 2023-04-04 09:10:55 -03:00
ipack
irqchip Merge branch irq/misc-6.4 into irq/irqchip-next 2023-04-21 14:05:31 +01:00
isdn
leds
macintosh
mailbox remoteproc updates for v6.4 2023-04-25 17:38:25 -07:00
mcb
md block-6.3-2023-03-30 2023-03-31 12:35:03 -07:00
media gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
memory ARM: SoC drivers for v6.4 2023-04-25 12:02:16 -07:00
memstick mmc: Merge branch fixes into next 2023-04-05 11:45:35 +02:00
message
mfd regmap: allow upshifting register addresses before performing operations 2023-04-07 17:28:19 +01:00
misc drm next for 6.4-rc1 2023-04-25 16:12:15 -07:00
mmc mmc: vub300: remove unreachable code 2023-04-17 11:51:14 +02:00
most
mtd Core MTD changes: 2023-04-25 17:23:42 -07:00
mux
net Thermal control updates for 6.4-rc1 2023-04-25 18:32:43 -07:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-15 00:28:23 -07:00
ntb
nubus nubus: Drop noop match function 2023-03-20 15:39:14 +01:00
nvdimm
nvme nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD 2023-04-14 07:13:48 +02:00
nvmem nvmem: core: return -ENOENT if nvmem cell is not found 2023-03-10 10:55:49 +01:00
of Devicetree fixes for v6.2, part 3: 2023-04-13 15:21:56 -07:00
opp OPP: Move required opps configuration to specialized callback 2023-04-03 09:45:09 +05:30
parisc Kconfig: introduce HAS_IOPORT option and select it as necessary 2023-04-05 22:15:19 +02:00
parport
pci - Remove an over-zealous sanity check of the array of MSI-X vectors to 2023-04-23 08:15:33 -07:00
pcmcia
peci
perf arm64 updates for 6.4 2023-04-25 12:39:01 -07:00
phy
pinctrl gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
platform Power management updates for 6.4-rc1 2023-04-25 18:44:10 -07:00
pnp
power Merge back Intel thermal driver changes for 6.4-rc1. 2023-03-31 19:32:43 +02:00
powercap More power management updates for 6.3-rc1 2023-03-03 10:30:58 -08:00
pps
ps3
ptp ptp_qoriq: fix memory leak in probe() 2023-03-24 19:17:22 -07:00
pwm pwm: Zero-initialize the pwm_state passed to driver's .get_state() 2023-03-23 14:44:43 +01:00
rapidio
ras
regulator Thermal control updates for 6.4-rc1 2023-04-25 18:32:43 -07:00
remoteproc remoteproc updates for v6.4 2023-04-25 17:38:25 -07:00
reset
rpmsg rpmsg: glink: Consolidate TX_DATA and TX_DATA_CONT 2023-04-19 12:43:19 -07:00
rtc RTC for 6.3 2023-03-03 09:15:50 -08:00
s390 s390/vfio-ap: fix memory leak in vfio_ap device driver 2023-03-27 17:23:08 +02:00
sbus docs: move sparc documentation under Documentation/arch/ 2023-03-30 13:00:34 -06:00
scsi SCSI fixes on 20230415 2023-04-15 10:49:47 -07:00
sh sh updates for v6.3 2023-03-01 09:44:22 -08:00
siox
slimbus
soc gpio updates for v6.4-rc1 2023-04-25 17:18:18 -07:00
soundwire
spi spi: One small fix for v6.3 2023-04-19 13:49:31 -07:00
spmi
ssb
staging ACPI updates for 6.4-rc1 2023-04-25 18:37:41 -07:00
target scsi: target: iscsi: Fix an error message in iscsi_check_key() 2023-03-06 16:50:42 -05:00
tc
tee ARM: SoC drivers for v6.4 2023-04-25 12:02:16 -07:00
thermal thermal: intel: int340x: Add DLVR support for RFIM control 2023-04-18 15:24:40 +02:00
thunderbolt thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit 2023-03-20 19:00:58 +02:00
tty Merge branches 'acpi-bus', 'acpi-video' and 'acpi-misc' 2023-04-24 18:01:57 +02:00
ufs scsi: Revert "scsi: ufs: core: Initialize devfreq synchronously" 2023-04-02 21:12:34 -04:00
uio
usb usb: cdnsp: Fixes error: uninitialized symbol 'len' 2023-04-05 19:55:04 +02:00
vdpa vdpa_sim_net: complete the initialization before register the device 2023-04-04 14:22:12 -04:00
vfio vfio/mlx5: Fix the report of dirty_bytes upon pre-copy 2023-03-13 12:50:59 -06:00
vhost v6.4/kernel.user_worker 2023-04-24 12:52:35 -07:00
video platform-drivers-x86 for v6.4-1 2023-04-25 16:59:48 -07:00
virt x86/sev: Change snp_guest_issue_request()'s fw_err argument 2023-03-21 15:43:19 +01:00
virtio virtio-mmio: Add explicit include for of.h 2023-04-06 20:36:27 +02:00
vlynq
w1 w1: ds2482: Convert to i2c's .probe_new() 2023-03-09 21:58:57 +01:00
watchdog linux-watchdog 6.3-rc1 tag 2023-03-02 11:12:01 -08:00
xen ACPI: processor: Fix evaluating _PDC method when running as Xen dom0 2023-03-22 19:36:31 +01:00
zorro
Kconfig
Makefile