Jeremy Compostella
de03beedb4
ACPI / sysfs: Fix incorrect ACPI tables walk in acpi_tables_sysfs_init()
...
When executing on an ACPI Hardware Reduced hardware, all the ACPI
tables are not exposed in sysfs due to the fact that FACS is
silently ignored by the kernel in the ACPI hardware reduced mode
and, moreover, the acpi_tables_sysfs_init() ACPI table walk
is buggy and stops too soon.
The acpi_tables_sysfs_init() function should rely on the acpi_status
return value from acpi_get_table_by_index() to decide whether or not
to stop the iteration (the walk should only be terminated when that
value is AE_BAD_PARAMETER). This way, when running in an ACPI Harware
Reduced environment (where the FACS table is silently ignored by the
kernel) or if some ACPI tables are not correctly memory mapped or
have bad checksums, it will still walk through the remaining tables
that may be correct.
[rjw: Changelog]
Signed-off-by: Jeremy Compostella <[email protected] >
Signed-off-by: Rafael J. Wysocki <[email protected] >
2013-11-21 14:19:33 +01:00
..
accessibility
acpi
ACPI / sysfs: Fix incorrect ACPI tables walk in acpi_tables_sysfs_init()
2013-11-21 14:19:33 +01:00
amba
ata
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
atm
atm: idt77252: fix dev refcnt leak
2013-11-19 15:53:02 -05:00
auxdisplay
base
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
bcma
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2013-11-13 17:40:34 +09:00
block
virtio-blk: virtqueue_kick() must be ordered with other virtqueue operations
2013-11-19 19:00:45 -07:00
bluetooth
bus
Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm
2013-11-14 08:51:29 +09:00
cdrom
char
The /dev/random changes for 3.13 including a number of improvements in
2013-11-16 10:19:15 -08:00
clk
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2013-11-15 16:47:22 -08:00
clocksource
connector
connector: improved unaligned access error fix
2013-11-14 17:19:20 -05:00
cpufreq
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
cpuidle
ACPI and power management updates for 3.13-rc1
2013-11-14 13:41:48 +09:00
crypto
tree-wide: use reinit_completion instead of INIT_COMPLETION
2013-11-15 09:32:21 +09:00
dca
devfreq
dio
dma
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
2013-11-20 13:20:24 -08:00
edac
Merge branch 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac
2013-11-18 14:51:52 -08:00
eisa
extcon
firewire
tree-wide: use reinit_completion instead of INIT_COMPLETION
2013-11-15 09:32:21 +09:00
firmware
Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm
2013-11-14 07:55:21 +09:00
fmc
gpio
ACPI / driver core: Store an ACPI device pointer in struct acpi_dev_node
2013-11-14 23:14:43 +01:00
gpu
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
hid
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
hsi
hv
hwmon
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
2013-11-15 16:35:10 -08:00
hwspinlock
i2c
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
ide
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
idle
Merge branch 'pm-cpuidle'
2013-11-19 01:06:28 +01:00
iio
kfifo API type safety
2013-11-15 09:32:23 +09:00
infiniband
Main batch of InfiniBand/RDMA changes for 3.13:
2013-11-18 15:36:04 -08:00
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
2013-11-15 16:48:22 -08:00
iommu
Don't try to compile shmobile-iommu outside of ARM
2013-11-15 18:57:42 -08:00
ipack
irqchip
Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm
2013-11-14 08:51:29 +09:00
isdn
isdnloop: use strlcpy() instead of strcpy()
2013-11-14 16:50:20 -05:00
leds
lguest
macintosh
DeviceTree updates for 3.13. This is a bit larger pull request than
2013-11-12 16:52:17 +09:00
mailbox
md
md update for 3.13.
2013-11-20 13:05:25 -08:00
media
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
2013-11-20 13:20:24 -08:00
memory
memstick
tree-wide: use reinit_completion instead of INIT_COMPLETION
2013-11-15 09:32:21 +09:00
message
drivers/message/i2o/driver.c: add missing destroy_workqueue() on error in i2o_driver_register()
2013-11-13 12:09:26 +09:00
mfd
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2013-11-15 16:47:22 -08:00
misc
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
2013-11-20 13:20:24 -08:00
mmc
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
mtd
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
2013-11-20 13:20:24 -08:00
net
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
2013-11-20 13:20:24 -08:00
nfc
ntb
dmaengine: remove DMA unmap flags
2013-11-14 11:04:38 -08:00
nubus
of
Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm
2013-11-14 07:55:21 +09:00
oprofile
parisc
parport
Kconfig cleanups for v3.13
2013-11-15 14:05:15 -08:00
pci
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
pcmcia
DeviceTree updates for 3.13. This is a bit larger pull request than
2013-11-12 16:52:17 +09:00
phy
pinctrl
pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed
2013-11-14 10:43:17 -08:00
platform
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
pnp
ACPI: Eliminate the DEVICE_ACPI_HANDLE() macro
2013-11-14 23:17:21 +01:00
power
Highlights:
2013-11-18 15:35:09 -08:00
powercap
pps
drivers/pps/clients/pps-gpio.c: remove redundant of_match_ptr
2013-11-13 12:09:35 +09:00
ps3
ptp
pwm
rapidio
regulator
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2013-11-15 16:47:22 -08:00
remoteproc
reset
rpmsg
rtc
tree-wide: use reinit_completion instead of INIT_COMPLETION
2013-11-15 09:32:21 +09:00
s390
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
2013-11-19 11:43:21 -08:00
sbus
scsi
aacraid: prevent invalid pointer dereference
2013-11-19 16:27:39 -08:00
sfi
sh
sn
spi
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
ssb
staging
Merge branch 'topic/kbuild-fixes-for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
2013-11-18 15:10:05 -08:00
target
tc
thermal
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2013-11-19 15:50:47 -08:00
tty
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
2013-11-20 13:20:24 -08:00
uio
drivers/uio/uio_pruss.c: use gen_pool_dma_alloc() to allocate sram memory
2013-11-13 12:09:23 +09:00
usb
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
uwb
vfio
vhost
video
ARM: SoC fixes for 3.13 merge window
2013-11-16 12:45:55 -08:00
virt
virtio
Nothing really exciting: some groundwork for changing virtio endian, and
2013-11-15 13:28:47 +09:00
vlynq
vme
w1
drivers/w1/masters/w1-gpio.c: use dev_get_platdata()
2013-11-15 09:32:21 +09:00
watchdog
watchdog: w83627hf: Use helper functions to access superio registers
2013-11-18 21:34:19 +01:00
xen
More ACPI and power management updates for 3.13-rc1
2013-11-20 13:25:04 -08:00
zorro
Kconfig
ACPI and power management updates for 3.13-rc1
2013-11-14 13:41:48 +09:00
Makefile
ACPI and power management updates for 3.13-rc1
2013-11-14 13:41:48 +09:00