linux_dsm_epyc7002/drivers/acpi
Dan Williams 11189c1089 acpi/nfit: Fix command-supported detection
The _DSM function number validation only happens to succeed when the
generic Linux command number translation corresponds with a
DSM-family-specific function number. This breaks NVDIMM-N
implementations that correctly implement _LSR, _LSW, and _LSI, but do
not happen to publish support for DSM function numbers 4, 5, and 6.

Recall that the support for _LS{I,R,W} family of methods results in the
DIMM being marked as supporting those command numbers at
acpi_nfit_register_dimms() time. The DSM function mask is only used for
ND_CMD_CALL support of non-NVDIMM_FAMILY_INTEL devices.

Fixes: 31eca76ba2 ("nfit, libnvdimm: limited/whitelisted dimm command...")
Cc: <stable@vger.kernel.org>
Link: https://github.com/pmem/ndctl/issues/78
Reported-by: Sujith Pandel <sujith_pandel@dell.com>
Tested-by: Sujith Pandel <sujith_pandel@dell.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2019-01-21 09:58:31 -08:00
..
acpica
apei pstore improvements and refactorings 2018-12-27 11:15:21 -08:00
arm64 ACPI/IORT: Fix rc_dma_get_range() 2019-01-11 10:02:59 +00:00
dptf
nfit acpi/nfit: Fix command-supported detection 2019-01-21 09:58:31 -08:00
pmic ACPI / PMIC: xpower: Fix TS-pin current-source handling 2019-01-07 12:21:38 +01:00
x86
ac.c
acpi_adxl.c
acpi_amba.c
acpi_apd.c
acpi_cmos_rtc.c
acpi_configfs.c
acpi_dbg.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
acpi_extlog.c
acpi_ipmi.c
acpi_lpat.c
acpi_lpit.c
acpi_lpss.c
acpi_memhotplug.c
acpi_pad.c
acpi_platform.c
acpi_pnp.c
acpi_processor.c
acpi_tad.c
acpi_video.c
acpi_watchdog.c
battery.c
bgrt.c
blacklist.c
bus.c ACPI: EC: Look for ECDT EC after calling acpi_load_tables() 2019-01-15 23:18:23 +01:00
button.c
cm_sbs.c
container.c
cppc_acpi.c
custom_method.c
debugfs.c
device_pm.c
device_sysfs.c
dock.c
ec_sys.c
ec.c
event.c
evged.c
fan.c
glue.c
hed.c
internal.h ACPI / LPSS: Make PCI dependency explicit 2019-01-15 23:16:18 +01:00
ioapic.c
irq.c
Kconfig ACPI: Fix build failure when CONFIG_NLS is set to 'n' 2019-01-02 11:02:20 +01:00
Makefile ACPI / LPSS: Make PCI dependency explicit 2019-01-15 23:16:18 +01:00
numa.c ACPI: NUMA: Use correct type for printing addresses on i386-PAE 2019-01-03 11:41:28 +01:00
nvs.c
osi.c
osl.c
pci_irq.c
pci_link.c
pci_mcfg.c
pci_root.c
pci_slot.c
power.c ACPI: power: Skip duplicate power resource references in _PRx 2019-01-02 11:45:49 +01:00
pptt.c
proc.c
processor_core.c
processor_driver.c
processor_idle.c
processor_pdc.c
processor_perflib.c
processor_thermal.c
processor_throttling.c
property.c
reboot.c
resource.c
sbs.c
sbshc.c
sbshc.h
scan.c DMA mapping updates for Linux 4.21 2018-12-28 14:12:21 -08:00
sleep.c
sleep.h
spcr.c
sysfs.c
tables.c
thermal.c
utils.c
video_detect.c
wakeup.c