15 Aug, 2018

3 commits


14 Aug, 2018

1 commit

  • Merge ACPI x86-specific changes, core updates, EC driver updates and
    APEI support updates for 4.19.

    These add a special platform driver for handling multiple I2C devices
    hooked up to the same device object in the ACPI tables, add some new
    quirks and remove one that is not needed any more.

    * acpi-x86:
    platform/x86: Add ACPI i2c-multi-instantiate pseudo driver
    ACPI / x86: utils: Remove status workaround from acpi_device_always_present()
    ACPI / x86: enable touchscreen on Dell Venue Pro 7139

    * acpi-bus:
    ACPI: bus: Fix a pointer coding style issue
    Revert "ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530"

    * acpi-ec:
    ACPI / EC: Add another entry for Thinkpad X1 Carbon 6th
    ACPI / EC: Use ec_no_wakeup on ThinkPad X1 Yoga 3rd

    * acpi-apei:
    arm64 / ACPI: clean the additional checks before calling ghes_notify_sea()

    Rafael J. Wysocki
     

09 Aug, 2018

1 commit


09 Jul, 2018

1 commit


20 Jun, 2018

1 commit

  • Commit bca5f557dcea "ACPI / processor: Make acpi_processor_ppc_has_changed()
    void" changed one of the declarations of acpi_processor_ppc_has_changed()
    to return void, but the !CPU_FREQ version still returns int. Let's return
    void to be consistent.

    Fixes: bca5f557dcea "ACPI / processor: Make acpi_processor_ppc_has_changed() void"
    Signed-off-by: Brian Norris
    Signed-off-by: Rafael J. Wysocki

    Brian Norris
     

13 Jun, 2018

1 commit

  • Pull additional ACPI updates from Rafael Wysocki:
    "These update the ACPICA code in the kernel to upstream revision
    20180531 including one important AML parser fix and updates related to
    the IORT table, make the kernel recognize the "Windows 2017.2" _OSI
    string and update the customized methods documentation.

    Specifics:

    - Update the ACPICA code in the kernel to upstream revision 20180531
    including:
    * AML parser fix to continue loading tables after detecting an AML
    error (Erik Schmauss).
    * AML parser debug option to dump parse trees (Bob Moore).
    * Debugger updates (Bob Moore).
    * Initial bits of Unload () operator deprecation (Bob Moore).
    * Updates related to the IORT table (Robin Murphy).

    - Make Linux respond to the "Windows 2017.2" _OSI string which
    allows native Thunderbolt enumeration to be used on Dell systems
    and was unsafe before recent changes in the PCI subsystem (Mario
    Limonciello)

    - Update the ACPI method customization feature documentation (Erik
    Schmauss)"

    * tag 'acpi-4.18-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    ACPICA: Recognize the _OSI string "Windows 2017.2"
    ACPICA: Update version to 20180531
    ACPICA: Interpreter: Begin deprecation of Unload operator
    ACPICA: AML parser: attempt to continue loading table after error
    ACPICA: Debugger: Reduce verbosity for module-level code errors.
    ACPICA: AML Parser: Add debug option to dump parse trees
    ACPICA: Debugger: Add count of namespace nodes after namespace dump
    ACPICA: IORT: Add PMCG node supprt
    ACPICA: IORT: Update for revision D
    ACPI / Documentation: update ACPI customize method feature docs

    Linus Torvalds
     

10 Jun, 2018

1 commit


07 Jun, 2018

1 commit

  • Pull EDAC updates from Borislav Petkov:

    - Stratix10 SDRAM support to altera_edac (Thor Thayer)

    - the usual misc fixes all over the place

    [ Also, shared branch for socfpga_stratix10.dtsi file changes with the
    socfpga tree ]

    * tag 'edac_for_4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
    EDAC, ghes: Make platform-based whitelisting x86-only
    EDAC, altera: Fix ARM64 build warning
    EDAC, skx: Fix skx_edac build error when ACPI_NFIT=m
    EDAC, ghes: Use BIT() macro
    EDAC, ghes: Add DDR4 and NVDIMM memory types
    EDAC, altera: Handle SDRAM Uncorrectable Errors on Stratix10
    Documentation: dt: edac: Move Altera SOCFPGA EDAC file
    EDAC, altera: Add support for Stratix10 SDRAM EDAC
    Documentation: dt: socfpga: Add Stratix10 ECC Manager binding
    EDAC, ghes: Remove unused argument to ghes_edac_report_mem_error()
    arm64: dts: stratix10: add sdram ecc
    EDAC, i7core: Fix spelling mistake: "redundacy" -> "redundancy"
    EDAC, ghes: Add a null pointer check in ghes_edac_unregister()
    ghes, EDAC: Fix ghes_edac registration
    arm64: dts: stratix10: Change pad skew values for EMAC0 PHY driver
    ARM: dts: consistently use 'atmel' as at24 manufacturer in cyclone5
    arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts
    arm64: dts: stratix10: enable i2c, add i2c periperals
    arm64: dts: stratix10: use clock bindings for the Stratix10 platform

    Linus Torvalds
     

06 Jun, 2018

5 commits

  • Version 20180531.

    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • Debug level 0x00800000 will dump the current parse tree
    just before it is deleted.

    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • PMCG nodes were added by IORT revision C, with the unfortunate oversight
    that it only defined a single base address, and thus was incapable of
    properly describing PMCG implementations with PMCG_CFGR.RELOC_CTRS = 1,
    where the counters are in a separate page from the control registers.

    Revision D corrects this by clarifying the existing field as the page 0
    base address and adding a second field to describe the page 1 address
    when implemented. With the spec now fit for purpose, let's support it.

    Signed-off-by: Robin Murphy
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Robin Murphy
     
  • IORT revision D contains a few additions and fixes to
    currently-supported tables:

    - SMMUv3 proximity domain field is enlarged to 4 bytes for consistency
    with SRAT
    - Root complex nodes gain an address size limit field equivalent to that
    of named components
    - Named component nodes gain a way to describe PASID (substream_ID)
    support, encoded in their flags

    Additionally, we fix a couple of outstanding points in passing:
    - Add the stall support flag for named components defined in revision C
    - Fix SMMUv3 HTTU override mask, which should always have been 2 bits

    Signed-off-by: Robin Murphy
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Robin Murphy
     
  • Pull ACPI updates from Rafael Wysocki:
    "These update the ACPICA code in the kernel to the 20180508 upstream
    revision and make it support the RT patch, add CPPC v3 support to the
    ACPI CPPC library, add a WDAT-based watchdog quirk to prevent clashes
    with the RTC, add quirks to the ACPI AC and battery drivers, and
    update the ACPI SoC drivers.

    Specifics:

    - Update the ACPICA code in the kernel to the 20180508 upstream
    revision including:
    * iASL -tc option enhancement (Bob Moore).
    * Debugger improvements (Bob Moore).
    * Support for tables larger than 1 MB in acpidump/acpixtract (Bob
    Moore).
    * Minor fixes and cleanups (Colin Ian King, Toomas Soome).

    - Make the ACPICA code in the kernel support the RT patch (Sebastian
    Andrzej Siewior, Steven Rostedt).

    - Add a kmemleak annotation to the ACPICA code (Larry Finger).

    - Add CPPC v3 support to the ACPI CPPC library and fix two issues
    related to CPPC (Prashanth Prakash, Al Stone).

    - Add an ACPI WDAT-based watchdog quirk to prefer iTCO_wdt on systems
    where WDAT clashes with the RTC SRAM (Mika Westerberg).

    - Add some quirks to the ACPI AC and battery drivers (Carlo Caione,
    Hans de Goede).

    - Update the ACPI SoC drivers for Intel (LPSS) and AMD (APD)
    platforms (Akshu Agrawal, Hans de Goede).

    - Fix up some assorted minor issues (Al Stone, Laszlo Toth, Mathieu
    Malaterre)"

    * tag 'acpi-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (32 commits)
    ACPICA: Mark acpi_ut_create_internal_object_dbg() memory allocations as non-leaks
    ACPI / watchdog: Prefer iTCO_wdt always when WDAT table uses RTC SRAM
    mailbox: PCC: erroneous error message when parsing ACPI PCCT
    ACPICA: Update version to 20180508
    ACPICA: acpidump/acpixtract: Support for tables larger than 1MB
    ACPI: APD: Add AMD misc clock handler support
    clk: x86: Add ST oscout platform clock
    ACPICA: Update version to 20180427
    ACPICA: Debugger: Removed direct support for EC address space in "Test Objects"
    ACPICA: Debugger: Add Package support for "test objects" command
    ACPICA: Improve error messages for the namespace root node
    ACPICA: Fix potential infinite loop in acpi_rs_dump_byte_list
    ACPICA: vsnprintf: this statement may fall through
    ACPICA: Tables: Fix spelling mistake in comment
    ACPICA: iASL: Enhance the -tc option (create AML hex file in C)
    ACPI: Add missing prototype_for arch_post_acpi_subsys_init()
    ACPI / tables: improve comments regarding acpi_parse_entries_array()
    ACPICA: Convert acpi_gbl_hardware lock back to an acpi_raw_spinlock
    ACPICA: provide abstraction for raw_spinlock_t
    ACPI / CPPC: Fix invalid PCC channel status errors
    ...

    Linus Torvalds
     

04 Jun, 2018

1 commit

  • * acpi-cppc:
    mailbox: PCC: erroneous error message when parsing ACPI PCCT
    ACPI / CPPC: Fix invalid PCC channel status errors
    ACPI / CPPC: Document CPPC sysfs interface
    cpufreq / CPPC: Support for CPPC v3
    ACPI / CPPC: Check for valid PCC subspace only if PCC is used
    ACPI / CPPC: Add support for CPPC v3

    * acpi-misc:
    ACPI: Add missing prototype_for arch_post_acpi_subsys_init()
    ACPI: add missing newline to printk

    * acpi-battery:
    ACPI / battery: Add quirk to avoid checking for PMIC with native driver
    ACPI / battery: Ignore AC state in handle_discharging on systems where it is broken
    ACPI / battery: Add handling for devices which wrongly report discharging state
    ACPI / battery: Remove initializer for unused ident dmi_system_id
    ACPI / AC: Remove initializer for unused ident dmi_system_id

    * acpi-ac:
    ACPI / AC: Add quirk to avoid checking for PMIC with native driver

    Rafael J. Wysocki
     

25 May, 2018

1 commit

  • Introduce acpi_dispatch_gpe() as a wrapper around acpi_ev_detect_gpe()
    for checking if the given GPE (as represented by a GPE device handle
    and a GPE number) is currently active and dispatching it (if that's
    the case) outside of interrupt context.

    Signed-off-by: Rafael J. Wysocki

    Rafael J. Wysocki
     

18 May, 2018

1 commit


15 May, 2018

2 commits


12 May, 2018

1 commit


10 May, 2018

1 commit

  • Provide a new lock type acpi_raw_spinlock which is implemented as
    raw_spinlock_t on Linux. This type should be used in code which covers
    small areas of code and disables interrupts only for short time even on
    a realtime OS.
    There is a fallback to spinlock_t if an OS does not provide an
    implementation for acpi_raw_spinlock.

    Signed-off-by: Sebastian Andrzej Siewior
    Signed-off-by: Rafael J. Wysocki

    Sebastian Andrzej Siewior
     

02 May, 2018

1 commit

  • Tony reported seeing

    "Internal error: Can't find EDAC structure"

    when injecting correctable errors due to the fact that ghes_edac would
    still load even if the whitelist won't hit. Drop the pr_err() in
    ghes_edac_report_mem_error() for now due to the hacky way how ghes_edac
    depends on ghes.c.

    While at it, make ghes_edac_register() return an error if it doesn't hit
    in the whitelist as it is the only sensible thing to do in that
    situation.

    Furthermore, move the call to it to happen last in ghes_probe() so that
    GHES initializing properly does not depend on ghes_edac init at all
    as latter is only reporting errors and not required for GHES's proper
    functioning.

    Reviewed-by: Toshi Kani
    Tested-by: Sughosh Ganu
    Signed-off-by: Borislav Petkov
    Cc: "Rafael J. Wysocki"
    Cc: Tony Luck
    Link: https://lkml.kernel.org/r/20180420182015.zao3olss4tvvlxki@agluck-desk

    Borislav Petkov
     

24 Apr, 2018

1 commit

  • CPPC V3 introduces two new entries to make it easier to convert between
    abstract processor performance and frequency. The two new entries are
    lowest frequency and nominal frequency. These are the frequencies
    corresponding to lowest and nominal abstract performance.

    Add support to read the new entries and populate them as part of the
    CPPC performance capabilities which can be used by cpufreq drivers

    Signed-off-by: Prashanth Prakash
    Signed-off-by: Rafael J. Wysocki

    Prashanth Prakash
     

13 Apr, 2018

1 commit

  • Pull xen fixes from Juergen Gross:
    "A few fixes of Xen related core code and drivers"

    * tag 'for-linus-4.17-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen/pvh: Indicate XENFEAT_linux_rsdp_unrestricted to Xen
    xen/acpi: off by one in read_acpi_id()
    xen/acpi: upload _PSD info for non Dom0 CPUs too
    x86/xen: Delay get_cpu_cap until stack canary is established
    xen: xenbus_dev_frontend: Verify body of XS_TRANSACTION_END
    xen: xenbus: Catch closing of non existent transactions
    xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling

    Linus Torvalds
     

07 Apr, 2018

1 commit

  • Pull PCI updates from Bjorn Helgaas:

    - move pci_uevent_ers() out of pci.h (Michael Ellerman)

    - skip ASPM common clock warning if BIOS already configured it (Sinan
    Kaya)

    - fix ASPM Coverity warning about threshold_ns (Gustavo A. R. Silva)

    - remove last user of pci_get_bus_and_slot() and the function itself
    (Sinan Kaya)

    - add decoding for 16 GT/s link speed (Jay Fang)

    - add interfaces to get max link speed and width (Tal Gilboa)

    - add pcie_bandwidth_capable() to compute max supported link bandwidth
    (Tal Gilboa)

    - add pcie_bandwidth_available() to compute bandwidth available to
    device (Tal Gilboa)

    - add pcie_print_link_status() to log link speed and whether it's
    limited (Tal Gilboa)

    - use PCI core interfaces to report when device performance may be
    limited by its slot instead of doing it in each driver (Tal Gilboa)

    - fix possible cpqphp NULL pointer dereference (Shawn Lin)

    - rescan more of the hierarchy on ACPI hotplug to fix Thunderbolt/xHCI
    hotplug (Mika Westerberg)

    - add support for PCI I/O port space that's neither directly accessible
    via CPU in/out instructions nor directly mapped into CPU physical
    memory space. This is fairly intrusive and includes minor changes to
    interfaces used for I/O space on most platforms (Zhichang Yuan, John
    Garry)

    - add support for HiSilicon Hip06/Hip07 LPC I/O space (Zhichang Yuan,
    John Garry)

    - use PCI_EXP_DEVCTL2_COMP_TIMEOUT in rapidio/tsi721 (Bjorn Helgaas)

    - remove possible NULL pointer dereference in of_pci_bus_find_domain_nr()
    (Shawn Lin)

    - report quirk timings with dev_info (Bjorn Helgaas)

    - report quirks that take longer than 10ms (Bjorn Helgaas)

    - add and use Altera Vendor ID (Johannes Thumshirn)

    - tidy Makefiles and comments (Bjorn Helgaas)

    - don't set up INTx if MSI or MSI-X is enabled to align cris, frv,
    ia64, and mn10300 with x86 (Bjorn Helgaas)

    - move pcieport_if.h to drivers/pci/pcie/ to encapsulate it (Frederick
    Lawler)

    - merge pcieport_if.h into portdrv.h (Bjorn Helgaas)

    - move workaround for BIOS PME issue from portdrv to PCI core (Bjorn
    Helgaas)

    - completely disable portdrv with "pcie_ports=compat" (Bjorn Helgaas)

    - remove portdrv link order dependency (Bjorn Helgaas)

    - remove support for unused VC portdrv service (Bjorn Helgaas)

    - simplify portdrv feature permission checking (Bjorn Helgaas)

    - remove "pcie_hp=nomsi" parameter (use "pci=nomsi" instead) (Bjorn
    Helgaas)

    - remove unnecessary "pcie_ports=auto" parameter (Bjorn Helgaas)

    - use cached AER capability offset (Frederick Lawler)

    - don't enable DPC if BIOS hasn't granted AER control (Mika Westerberg)

    - rename pcie-dpc.c to dpc.c (Bjorn Helgaas)

    - use generic pci_mmap_resource_range() instead of powerpc and xtensa
    arch-specific versions (David Woodhouse)

    - support arbitrary PCI host bridge offsets on sparc (Yinghai Lu)

    - remove System and Video ROM reservations on sparc (Bjorn Helgaas)

    - probe for device reset support during enumeration instead of runtime
    (Bjorn Helgaas)

    - add ACS quirk for Ampere (née APM) root ports (Feng Kan)

    - add function 1 DMA alias quirk for Marvell 88SE9220 (Thomas
    Vincent-Cross)

    - protect device restore with device lock (Sinan Kaya)

    - handle failure of FLR gracefully (Sinan Kaya)

    - handle CRS (config retry status) after device resets (Sinan Kaya)

    - skip various config reads for SR-IOV VFs as an optimization
    (KarimAllah Ahmed)

    - consolidate VPD code in vpd.c (Bjorn Helgaas)

    - add Tegra dependency on PCI_MSI_IRQ_DOMAIN (Arnd Bergmann)

    - add DT support for R-Car r8a7743 (Biju Das)

    - fix a PCI_EJECT vs PCI_BUS_RELATIONS race condition in Hyper-V host
    bridge driver that causes a general protection fault (Dexuan Cui)

    - fix Hyper-V host bridge hang in MSI setup on 1-vCPU VMs with SR-IOV
    (Dexuan Cui)

    - fix Hyper-V host bridge hang when ejecting a VF before setting up MSI
    (Dexuan Cui)

    - make several structures static (Fengguang Wu)

    - increase number of MSI IRQs supported by Synopsys DesignWare bridges
    from 32 to 256 (Gustavo Pimentel)

    - implemented multiplexed IRQ domain API and remove obsolete MSI IRQ
    API from DesignWare drivers (Gustavo Pimentel)

    - add Tegra power management support (Manikanta Maddireddy)

    - add Tegra loadable module support (Manikanta Maddireddy)

    - handle 64-bit BARs correctly in endpoint support (Niklas Cassel)

    - support optional regulator for HiSilicon STB (Shawn Guo)

    - use regulator bulk API for Qualcomm apq8064 (Srinivas Kandagatla)

    - support power supplies for Qualcomm msm8996 (Srinivas Kandagatla)

    * tag 'pci-v4.17-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (123 commits)
    MAINTAINERS: Add John Garry as maintainer for HiSilicon LPC driver
    HISI LPC: Add ACPI support
    ACPI / scan: Do not enumerate Indirect IO host children
    ACPI / scan: Rename acpi_is_serial_bus_slave() for more general use
    HISI LPC: Support the LPC host on Hip06/Hip07 with DT bindings
    of: Add missing I/O range exception for indirect-IO devices
    PCI: Apply the new generic I/O management on PCI IO hosts
    PCI: Add fwnode handler as input param of pci_register_io_range()
    PCI: Remove __weak tag from pci_register_io_range()
    MAINTAINERS: Add missing /drivers/pci/cadence directory entry
    fm10k: Report PCIe link properties with pcie_print_link_status()
    net/mlx5e: Use pcie_bandwidth_available() to compute bandwidth
    net/mlx5: Report PCIe link properties with pcie_print_link_status()
    net/mlx4_core: Report PCIe link properties with pcie_print_link_status()
    PCI: Add pcie_print_link_status() to log link speed and whether it's limited
    PCI: Add pcie_bandwidth_available() to compute bandwidth available to device
    misc: pci_endpoint_test: Handle 64-bit BARs properly
    PCI: designware-ep: Make dw_pcie_ep_reset_bar() handle 64-bit BARs properly
    PCI: endpoint: Make sure that BAR_5 does not have 64-bit flag set when clearing
    PCI: endpoint: Make epc->ops->clear_bar()/pci_epc_clear_bar() take struct *epf_bar
    ...

    Linus Torvalds
     

06 Apr, 2018

1 commit

  • Pull EDAC updates from Borislav Petkov:
    "Noteworthy is the NVDIMM support:

    - NVDIMM support to EDAC (Tony Luck)

    - misc fixes"

    * tag 'edac_for_4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
    EDAC, sb_edac: Remove variable length array usage
    EDAC, skx_edac: Detect non-volatile DIMMs
    firmware, DMI: Add function to look up a handle and return DIMM size
    acpi, nfit: Add function to look up nvdimm device and provide SMBIOS handle
    EDAC: Add new memory type for non-volatile DIMMs
    EDAC: Drop duplicated array of strings for memory type names
    EDAC, layerscape: Allow building for LS1021A

    Linus Torvalds
     

04 Apr, 2018

1 commit

  • Currently the ACPI scan has special handling for serial bus slaves, in that
    it makes it the responsibility of the slave device's parent to enumerate
    the device.

    To support other types of slave devices which require the same special
    handling but where the bus is not strictly a serial bus, such as devices on
    the HiSilicon LPC controller bus, rename acpi_is_serial_bus_slave() to
    acpi_device_enumeration_by_parent(), so that the name can fit the wider
    purpose.

    Also rename the associated device flag acpi_device_flags.serial_bus_slave
    to .enumeration_by_parent.

    Signed-off-by: John Garry
    Signed-off-by: Bjorn Helgaas
    Acked-by: Rafael J. Wysocki

    John Garry
     

02 Apr, 2018

1 commit

  • * acpi-battery:
    Revert "ACPI: battery: Add the ThinkPad "Not Charging" quirk"
    ACPI: battery: do not export degraded capacity values over 100
    ACPI: battery: make function __battery_hook_unregister() static
    ACPI: battery: Add the ThinkPad "Not Charging" quirk
    thinkpad_acpi: Add support for battery thresholds
    power: add to_power_supply macro to the API
    battery: Add the battery hooking API

    * acpi-doc:
    ACPI: sysfs: Update device object sysfs documentation

    * acpi-pmic:
    ACPI / PMIC: Replace license boilerplate with SPDX license identifier

    Rafael J. Wysocki
     

21 Mar, 2018

1 commit

  • All uploaded PM data from non-dom0 CPUs takes the info from vCPU 0 and
    changing only the acpi_id. For processors which P-state coordination type
    is HW_ALL (0xFD) it is OK to upload bogus P-state dependency information
    (_PSD), because Xen will ignore any cpufreq domains created for past CPUs.

    Albeit for platforms which expose coordination types as SW_ANY or SW_ALL,
    this will have some unintended side effects. Effectively, it will look at
    the P-state domain existence and *if it already exists* it will skip the
    acpi-cpufreq initialization and thus inherit the policy from the first CPU
    in the cpufreq domain. This will finally lead to the original cpu not
    changing target freq to P0 other than the first in the domain. Which will
    make turbo boost not getting enabled (e.g. for 'performance' governor) for
    all cpus.

    This patch fixes that, by also evaluating _PSD when we enumerate all ACPI
    processors and thus always uploading the correct info to Xen. We export
    acpi_processor_get_psd() for that this purpose, but change signature
    to not assume an existent of acpi_processor given that ACPI isn't creating
    an acpi_processor for non-dom0 CPUs.

    Signed-off-by: Joao Martins
    Reviewed-by: Boris Ostrovsky
    Acked-by: Rafael J. Wysocki
    Signed-off-by: Boris Ostrovsky

    Joao Martins
     

19 Mar, 2018

7 commits

  • Version 20180313.

    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • This prepares the code for eventual removal of the original
    style of deferred execution of the MLC.

    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Erik Schmauss
     
  • Was acpi_gbl_parse_table_as_term_list, changed to:
    acpi_gbl_execute_tables_as_methods.

    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • Changes the option to ignore package resolution errors into
    a runtime option.

    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • As the documentatuon above its declaration indicates, acpi_get_object_info()
    is intended for early probe usage and as such should not call any methods
    which may rely on op_regions, before this commit it was also calling _STA,
    which on some systems does rely on op_regions.

    Calling _STA before things are ready leads to errors such as these
    (under Linux, on some hardware):

    [ 0.123579] ACPI Error: No handler for Region [ECRM] (00000000ba9edc4c)
    [generic_serial_bus] (20170831/evregion-166)
    [ 0.123601] ACPI Error: Region generic_serial_bus (ID=9) has no handler
    (20170831/exfldio-299)
    [ 0.123618] ACPI Error: Method parse/execution failed
    \_SB.I2C1.BAT1._STA, AE_NOT_EXIST (20170831/psparse-550)

    End 2015 support for the _SUB method was removed for exactly the same
    reason. Removing current_status from struct acpi_device_info only has a limited
    impact. Within ACPICA it is only used by 2 debug messages, both
    of which are modified to no longer print it with this commit.

    Outside of ACPICA, there was one user in Linux, which has been patched to
    no longer use current_status in Torvald's current master.

    I've not checked if free_BSD or others are using the current_status field.

    Signed-off-by: Hans de Goede
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Hans de Goede
     
  • After being enabled for the first time, the GPEs may have STS bits already
    set. Setting EN bits is not sufficient to trigger the GPEs again, so this
    patch polls GPEs after enabling them for the first time.
    This is a cleaner version on top of the "GPE clear" fix generated according
    to Mika's report and Rafael's original Linux based fix. Based on Linux
    commit originated from Rafael J. Wysocki, fixed by Lv Zheng.

    Signed-off-by: Lv Zheng
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Erik Schmauss
     

14 Mar, 2018

1 commit

  • EDAC driver needs to look up attributes of NVDIMMs provided in SMBIOS.

    Provide a function that looks up an acpi_nfit_memory_map from a device
    handle (node/socket/mc/channel/dimm) and returns the SMBIOS handle.
    Also pass back the "flags" so we can see if the NVDIMM is OK.

    Acked-by: Dan Williams
    Signed-off-by: Tony Luck
    Cc: "Rafael J. Wysocki"
    Cc: Aristeu Rozanski
    Cc: Dan Williams
    Cc: Erik Schmauss
    Cc: Jean Delvare
    Cc: Len Brown
    Cc: Mauro Carvalho Chehab
    Cc: Qiuxu Zhuo
    Cc: Robert Moore
    Cc: devel@acpica.org
    Cc: linux-acpi@vger.kernel.org
    Cc: linux-nvdimm@lists.01.org
    Link: http://lkml.kernel.org/r/20180312182430.10335-4-tony.luck@intel.com
    Signed-off-by: Borislav Petkov

    Tony Luck
     

22 Feb, 2018

2 commits

  • ACPICA commit 6e3468837f9f32f64c7d0a6e20bf0d2579411d43

    Version 20180209.

    Link: https://github.com/acpica/acpica/commit/6e346883
    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • ACPICA commit a6c3c725c44dd44ad9d3f2b2a64351fdbe6e0014

    For the kernel-resident ACPICA, optionally be silent about the
    NOT_FOUND case. Although this is potentially a serious problem,
    it can generate a lot of noise/errors on platforms whose
    firmware carries around a bunch of unused Package objects.
    To disable these errors, define ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS
    in the OS-specific header.

    Link: https://bugzilla.kernel.org/show_bug.cgi?id=198167
    Link: https://github.com/acpica/acpica/commit/a6c3c725
    Signed-off-by: Bob Moore
    Signed-off-by: Erik Schmauss
    Signed-off-by: Rafael J. Wysocki

    Bob Moore