12 Nov, 2016

1 commit

  • …linux-platform-drivers-x86

    Pull x86 platform driver fixes from Darren Hart:
    "Minor doc fix, a DMI match for ideapad and a fix to toshiba-wmi to
    avoid loading on non-toshiba systems.

    Documentation/ABI:
    - ibm_rtl: The "What:" fields are incomplete

    toshiba-wmi:
    - Fix loading the driver on non Toshiba laptops

    ideapad-laptop:
    - Add another DMI entry for Yoga 900"

    * tag 'platform-drivers-x86-v4.9-3' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
    Documentation/ABI: ibm_rtl: The "What:" fields are incomplete
    toshiba-wmi: Fix loading the driver on non Toshiba laptops
    ideapad-laptop: Add another DMI entry for Yoga 900

    Linus Torvalds
     

02 Nov, 2016

1 commit


19 Oct, 2016

1 commit

  • This patch prevents resetting the cxl adapter via sysfs in presence of
    one or more active cxl_context on it. This protects against an
    unrecoverable error caused by PSL owning a dirty cache line even after
    reset and host tries to touch the same cache line. In case a force reset
    of the card is required irrespective of any active contexts, the int
    value -1 can be stored in the 'reset' sysfs attribute of the card.

    The patch introduces a new atomic_t member named contexts_num inside
    struct cxl that holds the number of active context attached to the card
    , which is checked against '0' before proceeding with the reset. To
    prevent against a race condition where a context is activated just after
    reset check is performed, the contexts_num is atomically set to '-1'
    after reset-check to indicate that no more contexts can be activated on
    the card anymore.

    Before activating a context we atomically test if contexts_num is
    non-negative and if so, increment its value by one. In case the value of
    contexts_num is negative then it indicates that the card is about to be
    reset and context activation is error-ed out at that point.

    Fixes: 62fa19d4b4fd ("cxl: Add ability to reset the card")
    Cc: stable@vger.kernel.org # v4.0+
    Acked-by: Frederic Barrat
    Reviewed-by: Andrew Donnellan
    Signed-off-by: Vaibhav Jain
    Signed-off-by: Michael Ellerman

    Vaibhav Jain
     

11 Oct, 2016

1 commit

  • Pull Ceph updates from Ilya Dryomov:
    "The big ticket item here is support for rbd exclusive-lock feature,
    with maintenance operations offloaded to userspace (Douglas Fuller,
    Mike Christie and myself). Another block device bullet is a series
    fixing up layering error paths (myself).

    On the filesystem side, we've got patches that improve our handling of
    buffered vs dio write races (Neil Brown) and a few assorted fixes from
    Zheng. Also included a couple of random cleanups and a minor CRUSH
    update"

    * tag 'ceph-for-4.9-rc1' of git://github.com/ceph/ceph-client: (39 commits)
    crush: remove redundant local variable
    crush: don't normalize input of crush_ln iteratively
    libceph: ceph_build_auth() doesn't need ceph_auth_build_hello()
    libceph: use CEPH_AUTH_UNKNOWN in ceph_auth_build_hello()
    ceph: fix description for rsize and rasize mount options
    rbd: use kmalloc_array() in rbd_header_from_disk()
    ceph: use list_move instead of list_del/list_add
    ceph: handle CEPH_SESSION_REJECT message
    ceph: avoid accessing / when mounting a subpath
    ceph: fix mandatory flock check
    ceph: remove warning when ceph_releasepage() is called on dirty page
    ceph: ignore error from invalidate_inode_pages2_range() in direct write
    ceph: fix error handling of start_read()
    rbd: add rbd_obj_request_error() helper
    rbd: img_data requests don't own their page array
    rbd: don't call rbd_osd_req_format_read() for !img_data requests
    rbd: rework rbd_img_obj_exists_submit() error paths
    rbd: don't crash or leak on errors in rbd_img_obj_parent_read_full_callback()
    rbd: move bumping img_request refcount into rbd_obj_request_submit()
    rbd: mark the original request as done if stat request fails
    ...

    Linus Torvalds
     

08 Oct, 2016

1 commit

  • Pull HID updates from Jiri Kosina:

    - Integrated Sensor Hub support (Cherrytrail+) from Srinivas Pandruvada

    - Big cleanup of Wacom driver; namely it's now using devres, and the
    standardized LED API so that libinput doesn't need to have root
    access any more, with substantial amount of other cleanups
    piggy-backing on top. All this from Benjamin Tissoires

    - Report descriptor parsing would now ignore and out-of-range System
    controls in case of the application actually being System Control.
    This fixes quite some issues with several devices, and allows us to
    remove a few ->report_fixup callbacks. From Benjamin Tissoires

    - ... a lot of other assorted small fixes and device ID additions

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (76 commits)
    HID: add missing \n to end of dev_warn messages
    HID: alps: fix multitouch cursor issue
    HID: hid-logitech: Documentation updates/corrections
    HID: hid-logitech: Improve Wingman Formula Force GP support
    HID: hid-logitech: Rewrite of descriptor for all DF wheels
    HID: hid-logitech: Compute combined pedals value
    HID: hid-logitech: Add combined pedal support Logitech wheels
    HID: hid-logitech: Introduce control for combined pedals feature
    HID: sony: Update copyright and add Dualshock 4 rate control note
    HID: sony: Defer the initial USB Sixaxis output report
    HID: sony: Relax duplicate checking for USB-only devices
    Revert "HID: microsoft: fix invalid rdesc for 3k kbd"
    HID: alps: fix error return code in alps_input_configured()
    HID: alps: fix stick device not working after resume
    HID: support for keyboard - Corsair STRAFE
    HID: alps: Fix memory leak
    HID: uclogic: Add support for UC-Logic TWHA60 v3
    HID: uclogic: Override constant descriptors
    HID: uclogic: Support UGTizer GP0610 partially
    HID: uclogic: Add support for several more tablets
    ...

    Linus Torvalds
     

07 Oct, 2016

2 commits

  • …or-4.9/intel-ish', 'for-4.9/kye-uclogic-waltop-fixes', 'for-4.9/logitech', 'for-4.9/sony', 'for-4.9/upstream' and 'for-4.9/wacom' into for-linus

    Jiri Kosina
     
  • Pull power supply and reset updates from Sebastian Reichel:
    - move power supply drivers to drivers/power/supply
    - unify location of power supply DT documentation
    - tps65217-charger: IRQ support
    - act8945a-charger: misc. cleanups & improvements
    - sbs-battery cleanup
    - fix users of deprecated create_singlethread_workqueue()
    - misc fixes.

    * tag 'for-v4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (46 commits)
    power: supply: bq27xxx_battery: allow kernel poll_interval parameter runtime update
    power: supply: sbs-battery: Cleanup removal of chip->pdata
    power: reset: st: Remove obsolete platforms from dt doc
    power: reset: st-poweroff: Remove obsolete platforms.
    power: reset: zx-reboot: Unmap region obtained by of_iomap
    power: reset: xgene-reboot: Unmap region obtained by of_iomap
    power: supply: ab8500: cleanup with list_first_entry_or_null()
    power: reset: add in missing white space in error message text
    sbs-battery: make writes to ManufacturerAccess optional
    power: bq24257: Fix use of uninitialized pointer bq->charger
    power: supply: sbs-battery: simplify DT parsing
    power: supply: bq24735-charger: Request status GPIO with initial input setup
    power: supply: sbs-battery: Use gpio_desc and sleeping calls for battery detect
    power: supply: act8945a_charger: Add max current property
    power: supply: act8945a_charger: Add capacity level property
    doc: bindings: power: act8945a-charger: Update properties.
    power: supply: act8945a_charger: Fix the power supply type
    power: supply: act8945a_charger: Add status change update support
    power: supply: act8945a_charger: Improve state handling
    power: supply: act8945a_charger: Remove "battery_temperature"
    ...

    Linus Torvalds
     

05 Oct, 2016

1 commit

  • Pull LED driver updates from Jacek Anaszewski:
    "Three new LED class drivers and some minor fixes and improvementes to
    the leds-gpio driver, LED Trigger core and documentation"

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
    leds: triggers: Check return value of kobject_uevent_env()
    leds: triggers: Return from led_trigger_set() if there is nothing to do
    leds: gpio: fix and simplify error handling in gpio_leds_create
    leds: gpio: switch to managed version of led_classdev_register
    leds: gpio: fix and simplify reading property "label"
    leds: gpio: simplify gpio_leds_create
    leds: gpio: add helper cdev_to_gpio_led_data
    leds: gpio: fix an unhandled error case in create_gpio_led
    leds: gpio: introduce gpio_blink_set_t
    leds: add driver for Mellanox systems LEDs
    Documentation: move oneshot trigger attributes documentation to ABI
    leds: centralize definition of "default-state" property
    leds: add PM8058 LEDs driver
    leds: pm8058: add device tree bindings
    leds: do not overflow sysfs buffer in led_trigger_show
    leds: make triggers explicitly non-modular
    DT: leds: Add bindings for ISSI is31fl319x
    leds: is31fl319x: 1/3/6/9-channel light effect led driver

    Linus Torvalds
     

04 Oct, 2016

2 commits

  • Pull usb/phy/extcon updates from Greg KH:
    "Here is the big USB, and PHY, and extcon, patchsets for 4.9-rc1.

    Full details are in the shortlog, but generally a lot of new hardware
    support, usb gadget updates, and Wolfram's great cleanup of USB error
    message handling, making the kernel image a tad bit smaller.

    All of this has been in linux-next with no reported issues"

    * tag 'usb-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (343 commits)
    Revert "usbtmc: convert to devm_kzalloc"
    USB: serial: cp210x: Add ID for a Juniper console
    usb: Kconfig: using select for USB_COMMON dependency
    bluetooth: bcm203x: don't print error when allocating urb fails
    mmc: host: vub300: don't print error when allocating urb fails
    usb: hub: change CLEAR_FEATURE to SET_FEATURE
    usb: core: Introduce a USB port LED trigger
    USB: bcma: drop Northstar PHY 2.0 initialization code
    usb: core: hcd: add missing header dependencies
    usb: musb: da8xx: fix error handling message in probe
    usb: musb: Fix session based PM for first invalid VBUS
    usb: musb: Fix PM runtime for disconnect after unconfigure
    musb: Export musb_root_disconnect for use in modules
    usb: misc: legousbtower: Fix NULL pointer deference
    cdc-acm: hardening against malicious devices
    Revert "usb: gadget: NCM: Protect dev->port_usb using dev->lock"
    include: extcon: Fix compilation error caused because of incomplete merge
    MAINTAINERS: add tree entry for USB Serial
    phy-twl4030-usb: initialize charging-related stuff via pm_runtime
    phy-twl4030-usb: better handle musb_mailbox() failure
    ...

    Linus Torvalds
     
  • Pull char/misc driver updates from Greg KH:
    "Here's the "big" char and misc driver update for 4.9-rc1.

    Lots of little things here, all over the driver tree for subsystems
    that flow through me. Nothing major that I can discern, full details
    are in the shortlog.

    All have been in the linux-next tree with no reported issues"

    * tag 'char-misc-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (144 commits)
    drivers/misc/hpilo: Changes to support new security states in iLO5 FW
    at25: fix debug and error messaging
    misc/genwqe: ensure zero initialization
    vme: fake: remove unexpected unlock in fake_master_set()
    vme: fake: mark symbols static where possible
    spmi: pmic-arb: Return an error code if sanity check fails
    Drivers: hv: get rid of id in struct vmbus_channel
    Drivers: hv: make VMBus bus ids persistent
    mcb: Add a dma_device to mcb_device
    mcb: Enable PCI bus mastering by default
    mei: stop the stall timer worker if not needed
    clk: probe common clock drivers earlier
    vme: fake: fix build for 64-bit dma_addr_t
    ttyprintk: Neaten and simplify printing
    mei: me: add kaby point device ids
    coresight: tmc: mark symbols static where possible
    coresight: perf: deal with error condition properly
    Drivers: hv: hv_util: Avoid dynamic allocation in time synch
    fpga manager: Add hardware dependency to Zynq driver
    Drivers: hv: utils: Support TimeSync version 4.0 protocol samples.
    ...

    Linus Torvalds
     

27 Sep, 2016

1 commit

  • This commit adds a new trigger responsible for turning on LED when USB
    device gets connected to the selected USB port. This can can useful for
    various home routers that have USB port(s) and a proper LED telling user
    a device is connected.

    The trigger gets its documentation file but basically it just requires
    enabling it and selecting USB ports (e.g. echo 1 > ports/usb1-1).

    There was a long discussion on design of this driver. Its current state
    is a result of picking them most adjustable solution as others couldn't
    handle all cases.

    1) It wasn't possible for the driver to register separated trigger for
    each USB port. Some physical USB ports are handled by more than one
    controller and so by more than one USB port. E.g. USB 2.0 physical
    port may be handled by OHCI's port and EHCI's port.
    It's also not possible to assign more than 1 trigger to a single LED
    and implementing such feature would be tricky due to syncing triggers
    and sysfs conflicts with old triggers.

    2) Another idea was to register trigger per USB hub. This wouldn't allow
    handling devices with multiple USB LEDs and controllers (hubs)
    controlling more than 1 physical port. It's common for hubs to have
    few ports and each may have its own LED.

    This final trigger is highly flexible. It allows selecting any USB ports
    for any LED. It was also modified (comparing to the initial version) to
    allow choosing ports rather than having user /guess/ proper names. It
    was successfully tested on SmartRG SR400ac which has 3 USB LEDs,
    2 physical ports and 3 controllers.

    It was noted USB subsystem already has usb-gadget and usb-host triggers
    but they are pretty trivial ones. They indicate activity only and can't
    have ports specified.

    In future it may be good idea to consider adding activity support to
    usbport as well. This should allow switching to this more generic driver
    and maybe marking old ones as obsolete.
    This can be implemented with another sysfs file for setting mode. The
    default mode wouldn't change so there won't be ABI breakage and so such
    feature can be safely implemented later.

    There was also an idea of supporting other devices (PCI, SDIO, etc.) but
    as this driver already contains some USB specific code (and will get
    more) these should be probably separated drivers (triggers).

    Signed-off-by: Rafał Miłecki
    Signed-off-by: Greg Kroah-Hartman

    Rafał Miłecki
     

26 Sep, 2016

2 commits


15 Sep, 2016

1 commit


14 Sep, 2016

1 commit

  • Information about interrupts is exposed via /proc/interrupts, but the
    format of that file has changed over kernel versions and differs across
    architectures. It also has varying column numbers depending on hardware.

    That all makes it hard for tools to parse.

    To solve this, expose the information through sysfs so each irq attribute
    is in a separate file in a consistent, machine parsable way.

    This feature is only available when both CONFIG_SPARSE_IRQ and
    CONFIG_SYSFS are enabled.

    Examples:
    /sys/kernel/irq/18/actions: i801_smbus,ehci_hcd:usb1,uhci_hcd:usb7
    /sys/kernel/irq/18/chip_name: IR-IO-APIC
    /sys/kernel/irq/18/hwirq: 18
    /sys/kernel/irq/18/name: fasteoi
    /sys/kernel/irq/18/per_cpu_count: 0,0
    /sys/kernel/irq/18/type: level

    /sys/kernel/irq/25/actions: ahci0
    /sys/kernel/irq/25/chip_name: IR-PCI-MSI
    /sys/kernel/irq/25/hwirq: 512000
    /sys/kernel/irq/25/name: edge
    /sys/kernel/irq/25/per_cpu_count: 29036,0
    /sys/kernel/irq/25/type: edge

    [ tglx: Moved kobject_del() under sparse_irq_lock, massaged code comments
    and changelog ]

    Signed-off-by: Craig Gallek
    Cc: David Decotigny
    Link: http://lkml.kernel.org/r/1473783291-122873-1-git-send-email-kraigatgoog@gmail.com
    Signed-off-by: Thomas Gleixner

    Craig Gallek
     

05 Sep, 2016

1 commit


31 Aug, 2016

2 commits

  • commit 5590f3196b29 ("drivers/core/of: Add symlink to device-tree from
    devices with an OF node") added a symlink called "of_node" to sysfs
    however the documentation describes it as "of_path".

    Fix the documentation to match what the code actually does.

    Signed-off-by: Martin Fuzzey
    Acked-by: Rob Herring
    Signed-off-by: Greg Kroah-Hartman

    Martin Fuzzey
     
  • Patches merged to the IIO BMP085 driver makes it fully compliant
    with all features found in this old misc driver. Retire this old
    driver in favor of the new one in the proper subsystem.

    Cc: Jonathan Cameron
    Cc: Marek Belisko
    Acked-by: H. Nikolaus Schaller
    Signed-off-by: Linus Walleij
    Acked-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

30 Aug, 2016

1 commit


29 Aug, 2016

1 commit


25 Aug, 2016

5 commits


17 Aug, 2016

1 commit


06 Aug, 2016

1 commit

  • …erry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "This set of changes improve some aspects of the atomic API as well as
    make use of this new API in the regulator framework to allow properly
    dealing with critical regulators controlled by a PWM.

    Aside from that there's a bunch of updates and cleanups for existing
    drivers, as well as the addition of new drivers for the Broadcom
    iProc, STMPE and ChromeOS EC controllers"

    * tag 'pwm/for-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (44 commits)
    regulator: pwm: Document pwm-dutycycle-unit and pwm-dutycycle-range
    regulator: pwm: Support extra continuous mode cases
    pwm: Add ChromeOS EC PWM driver
    dt-bindings: pwm: Add binding for ChromeOS EC PWM
    mfd: cros_ec: Add EC_PWM function definitions
    mfd: cros_ec: Add cros_ec_cmd_xfer_status() helper
    pwm: atmel: Use of_device_get_match_data()
    pwm: atmel: Fix checkpatch warnings
    pwm: atmel: Fix disabling of PWM channels
    dt-bindings: pwm: Add R-Car H3 device tree bindings
    pwm: rcar: Use ARCH_RENESAS
    pwm: tegra: Add support for Tegra186
    dt-bindings: pwm: tegra: Add compatible string for Tegra186
    pwm: tegra: Avoid overflow when calculating duty cycle
    pwm: tegra: Allow 100 % duty cycle
    pwm: tegra: Add support for reset control
    pwm: tegra: Rename mmio_base to regs
    pwm: tegra: Remove useless padding
    pwm: tegra: Drop NUM_PWM macro
    pwm: lpc32xx: Set PWM_PIN_LEVEL bit to default value
    ...

    Linus Torvalds
     

05 Aug, 2016

1 commit


28 Jul, 2016

2 commits

  • Pull networking updates from David Miller:

    1) Unified UDP encapsulation offload methods for drivers, from
    Alexander Duyck.

    2) Make DSA binding more sane, from Andrew Lunn.

    3) Support QCA9888 chips in ath10k, from Anilkumar Kolli.

    4) Several workqueue usage cleanups, from Bhaktipriya Shridhar.

    5) Add XDP (eXpress Data Path), essentially running BPF programs on RX
    packets as soon as the device sees them, with the option to mirror
    the packet on TX via the same interface. From Brenden Blanco and
    others.

    6) Allow qdisc/class stats dumps to run lockless, from Eric Dumazet.

    7) Add VLAN support to b53 and bcm_sf2, from Florian Fainelli.

    8) Simplify netlink conntrack entry layout, from Florian Westphal.

    9) Add ipv4 forwarding support to mlxsw spectrum driver, from Ido
    Schimmel, Yotam Gigi, and Jiri Pirko.

    10) Add SKB array infrastructure and convert tun and macvtap over to it.
    From Michael S Tsirkin and Jason Wang.

    11) Support qdisc packet injection in pktgen, from John Fastabend.

    12) Add neighbour monitoring framework to TIPC, from Jon Paul Maloy.

    13) Add NV congestion control support to TCP, from Lawrence Brakmo.

    14) Add GSO support to SCTP, from Marcelo Ricardo Leitner.

    15) Allow GRO and RPS to function on macsec devices, from Paolo Abeni.

    16) Support MPLS over IPV4, from Simon Horman.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1622 commits)
    xgene: Fix build warning with ACPI disabled.
    be2net: perform temperature query in adapter regardless of its interface state
    l2tp: Correctly return -EBADF from pppol2tp_getname.
    net/mlx5_core/health: Remove deprecated create_singlethread_workqueue
    net: ipmr/ip6mr: update lastuse on entry change
    macsec: ensure rx_sa is set when validation is disabled
    tipc: dump monitor attributes
    tipc: add a function to get the bearer name
    tipc: get monitor threshold for the cluster
    tipc: make cluster size threshold for monitoring configurable
    tipc: introduce constants for tipc address validation
    net: neigh: disallow transition to NUD_STALE if lladdr is unchanged in neigh_update()
    MAINTAINERS: xgene: Add driver and documentation path
    Documentation: dtb: xgene: Add MDIO node
    dtb: xgene: Add MDIO node
    drivers: net: xgene: ethtool: Use phy_ethtool_gset and sset
    drivers: net: xgene: Use exported functions
    drivers: net: xgene: Enable MDIO driver
    drivers: net: xgene: Add backward compatibility
    drivers: net: phy: xgene: Add MDIO driver
    ...

    Linus Torvalds
     
  • Pull arm64 updates from Catalin Marinas:

    - Kexec support for arm64

    - Kprobes support

    - Expose MIDR_EL1 and REVIDR_EL1 CPU identification registers to sysfs

    - Trapping of user space cache maintenance operations and emulation in
    the kernel (CPU errata workaround)

    - Clean-up of the early page tables creation (kernel linear mapping,
    EFI run-time maps) to avoid splitting larger blocks (e.g. pmds) into
    smaller ones (e.g. ptes)

    - VDSO support for CLOCK_MONOTONIC_RAW in clock_gettime()

    - ARCH_HAS_KCOV enabled for arm64

    - Optimise IP checksum helpers

    - SWIOTLB optimisation to only allocate/initialise the buffer if the
    available RAM is beyond the 32-bit mask

    - Properly handle the "nosmp" command line argument

    - Fix for the initialisation of the CPU debug state during early boot

    - vdso-offsets.h build dependency workaround

    - Build fix when RANDOMIZE_BASE is enabled with MODULES off

    * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (64 commits)
    arm64: arm: Fix-up the removal of the arm64 regs_query_register_name() prototype
    arm64: Only select ARM64_MODULE_PLTS if MODULES=y
    arm64: mm: run pgtable_page_ctor() on non-swapper translation table pages
    arm64: mm: make create_mapping_late() non-allocating
    arm64: Honor nosmp kernel command line option
    arm64: Fix incorrect per-cpu usage for boot CPU
    arm64: kprobes: Add KASAN instrumentation around stack accesses
    arm64: kprobes: Cleanup jprobe_return
    arm64: kprobes: Fix overflow when saving stack
    arm64: kprobes: WARN if attempting to step with PSTATE.D=1
    arm64: debug: remove unused local_dbg_{enable, disable} macros
    arm64: debug: remove redundant spsr manipulation
    arm64: debug: unmask PSTATE.D earlier
    arm64: localise Image objcopy flags
    arm64: ptrace: remove extra define for CPSR's E bit
    kprobes: Add arm64 case in kprobe example module
    arm64: Add kernel return probes support (kretprobes)
    arm64: Add trampoline code for kretprobes
    arm64: kprobes instruction simulation support
    arm64: Treat all entry code as non-kprobe-able
    ...

    Linus Torvalds
     

27 Jul, 2016

1 commit

  • Pull ACPI updates from Rafael Wysocki:
    "The new feaures here are the support for ACPI overlays (allowing ACPI
    tables to be loaded at any time from EFI variables or via configfs)
    and the LPI (Low-Power Idle) support. Also notable is the ACPI-based
    NUMA support for ARM64.

    Apart from that we have two new drivers, for the DPTF (Dynamic Power
    and Thermal Framework) power participant device and for the Intel
    Broxton WhiskeyCove PMIC, some more PMIC-related changes, support for
    the Boot Error Record Table (BERT) in APEI and support for
    platform-initiated graceful shutdown.

    Plus two new pieces of documentation and usual assorted fixes and
    cleanups in quite a few places.

    Specifics:

    - Support for ACPI SSDT overlays allowing Secondary System
    Description Tables (SSDTs) to be loaded at any time from EFI
    variables or via configfs (Octavian Purdila, Mika Westerberg).

    - Support for the ACPI LPI (Low-Power Idle) feature introduced in
    ACPI 6.0 and allowing processor idle states to be represented in
    ACPI tables in a hierarchical way (with the help of Processor
    Container objects) and support for ACPI idle states management on
    ARM64, based on LPI (Sudeep Holla).

    - General improvements of ACPI support for NUMA and ARM64 support for
    ACPI-based NUMA (Hanjun Guo, David Daney, Robert Richter).

    - General improvements of the ACPI table upgrade mechanism and ARM64
    support for that feature (Aleksey Makarov, Jon Masters).

    - Support for the Boot Error Record Table (BERT) in APEI and
    improvements of kernel messages printed by the error injection code
    (Huang Ying, Borislav Petkov).

    - New driver for the Intel Broxton WhiskeyCove PMIC operation region
    and support for the REGS operation region on Broxton, PMIC code
    cleanups (Bin Gao, Felipe Balbi, Paul Gortmaker).

    - New driver for the power participant device which is part of the
    Dynamic Power and Thermal Framework (DPTF) and DPTF-related code
    reorganization (Srinivas Pandruvada).

    - Support for the platform-initiated graceful shutdown feature
    introduced in ACPI 6.1 (Prashanth Prakash).

    - ACPI button driver update related to lid input events generated
    automatically on initialization and system resume that have been
    problematic for some time (Lv Zheng).

    - ACPI EC driver cleanups (Lv Zheng).

    - Documentation of the ACPICA release automation process and the
    in-kernel ACPI AML debugger (Lv Zheng).

    - New blacklist entry and two fixes for the ACPI backlight driver
    (Alex Hung, Arvind Yadav, Ralf Gerbig).

    - Cleanups of the ACPI pci_slot driver (Joe Perches, Paul Gortmaker).

    - ACPI CPPC code changes to make it more robust against possible
    defects in ACPI tables and new symbol definitions for PCC (Hoan
    Tran).

    - System reboot code modification to execute the ACPI _PTS (Prepare
    To Sleep) method in addition to _TTS (Ocean He).

    - ACPICA-related change to carry out lock ordering checks in ACPICA
    if ACPICA debug is enabled in the kernel (Lv Zheng).

    - Assorted minor fixes and cleanups (Andy Shevchenko, Baoquan He,
    Bhaktipriya Shridhar, Paul Gortmaker, Rafael Wysocki)"

    * tag 'acpi-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (71 commits)
    ACPI: enable ACPI_PROCESSOR_IDLE on ARM64
    arm64: add support for ACPI Low Power Idle(LPI)
    drivers: firmware: psci: initialise idle states using ACPI LPI
    cpuidle: introduce CPU_PM_CPU_IDLE_ENTER macro for ARM{32, 64}
    arm64: cpuidle: drop __init section marker to arm_cpuidle_init
    ACPI / processor_idle: Add support for Low Power Idle(LPI) states
    ACPI / processor_idle: introduce ACPI_PROCESSOR_CSTATE
    ACPI / DPTF: move int340x_thermal.c to the DPTF folder
    ACPI / DPTF: Add DPTF power participant driver
    ACPI / lpat: make it explicitly non-modular
    ACPI / dock: make dock explicitly non-modular
    ACPI / PCI: make pci_slot explicitly non-modular
    ACPI / PMIC: remove modular references from non-modular code
    ACPICA: Linux: Enable ACPI_MUTEX_DEBUG for Linux kernel
    ACPI: Rename configfs.c to acpi_configfs.c to prevent link error
    ACPI / debugger: Add AML debugger documentation
    ACPI: Add documentation describing ACPICA release automation
    ACPI: add support for loading SSDTs via configfs
    ACPI: add support for configfs
    efi / ACPI: load SSTDs from EFI variables
    ...

    Linus Torvalds
     

12 Jul, 2016

1 commit

  • It can be useful for JIT software to be aware of MIDR_EL1 and
    REVIDR_EL1 to ascertain the presence of any core errata that could
    affect code generation.

    This patch exposes these registers through sysfs:

    /sys/devices/system/cpu/cpu$ID/regs/identification/midr_el1
    /sys/devices/system/cpu/cpu$ID/regs/identification/revidr_el1

    where $ID is the cpu number. For big.LITTLE systems, one can have a
    mixture of cores (e.g. Cortex A53 and Cortex A57), thus all CPUs need
    to be enumerated.

    If the kernel does not have valid information to populate these entries
    with, an empty string is returned to userspace.

    Cc: Mark Rutland
    Reviewed-by: Will Deacon
    Signed-off-by: Steve Capper
    [suzuki.poulose@arm.com: ABI documentation updates, hotplug notifiers, kobject changes]
    Signed-off-by: Suzuki K Poulose
    Signed-off-by: Catalin Marinas

    Steve Capper
     

09 Jul, 2016

2 commits

  • New tables can be loaded by creating directories under /config/table/
    and writing the AML code into the aml table attribute. Various table
    attributes will be readable once the table is successfully loaded.

    Unloading tables is not supported at the moment, but it can be easily
    implemented once ACPI loading functions provide a table handle to be
    used for unloading.

    Signed-off-by: Octavian Purdila
    Reviewed-by: Mika Westerberg
    Signed-off-by: Rafael J. Wysocki

    Octavian Purdila
     
  • Register the ACPI subsystem with configfs.

    Signed-off-by: Octavian Purdila
    Reviewed-by: Mika Westerberg
    Signed-off-by: Rafael J. Wysocki

    Octavian Purdila
     

02 Jul, 2016

1 commit

  • Simon Wunderlich says:

    ====================
    This feature patchset includes the following changes:

    - two patches with minimal clean up work by Antonio Quartulli and
    Simon Wunderlich

    - eight patches of B.A.T.M.A.N. V, API and documentation clean
    up work, by Antonio Quartulli and Marek Lindner

    - Andrew Lunn fixed the skb priority adoption when forwarding
    fragmented packets (two patches)

    - Multicast optimization support is now enabled for bridges which
    comes with some protocol updates, by Linus Luessing
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     

01 Jul, 2016

1 commit

  • Adds a new per-device sysfs attribute "current_timestamp_clock" to allow
    userspace to select a particular POSIX clock for buffered samples and
    events timestamping.

    Following clocks, as listed in clock_gettime(2), are supported:
    CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_MONOTONIC_RAW,
    CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC_COARSE, CLOCK_BOOTTIME and
    CLOCK_TAI.

    Signed-off-by: Gregor Boirie
    Acked-by: Sanchayan Maity
    Signed-off-by: Jonathan Cameron

    Gregor Boirie
     

30 Jun, 2016

2 commits


20 Jun, 2016

1 commit


19 Jun, 2016

1 commit

  • Pull USB fixes from Greg KH:
    "Here are a bunch (65) of USB fixes for 4.7-rc4. Sorry about the
    quantity, I've been slow in getting these out.

    The majority are the "normal" gadget, musb, and xhci fixes, that we
    all are used to. There are also a few other tiny fixes resolving a
    number of reported issues that showed up in 4.7-rc1.

    All of these have been in linux-next"

    * tag 'usb-4.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (65 commits)
    usbip: rate limit get_frame_number message
    usb: musb: sunxi: Remove bogus "Frees glue" comment
    usb: musb: sunxi: Fix NULL ptr deref when gadget is registered before musb
    usb: echi-hcd: Add ehci_setup check before echi_shutdown
    usb: host: ehci-msm: Conditionally call ehci suspend/resume
    MAINTAINERS: Add file patterns for usb device tree bindings
    usb: host: ehci-tegra: Avoid getting the same reset twice
    usb: host: ehci-tegra: Grab the correct UTMI pads reset
    USB: mos7720: delete parport
    USB: OHCI: Don't mark EDs as ED_OPER if scheduling fails
    phy: ti-pipe3: Program the DPLL even if it was already locked
    usb: musb: Stop bulk endpoint while queue is rotated
    usb: musb: Ensure rx reinit occurs for shared_fifo endpoints
    usb: musb: host: correct cppi dma channel for isoch transfer
    usb: musb: only restore devctl when session was set in backup
    usb: phy: Check initial state for twl6030
    usb: musb: Use normal module_init for 2430 glue
    usb: musb: Remove pm_runtime_set_irq_safe
    usb: musb: Remove extra PM runtime calls from 2430 glue layer
    usb: musb: Return error value from musb_mailbox
    ...

    Linus Torvalds