25 Nov, 2019

2 commits


19 Sep, 2019

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here is the big char/misc driver pull request for 5.4-rc1.

    As has been happening in previous releases, more and more individual
    driver subsystem trees are ending up in here. Now if that is good or
    bad I can't tell, but hopefully it makes your life easier as it's more
    of an aggregation of trees together to one merge point for you.

    Anyway, lots of stuff in here:
    - habanalabs driver updates
    - thunderbolt driver updates
    - misc driver updates
    - coresight and intel_th hwtracing driver updates
    - fpga driver updates
    - extcon driver updates
    - some dma driver updates
    - char driver updates
    - android binder driver updates
    - nvmem driver updates
    - phy driver updates
    - parport driver fixes
    - pcmcia driver fix
    - uio driver updates
    - w1 driver updates
    - configfs fixes
    - other assorted driver updates

    All of these have been in linux-next for a long time with no reported
    issues"

    * tag 'char-misc-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (200 commits)
    misc: mic: Use PTR_ERR_OR_ZERO rather than its implementation
    habanalabs: correctly cast variable to __le32
    habanalabs: show correct id in error print
    habanalabs: stop using the acronym KMD
    habanalabs: display card name as sensors header
    habanalabs: add uapi to retrieve aggregate H/W events
    habanalabs: add uapi to retrieve device utilization
    habanalabs: Make the Coresight timestamp perpetual
    habanalabs: explicitly set the queue-id enumerated numbers
    habanalabs: print to kernel log when reset is finished
    habanalabs: replace __le32_to_cpu with le32_to_cpu
    habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64
    habanalabs: Handle HW_IP_INFO if device disabled or in reset
    habanalabs: Expose devices after initialization is done
    habanalabs: improve security in Debug IOCTL
    habanalabs: use default structure for user input in Debug IOCTL
    habanalabs: Add descriptive name to PSOC app status register
    habanalabs: Add descriptive names to PSOC scratch-pad registers
    habanalabs: create two char devices per ASIC
    habanalabs: change device_setup_cdev() to be more generic
    ...

    Linus Torvalds
     

17 Sep, 2019

1 commit

  • Pull ia64 updates from Tony Luck:
    "The big change here is removal of support for SGI Altix"

    * tag 'please-pull-ia64_for_5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux: (33 commits)
    genirq: remove the is_affinity_mask_valid hook
    ia64: remove CONFIG_SWIOTLB ifdefs
    ia64: remove support for machvecs
    ia64: move the screen_info setup to common code
    ia64: move the ROOT_DEV setup to common code
    ia64: rework iommu probing
    ia64: remove the unused sn_coherency_id symbol
    ia64: remove the SGI UV simulator support
    ia64: remove the zx1 swiotlb machvec
    ia64: remove CONFIG_ACPI ifdefs
    ia64: remove CONFIG_PCI ifdefs
    ia64: remove the hpsim platform
    ia64: remove now unused machvec indirections
    ia64: remove support for the SGI SN2 platform
    drivers: remove the SGI SN2 IOC4 base support
    drivers: remove the SGI SN2 IOC3 base support
    qla2xxx: remove SGI SN2 support
    qla1280: remove SGI SN2 support
    misc/sgi-xp: remove SGI SN2 support
    char/mspec: remove SGI SN2 support
    ...

    Linus Torvalds
     

19 Aug, 2019

1 commit


17 Aug, 2019

3 commits

  • The only thing remaining of the machvecs is a few checks if we are
    running on an SGI UV system. Replace those with the existing
    is_uv_system() check that has been rewritten to simply check the
    OEM ID directly.

    That leaves us with a generic kernel that is as fast as the previous
    DIG/ZX1/UV kernels, but can support all hardware. Support for UV
    and the HP SBA IOMMU is now optional based on new config options.

    Signed-off-by: Christoph Hellwig
    Link: https://lkml.kernel.org/r/20190813072514.23299-27-hch@lst.de
    Signed-off-by: Tony Luck

    Christoph Hellwig
     
  • The IOC4 is a multi-function chip seen on SGI SN2 and some SGI MIPS
    systems. This removes the base driver, which while not having an SN2
    Kconfig dependency was only for sub-drivers that had one.

    Signed-off-by: Christoph Hellwig
    Link: https://lkml.kernel.org/r/20190813072514.23299-15-hch@lst.de
    Signed-off-by: Tony Luck

    Christoph Hellwig
     
  • Note this also marks xp broken on ia64 now, as the UV support, which
    was disable in generic kernels before actually never compiled due to
    undefined uv_gpa_to_soc_phys_ram and uv_gpa_in_mmr_space symbols since
    at least commit c2c9f1157414 ("x86: uv: update XPC to handle updated
    BIOS interface").

    Signed-off-by: Christoph Hellwig
    Link: https://lkml.kernel.org/r/20190813072514.23299-11-hch@lst.de
    Signed-off-by: Tony Luck

    Christoph Hellwig
     

16 Aug, 2019

1 commit

  • lib/devres.c, which implements devm_ioremap_resource(), is only built
    when CONFIG_HAS_IOMEM is set/enabled, so XILINX_SDFEC should depend
    on HAS_IOMEM. Fixes this build error (as seen on UML builds):

    ERROR: "devm_ioremap_resource" [drivers/misc/xilinx_sdfec.ko] undefined!

    Fixes: 76d83e1c3233 ("misc: xilinx-sdfec: add core driver")
    Signed-off-by: Randy Dunlap
    Cc: Derek Kiernan
    Cc: Dragan Cvetic
    Cc: Greg Kroah-Hartman
    Cc: Geert Uytterhoeven
    Cc: Arnd Bergmann
    Link: https://lore.kernel.org/r/f9004be5-9925-327b-3ec2-6506e46fe565@infradead.org
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     

06 Aug, 2019

1 commit

  • This driver has been marked broken since 2013, see commit 98097858ccf3
    ("misc: mark spear13xx-pcie-gadget as broken"). Let's remove this file
    now that it's been more than 5 years of existing in a broken state.

    Cc: Arnd Bergmann
    Signed-off-by: Stephen Boyd
    Link: https://lore.kernel.org/r/5d41a2b7.1c69fb81.c8d56.edb6@mx.google.com
    Signed-off-by: Greg Kroah-Hartman

    Stephen Boyd
     

03 Jul, 2019

1 commit

  • The FSA9480 has a new driver more appropriately located
    in the drivers/extcon subsystem. It is also more complete
    and includes device tree support. Delete the old misc
    driver.

    Cc: Arnd Bergmann
    Signed-off-by: Linus Walleij
    Reviewed-by: Chanwoo Choi
    Reviewed-by: Pawe Chmiel
    Link: https://lore.kernel.org/r/20190630140302.16245-1-linus.walleij@linaro.org
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

21 Jun, 2019

1 commit

  • Implement a platform driver that matches with xlnx,
    sd-fec-1.1 device tree node and registers as a character
    device, including:
    - SD-FEC driver binds to sdfec DT node.
    - creates and initialise an initial driver dev structure.
    - add the driver in Linux build and Kconfig.

    Tested-by: Dragan Cvetic
    Signed-off-by: Derek Kiernan
    Signed-off-by: Dragan Cvetic
    Signed-off-by: Greg Kroah-Hartman

    Dragan Cvetic
     

09 Jun, 2019

1 commit


25 May, 2019

2 commits

  • Add support for compaction for VMware balloon. Since unlike the virtio
    balloon, we also support huge-pages, which are not going through
    compaction, we keep these pages in vmballoon and handle this list
    separately. We use the same lock to protect both lists, as this lock is
    not supposed to be contended.

    Doing so also eliminates the need for the page_size lists. We update the
    accounting as needed to reflect inflation, deflation and migration to be
    reflected in vmstat.

    Since VMware balloon now provides statistics for inflation, deflation
    and migration in vmstat, select MEMORY_BALLOON in Kconfig.

    Reviewed-by: Xavier Deguillard
    Signed-off-by: Nadav Amit
    Signed-off-by: Greg Kroah-Hartman

    Nadav Amit
     
  • 'default n' is the default value for any bool or tristate Kconfig
    setting so there is no need to write it explicitly.

    Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO
    is not set' for visible symbols") the Kconfig behavior is the same
    regardless of 'default n' being present or not:

    ...
    One side effect of (and the main motivation for) this change is making
    the following two definitions behave exactly the same:

    config FOO
    bool

    config FOO
    bool
    default n

    With this change, neither of these will generate a
    '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied).
    That might make it clearer to people that a bare 'default n' is
    redundant.
    ...

    Signed-off-by: Bartlomiej Zolnierkiewicz
    Acked-by: Frederic Barrat
    Acked-by: Arnd Bergmann
    Acked-by: Michael Ellerman
    Signed-off-by: Greg Kroah-Hartman

    Bartlomiej Zolnierkiewicz
     

21 May, 2019

1 commit


20 May, 2019

1 commit

  • Pull clocksource updates from Ingo Molnar:
    "Misc clocksource/clockevent driver updates that came in a bit late but
    are ready for v5.2"

    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    misc: atmel_tclib: Do not probe already used TCBs
    clocksource/drivers/timer-atmel-tcb: Convert tc_clksrc_suspend|resume() to static
    clocksource/drivers/tcb_clksrc: Rename the file for consistency
    clocksource/drivers/timer-atmel-pit: Rework Kconfig option
    clocksource/drivers/tcb_clksrc: Move Kconfig option
    ARM: at91: Implement clocksource selection
    clocksource/drivers/tcb_clksrc: Use tcb as sched_clock
    clocksource/drivers/tcb_clksrc: Stop depending on atmel_tclib
    ARM: at91: move SoC specific definitions to SoC folder
    clocksource/drivers/timer-milbeaut: Cleanup common register accesses
    clocksource/drivers/timer-milbeaut: Add shutdown function
    clocksource/drivers/timer-milbeaut: Fix to enable one-shot timer
    clocksource/drivers/tegra: Rework for compensation of suspend time
    clocksource/drivers/sp804: Add COMPILE_TEST to CONFIG_ARM_TIMER_SP804
    clocksource/drivers/sun4i: Add a compatible for suniv
    dt-bindings: timer: Add Allwinner suniv timer

    Linus Torvalds
     

03 May, 2019

2 commits

  • Move the ATMEL_TCB_CLKSRC option to drivers/clocksource and make it silent
    if COMPILE_TEST is not selected.

    Cc: Arnd Bergmann
    Signed-off-by: Alexandre Belloni
    Signed-off-by: Daniel Lezcano

    Alexandre Belloni
     
  • atmel_tclib is probed too late in the boot process to be able to use the
    TCB as the boot clocksource. This is an issue for SoCs without the PIT
    (sams70, samv70 and samv71 families) as they simply currently can't boot.

    Get rid of the atmel_tclib dependency and probe everything on our own using
    the correct device tree binding.

    This also allows getting rid of ATMEL_TCB_CLKSRC_BLOCK and makes the driver
    a bit more flexible as the TCB is not hardcoded in the kernel anymore.

    Signed-off-by: Alexandre Belloni
    Signed-off-by: Daniel Lezcano

    Alexandre Belloni
     

30 Apr, 2019

1 commit

  • Create a SoC folder for the ASPEED parts and place the misc drivers
    currently present into this folder. These drivers are not generic part
    drivers, but rather only apply to the ASPEED SoCs.

    Signed-off-by: Patrick Venture
    Acked-by: Arnd Bergmann
    Signed-off-by: Olof Johansson

    Patrick Venture
     

19 Feb, 2019

1 commit

  • Fastrpc is a dma buf exporter as well, so select the corresponding
    DMA_SHARED_BUFFER config to fix below compilation errors on platforms
    without this config.

    ld: drivers/misc/fastrpc.o: in function 'fastrpc_free_map':
    fastrpc.c:(.text+0xbe): undefined reference to 'dma_buf_unmap_attachment'
    ld: fastrpc.c:(.text+0xcb): undefined reference to 'dma_buf_detach'
    ld: fastrpc.c:(.text+0xd4): undefined reference to 'dma_buf_put'
    ld: drivers/misc/fastrpc.o: in function 'fastrpc_map_create':
    fastrpc.c:(.text+0xb2b): undefined reference to 'dma_buf_get'
    ld: fastrpc.c:(.text+0xb47): undefined reference to 'dma_buf_attach'
    ld: fastrpc.c:(.text+0xb61): undefined reference to 'dma_buf_map_attachment'
    ld: fastrpc.c:(.text+0xc36): undefined reference to 'dma_buf_put'
    ld: fastrpc.c:(.text+0xc48): undefined reference to 'dma_buf_detach'
    ld: drivers/misc/fastrpc.o: in function 'fastrpc_device_ioctl':
    fastrpc.c:(.text+0x1756): undefined reference to 'dma_buf_get'
    ld: fastrpc.c:(.text+0x1776): undefined reference to 'dma_buf_put'
    ld: fastrpc.c:(.text+0x1780): undefined reference to 'dma_buf_put'
    ld: fastrpc.c:(.text+0x1abf): undefined reference to 'dma_buf_export'
    ld: fastrpc.c:(.text+0x1ae7): undefined reference to 'dma_buf_fd'
    ld: fastrpc.c:(.text+0x1cb5): undefined reference to 'dma_buf_put'
    ld: fastrpc.c:(.text+0x1cca): undefined reference to 'dma_buf_put'

    Reported-by: Randy Dunlap
    Signed-off-by: Srinivas Kandagatla
    Acked-by: Randy Dunlap # build-tested
    Signed-off-by: Greg Kroah-Hartman

    Srinivas Kandagatla
     

18 Feb, 2019

1 commit

  • This patch adds the habanalabs skeleton driver. The driver does nothing at
    this stage except very basic operations. It contains the minimal code to
    insmod and rmmod the driver and to create a /dev/hlX file per PCI device.

    Reviewed-by: Mike Rapoport
    Signed-off-by: Oded Gabbay
    Signed-off-by: Greg Kroah-Hartman

    Oded Gabbay
     

12 Feb, 2019

1 commit

  • This patch adds basic driver model for Qualcomm FastRPC driver which
    implements an IPC (Inter-Processor Communication) mechanism that
    allows for clients to transparently make remote method invocations
    across processor boundaries.

    Each DSP rpmsg channel is represented as fastrpc channel context and
    is exposed as a character device for userspace interface.
    Each compute context bank is represented as fastrpc-session-context,
    which are dynamically managed by the channel context char device.

    Co-developed-by: Thierry Escande
    Signed-off-by: Thierry Escande
    Signed-off-by: Srinivas Kandagatla
    Signed-off-by: Greg Kroah-Hartman

    Srinivas Kandagatla
     

27 Nov, 2018

1 commit


07 Nov, 2018

2 commits


14 May, 2018

1 commit

  • This driver is a logical device which provides an
    interface between the hypervisor and a management
    partition. This interface is like a message
    passing interface. This management partition
    is intended to provide an alternative to HMC-based
    system management.

    VMC enables the Management LPAR to provide basic
    logical partition functions:
    - Logical Partition Configuration
    - Boot, start, and stop actions for individual
    partitions
    - Display of partition status
    - Management of virtual Ethernet
    - Management of virtual Storage
    - Basic system management

    This driver is to be used for the POWER Virtual
    Management Channel Virtual Adapter on the PowerPC
    platform. It provides a character device which
    allows for both request/response and async message
    support through the /dev/ibmvmc node.

    Signed-off-by: Bryant G. Ly
    Reviewed-by: Steven Royer
    Reviewed-by: Adam Reznechek
    Reviewed-by: Randy Dunlap
    Tested-by: Taylor Jakobson
    Tested-by: Brad Warrum
    Cc: Greg Kroah-Hartman
    Cc: Arnd Bergmann
    Cc: Benjamin Herrenschmidt
    Cc: Michael Ellerman
    Signed-off-by: Greg Kroah-Hartman

    Bryant G. Ly
     

15 Mar, 2018

1 commit

  • The CPU_AT32AP700X symbol symbol went away when when AVR32 was removed
    in commit 26202873bb51 ("avr32: remove support for AVR32 architecture")

    Remove the prompt from ATMEL_TCB_CLKSRC_BLOCK. The prompt condition
    could never be satisfied now.

    Discovered with the
    https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py
    script.

    Signed-off-by: Ulf Magnusson
    Signed-off-by: Greg Kroah-Hartman

    Ulf Magnusson
     

03 Feb, 2018

1 commit

  • Pull powerpc updates from Michael Ellerman:
    "Highlights:

    - Enable support for memory protection keys aka "pkeys" on Power7/8/9
    when using the hash table MMU.

    - Extend our interrupt soft masking to support masking PMU interrupts
    as well as "normal" interrupts, and then use that to implement
    local_t for a ~4x speedup vs the current atomics-based
    implementation.

    - A new driver "ocxl" for "Open Coherent Accelerator Processor
    Interface (OpenCAPI)" devices.

    - Support for new device tree properties on PowerVM to describe
    hotpluggable memory and devices.

    - Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE to the 64-bit
    VDSO.

    - Freescale updates from Scott: fixes for CPM GPIO and an FSL PCI
    erratum workaround, plus a minor cleanup patch.

    As well as quite a lot of other changes all over the place, and small
    fixes and cleanups as always.

    Thanks to: Alan Modra, Alastair D'Silva, Alexey Kardashevskiy,
    Alistair Popple, Andreas Schwab, Andrew Donnellan, Aneesh Kumar K.V,
    Anju T Sudhakar, Anshuman Khandual, Anton Blanchard, Arnd Bergmann,
    Balbir Singh, Benjamin Herrenschmidt, Bhaktipriya Shridhar, Bryant G.
    Ly, Cédric Le Goater, Christophe Leroy, Christophe Lombard, Cyril Bur,
    David Gibson, Desnes A. Nunes do Rosario, Dmitry Torokhov, Frederic
    Barrat, Geert Uytterhoeven, Guilherme G. Piccoli, Gustavo A. R. Silva,
    Gustavo Romero, Ivan Mikhaylov, Joakim Tjernlund, Joe Perches, Josh
    Poimboeuf, Juan J. Alvarez, Julia Cartwright, Kamalesh Babulal,
    Madhavan Srinivasan, Mahesh Salgaonkar, Mathieu Malaterre, Michael
    Bringmann, Michael Hanselmann, Michael Neuling, Nathan Fontenot,
    Naveen N. Rao, Nicholas Piggin, Paul Mackerras, Philippe Bergheaud,
    Ram Pai, Russell Currey, Santosh Sivaraj, Scott Wood, Seth Forshee,
    Simon Guo, Stewart Smith, Sukadev Bhattiprolu, Thiago Jung Bauermann,
    Vaibhav Jain, Vasyl Gomonovych"

    * tag 'powerpc-4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (199 commits)
    powerpc/mm/radix: Fix build error when RADIX_MMU=n
    macintosh/ams-input: Use true and false for boolean values
    macintosh: change some data types from int to bool
    powerpc/watchdog: Print the NIP in soft_nmi_interrupt()
    powerpc/watchdog: regs can't be null in soft_nmi_interrupt()
    powerpc/watchdog: Tweak watchdog printks
    powerpc/cell: Remove axonram driver
    rtc-opal: Fix handling of firmware error codes, prevent busy loops
    powerpc/mpc52xx_gpt: make use of raw_spinlock variants
    macintosh/adb: Properly mark continued kernel messages
    powerpc/pseries: Fix cpu hotplug crash with memoryless nodes
    powerpc/numa: Ensure nodes initialized for hotplug
    powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes
    powerpc/kernel: Block interrupts when updating TIDR
    powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn
    powerpc/mm/nohash: do not flush the entire mm when range is a single page
    powerpc/pseries: Add Initialization of VF Bars
    powerpc/pseries/pci: Associate PEs to VFs in configure SR-IOV
    powerpc/eeh: Add EEH notify resume sysfs
    powerpc/eeh: Add EEH operations to notify resume
    ...

    Linus Torvalds
     

02 Feb, 2018

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here is the big pull request for char/misc drivers for 4.16-rc1.

    There's a lot of stuff in here. Three new driver subsystems were added
    for various types of hardware busses:

    - siox
    - slimbus
    - soundwire

    as well as a new vboxguest subsystem for the VirtualBox hypervisor
    drivers.

    There's also big updates from the FPGA subsystem, lots of Android
    binder fixes, the usual handful of hyper-v updates, and lots of other
    smaller driver updates.

    All of these have been in linux-next for a long time, with no reported
    issues"

    * tag 'char-misc-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (155 commits)
    char: lp: use true or false for boolean values
    android: binder: use VM_ALLOC to get vm area
    android: binder: Use true and false for boolean values
    lkdtm: fix handle_irq_event symbol for INT_HW_IRQ_EN
    EISA: Delete error message for a failed memory allocation in eisa_probe()
    EISA: Whitespace cleanup
    misc: remove AVR32 dependencies
    virt: vbox: Add error mapping for VERR_INVALID_NAME and VERR_NO_MORE_FILES
    soundwire: Fix a signedness bug
    uio_hv_generic: fix new type mismatch warnings
    uio_hv_generic: fix type mismatch warnings
    auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
    uio_hv_generic: add rescind support
    uio_hv_generic: check that host supports monitor page
    uio_hv_generic: create send and receive buffers
    uio: document uio_hv_generic regions
    doc: fix documentation about uio_hv_generic
    vmbus: add monitor_id and subchannel_id to sysfs per channel
    vmbus: fix ABI documentation
    uio_hv_generic: use ISR callback method
    ...

    Linus Torvalds
     

24 Jan, 2018

1 commit


22 Jan, 2018

1 commit


29 Nov, 2017

1 commit

  • Because Realtek card reader drivers are pcie and usb drivers,
    and they bridge mmc subsystem and memstick subsystem, they are
    not mfd drivers. Greg and Lee Jones had a discussion about
    where to put the drivers, the result is that misc is a good
    place for them, so I move all files to misc. If I don't move
    them to a right place, I can't add any patch for this driver.

    Signed-off-by: Rui Feng
    Reviewed-by: Daniel Bristot de Oliveira
    Acked-by: Arnd Bergmann
    Acked-by: Ulf Hansson
    Acked-by: Greg Kroah-Hartman
    Tested-by: Perry Yuan
    Signed-off-by: Lee Jones

    Rui Feng
     

14 Sep, 2017

1 commit

  • The Texas Instruments DAC7512 has the exact same pinout, programming
    interface and power-down modes as the Texas Instruments DAC121S101 and
    Analog Devices AD5320, which are already supported by the IIO driver
    ad5446.c. Remove the duplicate misc driver.

    This requires user space to migrate to the standardized IIO sysfs ABI.
    (In other words, it needs to change a filename.)

    The IIO driver supports the chip's features more fully, e.g. the ability
    to power down the output or choose one of the available powerdown modes.

    There is an oddity with the misc driver in that it initializes the SPI
    slave to SPI_MODE_0, in contradiction to the datasheet which specifies
    that data is latched in on the falling edge, implying that SPI_MODE_1
    or SPI_MODE_2 must be used. Another oddity is that Kconfig and the
    MODULE_DESCRIPTION() claim the chip has 16-bit resolution although it
    actually has 12-bit.

    Datasheets:
    http://www.ti.com/lit/ds/symlink/dac7512.pdf
    http://www.ti.com/lit/ds/symlink/dac121s101.pdf
    http://www.analog.com/media/en/technical-documentation/data-sheets/AD5320.pdf

    Signed-off-by: Lukas Wunner
    Acked-by: Daniel Mack
    Acked-by: Arnd Bergmann
    Signed-off-by: Jonathan Cameron

    Lukas Wunner
     

03 Jun, 2017

1 commit

  • This driver enables the LPC snoop hardware on the ASPEED BMC
    which generates an interrupt upon every write to an I/O port
    by the host.

    This is typically used to monitor BIOS boot progress by listening
    to well-known debug port 80h.

    The functionality in this commit just saves all snooped values
    to a circular 2K buffer in the kernel, subsequent commits can
    act on the values to do things with them.

    Signed-off-by: Robert Lippert
    Signed-off-by: Greg Kroah-Hartman

    Robert Lippert
     

17 May, 2017

1 commit

  • There is the following link error with CONFIG_PCI_ENDPOINT_TEST=y and
    CONFIG_CRC32=m:

    drivers/built-in.o: In function 'pci_endpoint_test_ioctl':
    pci_endpoint_test.c:(.text+0xf1251): undefined reference to 'crc32_le'
    pci_endpoint_test.c:(.text+0xf1322): undefined reference to 'crc32_le'
    pci_endpoint_test.c:(.text+0xf13b2): undefined reference to 'crc32_le'
    pci_endpoint_test.c:(.text+0xf141e): undefined reference to 'crc32_le'

    Fix this by selecting CRC32 in the PCI_ENDPOINT_TEST kconfig entry.

    Fixes: 2c156ac71c6b ("misc: Add host side PCI driver for PCI test function device")
    Signed-off-by: Tobias Regnery
    Signed-off-by: Greg Kroah-Hartman

    Tobias Regnery
     

09 May, 2017

1 commit

  • Pull PCI updates from Bjorn Helgaas:

    - add framework for supporting PCIe devices in Endpoint mode (Kishon
    Vijay Abraham I)

    - use non-postable PCI config space mappings when possible (Lorenzo
    Pieralisi)

    - clean up and unify mmap of PCI BARs (David Woodhouse)

    - export and unify Function Level Reset support (Christoph Hellwig)

    - avoid FLR for Intel 82579 NICs (Sasha Neftin)

    - add pci_request_irq() and pci_free_irq() helpers (Christoph Hellwig)

    - short-circuit config access failures for disconnected devices (Keith
    Busch)

    - remove D3 sleep delay when possible (Adrian Hunter)

    - freeze PME scan before suspending devices (Lukas Wunner)

    - stop disabling MSI/MSI-X in pci_device_shutdown() (Prarit Bhargava)

    - disable boot interrupt quirk for ASUS M2N-LR (Stefan Assmann)

    - add arch-specific alignment control to improve device passthrough by
    avoiding multiple BARs in a page (Yongji Xie)

    - add sysfs sriov_drivers_autoprobe to control VF driver binding
    (Bodong Wang)

    - allow slots below PCI-to-PCIe "reverse bridges" (Bjorn Helgaas)

    - fix crashes when unbinding host controllers that don't support
    removal (Brian Norris)

    - add driver for MicroSemi Switchtec management interface (Logan
    Gunthorpe)

    - add driver for Faraday Technology FTPCI100 host bridge (Linus
    Walleij)

    - add i.MX7D support (Andrey Smirnov)

    - use generic MSI support for Aardvark (Thomas Petazzoni)

    - make Rockchip driver modular (Brian Norris)

    - advertise 128-byte Read Completion Boundary support for Rockchip
    (Shawn Lin)

    - advertise PCI_EXP_LNKSTA_SLC for Rockchip root port (Shawn Lin)

    - convert atomic_t to refcount_t in HV driver (Elena Reshetova)

    - add CPU IRQ affinity in HV driver (K. Y. Srinivasan)

    - fix PCI bus removal in HV driver (Long Li)

    - add support for ThunderX2 DMA alias topology (Jayachandran C)

    - add ThunderX pass2.x 2nd node MCFG quirk (Tomasz Nowicki)

    - add ITE 8893 bridge DMA alias quirk (Jarod Wilson)

    - restrict Cavium ACS quirk only to CN81xx/CN83xx/CN88xx devices
    (Manish Jaggi)

    * tag 'pci-v4.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (146 commits)
    PCI: Don't allow unbinding host controllers that aren't prepared
    ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP
    MAINTAINERS: Add PCI Endpoint maintainer
    Documentation: PCI: Add userguide for PCI endpoint test function
    tools: PCI: Add sample test script to invoke pcitest
    tools: PCI: Add a userspace tool to test PCI endpoint
    Documentation: misc-devices: Add Documentation for pci-endpoint-test driver
    misc: Add host side PCI driver for PCI test function device
    PCI: Add device IDs for DRA74x and DRA72x
    dt-bindings: PCI: dra7xx: Add DT bindings to enable unaligned access
    PCI: dwc: dra7xx: Workaround for errata id i870
    dt-bindings: PCI: dra7xx: Add DT bindings for PCI dra7xx EP mode
    PCI: dwc: dra7xx: Add EP mode support
    PCI: dwc: dra7xx: Facilitate wrapper and MSI interrupts to be enabled independently
    dt-bindings: PCI: Add DT bindings for PCI designware EP mode
    PCI: dwc: designware: Add EP mode support
    Documentation: PCI: Add binding documentation for pci-test endpoint function
    ixgbe: Use pcie_flr() instead of duplicating it
    IB/hfi1: Use pcie_flr() instead of duplicating it
    PCI: imx6: Fix spelling mistake: "contol" -> "control"
    ...

    Linus Torvalds
     

28 Apr, 2017

1 commit


08 Apr, 2017

2 commits