06 Jan, 2014

1 commit

  • We can't include if this isn't x86, and we only need
    it if CONFIG_PCI_MMCONFIG is enabled.

    Fixes: 8deb3eb1461e ('xen/mcfg: Call PHYSDEVOP_pci_mmcfg_reserved for MCFG areas.')
    Signed-off-by: Ben Hutchings
    Signed-off-by: Konrad Rzeszutek Wilk
    Reviewed-by: David Vrabel
    Acked-by: Ian Campbell

    Ben Hutchings
     

21 Nov, 2013

1 commit

  • Pull more ACPI and power management updates from Rafael Wysocki:

    - ACPI-based device hotplug fixes for issues introduced recently and a
    fix for an older error code path bug in the ACPI PCI host bridge
    driver

    - Fix for recently broken OMAP cpufreq build from Viresh Kumar

    - Fix for a recent hibernation regression related to s2disk

    - Fix for a locking-related regression in the ACPI EC driver from
    Puneet Kumar

    - System suspend error code path fix related to runtime PM and runtime
    PM documentation update from Ulf Hansson

    - cpufreq's conservative governor fix from Xiaoguang Chen

    - New processor IDs for intel_idle and turbostat and removal of an
    obsolete Kconfig option from Len Brown

    - New device IDs for the ACPI LPSS (Low-Power Subsystem) driver and
    ACPI-based PCI hotplug (ACPIPHP) cleanup from Mika Westerberg

    - Removal of several ACPI video DMI blacklist entries that are not
    necessary any more from Aaron Lu

    - Rework of the ACPI companion representation in struct device and code
    cleanup related to that change from Rafael J Wysocki, Lan Tianyu and
    Jarkko Nikula

    - Fixes for assigning names to ACPI-enumerated I2C and SPI devices from
    Jarkko Nikula

    * tag 'pm+acpi-2-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (24 commits)
    PCI / hotplug / ACPI: Drop unused acpiphp_debug declaration
    ACPI / scan: Set flags.match_driver in acpi_bus_scan_fixed()
    ACPI / PCI root: Clear driver_data before failing enumeration
    ACPI / hotplug: Fix PCI host bridge hot removal
    ACPI / hotplug: Fix acpi_bus_get_device() return value check
    cpufreq: governor: Remove fossil comment in the cpufreq_governor_dbs()
    ACPI / video: clean up DMI table for initial black screen problem
    ACPI / EC: Ensure lock is acquired before accessing ec struct members
    PM / Hibernate: Do not crash kernel in free_basic_memory_bitmaps()
    ACPI / AC: Remove struct acpi_device pointer from struct acpi_ac
    spi: Use stable dev_name for ACPI enumerated SPI slaves
    i2c: Use stable dev_name for ACPI enumerated I2C slaves
    ACPI: Provide acpi_dev_name accessor for struct acpi_device device name
    ACPI / bind: Use (put|get)_device() on ACPI device objects too
    ACPI: Eliminate the DEVICE_ACPI_HANDLE() macro
    ACPI / driver core: Store an ACPI device pointer in struct acpi_dev_node
    cpufreq: OMAP: Fix compilation error 'r & ret undeclared'
    PM / Runtime: Fix error path for prepare
    PM / Runtime: Update documentation around probe|remove|suspend
    cpufreq: conservative: set requested_freq to policy max when it is over policy max
    ...

    Linus Torvalds
     

15 Nov, 2013

1 commit


09 Nov, 2013

1 commit

  • The PCI MMCONFIG area is usually reserved via the E820 so the Xen hypervisor
    is aware of these regions. But they can also be enumerated in the ACPI
    DSDT which means the hypervisor won't know of them until the initial
    domain informs it of via PHYSDEVOP_pci_mmcfg_reserved.

    This is what this patch does for all of the MCFG regions that the
    initial domain is aware of (E820 enumerated and ACPI).

    Reported-by: Santosh Jodh
    CC: Jan Beulich
    Reviewed-by: Boris Ostrovsky
    CC: David Vrabel
    CC: Mukesh Rathor
    Signed-off-by: Konrad Rzeszutek Wilk
    [v1: Redid it a bit]
    [v2: Dropped the P2M 1-1 setting]
    [v3: Check for Xen in-case we are running under baremetal]
    [v4: Wrap with CONFIG_PCI_MMCONFIG]

    Konrad Rzeszutek Wilk
     

30 May, 2012

1 commit


07 Nov, 2011

1 commit

  • * 'stable/cleanups-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
    xen: use static initializers in xen-balloon.c
    Xen: fix braces and tabs coding style issue in xenbus_probe.c
    Xen: fix braces coding style issue in xenbus_probe.h
    Xen: fix whitespaces,tabs coding style issue in drivers/xen/pci.c
    Xen: fix braces coding style issue in gntdev.c and grant-table.c
    Xen: fix whitespaces,tabs coding style issue in drivers/xen/events.c
    Xen: fix whitespaces,tabs coding style issue in drivers/xen/balloon.c

    Fix up trivial whitespace-conflicts in
    drivers/xen/{balloon.c,pci.c,xenbus/xenbus_probe.c}

    Linus Torvalds
     

23 Sep, 2011

1 commit

  • Now that the hypercall interface changes are in -unstable, make the
    kernel side code not ignore the segment (aka domain) number anymore
    (which results in pretty odd behavior on such systems). Rather, if
    only the old interfaces are available, don't call them for devices on
    non-zero segments at all.

    Signed-off-by: Jan Beulich
    [v1: Edited git description]
    Signed-off-by: Konrad Rzeszutek Wilk

    Jan Beulich
     

27 Aug, 2011

1 commit

  • Notifier functions are expected to return NOTIFY_* codes, not -E...
    ones. In particular, since the respective hypercalls failing is not
    fatal to the operation of the Dom0 kernel, it must be avoided to
    return negative values here as those would make it appear as if
    NOTIFY_STOP_MASK wa set, suppressing further notification calls to
    other interested parties (which is also why we don't want to use
    notifier_from_errno() here).

    While at it, also notify the user of a failed hypercall.

    Signed-off-by: Jan Beulich
    [v1: Added dev_err and the disable MSI/MSI-X call]
    [v2: Removed the disable MSI/MSI-X call]
    Signed-off-by: Konrad Rzeszutek Wilk

    Jan Beulich
     

27 Jul, 2011

1 commit


28 Oct, 2010

1 commit

  • Register a pci notifier to add (or remove) pci devices to Xen via
    hypercalls. Xen needs to know the pci devices present in the system to
    handle pci passthrough and even MSI remapping in the initial domain.

    Signed-off-by: Weidong Han
    Signed-off-by: Qing He
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Stefano Stabellini

    Weidong Han