16 Dec, 2017

1 commit


27 Nov, 2017

2 commits

  • Pull misc x86 fixes from Ingo Molnar:
    - topology enumeration fixes
    - KASAN fix
    - two entry fixes (not yet the big series related to KASLR)
    - remove obsolete code
    - instruction decoder fix
    - better /dev/mem sanity checks, hopefully working better this time
    - pkeys fixes
    - two ACPI fixes
    - 5-level paging related fixes
    - UMIP fixes that should make application visible faults more debuggable
    - boot fix for weird virtualization environment

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
    x86/decoder: Add new TEST instruction pattern
    x86/PCI: Remove unused HyperTransport interrupt support
    x86/umip: Fix insn_get_code_seg_params()'s return value
    x86/boot/KASLR: Remove unused variable
    x86/entry/64: Add missing irqflags tracing to native_load_gs_index()
    x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow
    x86/entry/64: Fix entry_SYSCALL_64_after_hwframe() IRQ tracing
    x86/pkeys/selftests: Fix protection keys write() warning
    x86/pkeys/selftests: Rename 'si_pkey' to 'siginfo_pkey'
    x86/mpx/selftests: Fix up weird arrays
    x86/pkeys: Update documentation about availability
    x86/umip: Print a warning into the syslog if UMIP-protected instructions are used
    x86/smpboot: Fix __max_logical_packages estimate
    x86/topology: Avoid wasting 128k for package id array
    perf/x86/intel/uncore: Cache logical pkg id in uncore driver
    x86/acpi: Reduce code duplication in mp_override_legacy_irq()
    x86/acpi: Handle SCI interrupts above legacy space gracefully
    x86/boot: Fix boot failure when SMP MP-table is based at 0
    x86/mm: Limit mmap() of /dev/mem to valid physical addresses
    x86/selftests: Add test for mapping placement for 5-level paging
    ...

    Linus Torvalds
     
  • Pull scheduler fixes from Ingo Molnar:
    "Misc fixes: a documentation fix, a Sparse warning fix and a debugging
    fix"

    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    sched/debug: Fix task state recording/printout
    sched/deadline: Don't use dubious signed bitfields
    sched/deadline: Fix the description of runtime accounting in the documentation

    Linus Torvalds
     

26 Nov, 2017

2 commits

  • Pull timer updates from Thomas Gleixner:

    - The final conversion of timer wheel timers to timer_setup().

    A few manual conversions and a large coccinelle assisted sweep and
    the removal of the old initialization mechanisms and the related
    code.

    - Remove the now unused VSYSCALL update code

    - Fix permissions of /proc/timer_list. I still need to get rid of that
    file completely

    - Rename a misnomed clocksource function and remove a stale declaration

    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (27 commits)
    m68k/macboing: Fix missed timer callback assignment
    treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
    timer: Remove redundant __setup_timer*() macros
    timer: Pass function down to initialization routines
    timer: Remove unused data arguments from macros
    timer: Switch callback prototype to take struct timer_list * argument
    timer: Pass timer_list pointer to callbacks unconditionally
    Coccinelle: Remove setup_timer.cocci
    timer: Remove setup_*timer() interface
    timer: Remove init_timer() interface
    treewide: setup_timer() -> timer_setup() (2 field)
    treewide: setup_timer() -> timer_setup()
    treewide: init_timer() -> setup_timer()
    treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
    s390: cmm: Convert timers to use timer_setup()
    lightnvm: Convert timers to use timer_setup()
    drivers/net: cris: Convert timers to use timer_setup()
    drm/vc4: Convert timers to use timer_setup()
    block/laptop_mode: Convert timers to use timer_setup()
    net/atm/mpc: Avoid open-coded assignment of timer callback function
    ...

    Linus Torvalds
     
  • Pull more Kbuild updates from Masahiro Yamada:

    - use 'pwd' instead of '/bin/pwd' for portability

    - clean up Makefiles

    - fix ld-option for clang

    - fix malloc'ed data size in Kconfig

    - fix parallel building along with coccicheck

    - fix a minor issue of package building

    - prompt to use "rpm-pkg" instead of "rpm"

    - clean up *.i and *.lst patterns by "make clean"

    * tag 'kbuild-v4.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    kbuild: drop $(extra-y) from real-objs-y
    kbuild: clean up *.i and *.lst patterns by make clean
    kbuild: rpm: prompt to use "rpm-pkg" if "rpm" target is used
    kbuild: pkg: use --transform option to prefix paths in tar
    coccinelle: fix parallel build with CHECK=scripts/coccicheck
    kconfig/symbol.c: use correct pointer type argument for sizeof
    kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
    kbuild: remove all dummy assignments to obj-
    kbuild: create built-in.o automatically if parent directory wants it
    kbuild: /bin/pwd -> pwd

    Linus Torvalds
     

25 Nov, 2017

1 commit

  • Pull KVM updates from Radim Krčmář:
    "Trimmed second batch of KVM changes for Linux 4.15:

    - GICv4 Support for KVM/ARM

    - re-introduce support for CPUs without virtual NMI (cc stable) and
    allow testing of KVM without virtual NMI on available CPUs

    - fix long-standing performance issues with assigned devices on AMD
    (cc stable)"

    * tag 'kvm-4.15-2' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (30 commits)
    kvm: vmx: Allow disabling virtual NMI support
    kvm: vmx: Reinstate support for CPUs without virtual NMI
    KVM: SVM: obey guest PAT
    KVM: arm/arm64: Don't queue VLPIs on INV/INVALL
    KVM: arm/arm64: Fix GICv4 ITS initialization issues
    KVM: arm/arm64: GICv4: Theory of operations
    KVM: arm/arm64: GICv4: Enable VLPI support
    KVM: arm/arm64: GICv4: Prevent userspace from changing doorbell affinity
    KVM: arm/arm64: GICv4: Prevent a VM using GICv4 from being saved
    KVM: arm/arm64: GICv4: Enable virtual cpuif if VLPIs can be delivered
    KVM: arm/arm64: GICv4: Hook vPE scheduling into vgic flush/sync
    KVM: arm/arm64: GICv4: Use the doorbell interrupt as an unblocking source
    KVM: arm/arm64: GICv4: Add doorbell interrupt handling
    KVM: arm/arm64: GICv4: Use pending_last as a scheduling hint
    KVM: arm/arm64: GICv4: Handle INVALL applied to a vPE
    KVM: arm/arm64: GICv4: Propagate property updates to VLPIs
    KVM: arm/arm64: GICv4: Handle MOVALL applied to a vPE
    KVM: arm/arm64: GICv4: Handle CLEAR applied to a VLPI
    KVM: arm/arm64: GICv4: Propagate affinity changes to the physical ITS
    KVM: arm/arm64: GICv4: Unmap VLPI when freeing an LPI
    ...

    Linus Torvalds
     

24 Nov, 2017

3 commits

  • Pull more drm updates from Dave Airlie:
    "Fixes/cleanups for rc1, non-desktop flags for VR

    - remove the MSM dt-bindings file Rob managed to push in the previous
    pull.

    - add a property/edid quirk to denote HMD devices, I had these
    hanging around for a few weeks and Keith had done some work on
    them, they are fairly self contained and small, and only affect
    people using HTC Vive VR headsets so far.

    - amdgpu, tegra, tilcdc, fsl fixes

    - some imx-drm cleanups I missed, these seemed pretty small, and no
    reason to hold off.

    I have one TTM regression fix (fixes bochs-vga in qemu) sitting
    locally awaiting review I'll probably send that in a separate pull
    request tomorrow"

    * tag 'drm-for-v4.15-part2' of git://people.freedesktop.org/~airlied/linux: (33 commits)
    dt-bindings: remove file that was added accidentally
    drm/edid: quirk HTC vive headset as non-desktop. [v2]
    drm/fb: add support for not enabling fbcon on non-desktop displays [v2]
    drm: add connector info/property for non-desktop displays [v2]
    drm/amdgpu: fix rmmod KCQ disable failed error
    drm/amdgpu: fix kernel hang when starting VNC server
    drm/amdgpu: don't skip attributes when powerplay is enabled
    drm/amd/pp: fix typecast error in powerplay.
    drm/tilcdc: Remove obsolete "ti,tilcdc,slave" dts binding support
    drm/tegra: sor: Reimplement pad clock
    Revert "drm/radeon: dont switch vt on suspend"
    drm/amd/amdgpu: fix over-bound accessing in amdgpu_cs_wait_any_fence
    drm/amd/powerplay: fix unfreeze level smc message for smu7
    drm/amdgpu:fix memleak
    drm/amdgpu:fix memleak in takedown
    drm/amd/pp: fix dpm randomly failed on Vega10
    drm/amdgpu: set f_mapping on exported DMA-bufs
    drm/amdgpu: Properly allocate VM invalidate eng v2
    drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
    drm/fsl-dcu: avoid disabling pixel clock twice on suspend
    ...

    Linus Torvalds
     
  • Pull documentation updates from Jonathan Corbet:
    "A few late-arriving docs updates that have no real reason to wait.

    There's a new "Co-Developed-by" tag described by Greg, and a build
    enhancement from Willy to generate docs warnings during a kernel build
    (but only when additional warnings have been requested in general)"

    * tag 'docs-4.15-2' of git://git.lwn.net/linux:
    Add optional check for bad kernel-doc comments
    Documentation: fix profile= options in kernel-parameters.txt
    documentation/svga.txt: update outdated file
    kokr/memory-barriers.txt: Fix typo in paring example
    kokr/memory-barriers/txt: Replace uses of "transitive"
    Documentation/process: add Co-Developed-by: tag for patches with multiple authors

    Linus Torvalds
     
  • …dhowells/linux-fs into next-keys

    Merge keys subsystem changes from David Howells, for v4.15.

    James Morris
     

23 Nov, 2017

4 commits

  • …ierry.reding/linux-pwm

    Pull pwm updates from Thierry Reding:
    "The changes for this release include power management improvements for
    the pwm-img driver, support for the backup mode on pwm-atmel-tcb as
    well as support for more hardware with the R-Car and Mediatek drivers.

    To round things off there's a bit of cleanup for sunxi and stm32-lp"

    * tag 'pwm/for-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
    pwm: stm32-lp: Remove pwm_is_enabled() check before calling pwm_disable()
    pwm: mediatek: Add MT2712/MT7622 support
    pwm: sunxi: Use of_device_get_match_data()
    pwm: atmel-tcb: Support backup mode
    dt-bindings: pwm: Add R-Car D3 device tree bindings
    pwm: img: Add runtime PM
    pwm: img: Add suspend / resume handling

    Linus Torvalds
     
  • Pull RTC updates from Alexandre Belloni:
    "There is nothing scary this cycle, mostly driver fixes and updates.

    The core fix has been in for a while and has been tested on multiple
    kernel revisions by multiple teams.

    Core:
    - Fix setting the alarm to the next expiring timer

    New drivers:
    - Mediatek MT7622 RTC
    - NXP PCF85363
    - Spreadtrum SC27xx PMIC RTC

    Drivers updates:
    - Use generic nvmem to expose the Non volatile ram for ds1305,
    ds1511, m48t86 and omap
    - abx80x: solve possible race condition at probe
    - armada38x: support trimming the RTC oscillator
    - at91rm9200: fix reading the alarm value at boot
    - ds1511: allow waking platform
    - m41t80: rework square wave output
    - pcf8523: support trimming the RTC oscillator
    - pcf8563: fix clock output rate
    - pl031: make interrupt optional
    - xgene: fix suspend/resume"

    * tag 'rtc-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (50 commits)
    dt-bindings: rtc: imxdi: Improve the bindings text
    rtc: sc27xx: Add Spreadtrum SC27xx PMIC RTC driver
    dt-bindings: rtc: Add Spreadtrum SC27xx RTC documentation
    rtc: at91rm9200: fix reading alarm value
    rtc: at91rm9200: stop calculating yday in at91_rtc_readalarm
    rtc: sysfs: Use time64_t variables to set time/alarm
    rtc: xgene: mark PM functions as __maybe_unused
    rtc: xgene: Fix suspend/resume
    rtc: pcf8563: don't alway enable the alarm
    rtc: pcf8563: fix output clock rate
    rtc: rx8010: Fix for incorrect return value
    rtc: rx8010: Specify correct address for RX8010_RESV31
    rtc: rx8010: Remove duplicate define
    rtc: m41t80: remove unneeded checks from m41t80_sqw_set_rate
    rtc: m41t80: avoid i2c read in m41t80_sqw_is_prepared
    rtc: m41t80: avoid i2c read in m41t80_sqw_recalc_rate
    rtc: m41t80: fix m41t80_sqw_round_rate return value
    rtc: m41t80: m41t80_sqw_set_rate should return 0 on success
    rtc: add support for NXP PCF85363 real-time clock
    rtc: omap: Support scratch registers
    ...

    Linus Torvalds
     
  • Pull MTD updates from Richard Weinberger:
    "General changes:
    - Unconfuse get_unmapped_area and point/unpoint driver methods
    - New partition parser: sharpslpart
    - Kill GENERIC_IO
    - Various fixes

    NAND changes:
    - Add a flag to mark NANDs that require 3 address cycles to encode a
    page address
    - Set a default ECC/free layout when NAND_ECC_NONE is requested
    - Fix a bug in panic_nand_write()
    - Another batch of cleanups for the denali driver
    - Fix PM support in the atmel driver
    - Remove support for platform data in the omap driver
    - Fix subpage write in the omap driver
    - Fix irq handling in the mtk driver
    - Change link order of mtk_ecc and mtk_nand drivers to speed up boot
    time
    - Change log level of ECC error messages in the mxc driver
    - Patch the pxa3xx driver to support Armada 8k platforms
    - Add BAM DMA support to the qcom driver
    - Convert gpio-nand to the GPIO desc API
    - Fix ECC handling in the mt29f driver

    SPI-NOR changes:
    - Introduce system power management support
    - New mechanism to select the proper .quad_enable() hook by JEDEC
    ID, when needed, instead of only by manufacturer ID
    - Add support to new memory parts from Gigadevice, Winbond, Macronix
    and Everspin
    - Maintainance for Cadence, Intel, Mediatek and STM32 drivers"

    * tag 'for-linus-20171120' of git://git.infradead.org/linux-mtd: (85 commits)
    mtd: Avoid probe failures when mtd->dbg.dfs_dir is invalid
    mtd: sharpslpart: Add sharpslpart partition parser
    mtd: Add sanity checks in mtd_write/read_oob()
    mtd: remove the get_unmapped_area method
    mtd: implement mtd_get_unmapped_area() using the point method
    mtd: chips/map_rom.c: implement point and unpoint methods
    mtd: chips/map_ram.c: implement point and unpoint methods
    mtd: mtdram: properly handle the phys argument in the point method
    mtd: mtdswap: fix spelling mistake: 'TRESHOLD' -> 'THRESHOLD'
    mtd: slram: use memremap() instead of ioremap()
    kconfig: kill off GENERIC_IO option
    mtd: Fix C++ comment in include/linux/mtd/mtd.h
    mtd: constify mtd_partition
    mtd: plat-ram: Replace manual resource management by devm
    mtd: nand: Fix writing mtdoops to nand flash.
    mtd: intel-spi: Add Intel Lewisburg PCH SPI super SKU PCI ID
    mtd: nand: mtk: fix infinite ECC decode IRQ issue
    mtd: spi-nor: Add support for mr25h128
    mtd: nand: mtk: change the compile sequence of mtk_nand.o and mtk_ecc.o
    mtd: spi-nor: enable 4B opcodes for mx66l51235l
    ...

    Linus Torvalds
     
  • drm/imx: various cleanups

    - Switch to drm_*_get/put() helpers
    - Use correct parallel-display connector enum: DPI instead of VGA
    - Remove incorrect unit name from device tree binding documentation example
    - Remove an unused variable

    * tag 'imx-drm-next-2017-10-18' of git://git.pengutronix.de/git/pza/linux:
    gpu: ipu-v3: ipu-dc: Remove unused 'di' variable
    dt-bindings: fsl-imx-drm: Remove incorrect "@di0" usage
    drm/imx: parallel-display: use correct connector enum
    drm/imx: switch to drm_*_get(), drm_*_put() helpers

    Dave Airlie
     

22 Nov, 2017

1 commit


21 Nov, 2017

10 commits

  • Now that CPUs that implement Memory Protection Keys are publicly
    available we can be a bit less oblique about where it is available.

    Signed-off-by: Dave Hansen
    Acked-by: Thomas Gleixner
    Cc: Andy Lutomirski
    Cc: Borislav Petkov
    Cc: Brian Gerst
    Cc: Denys Vlasenko
    Cc: H. Peter Anvin
    Cc: Josh Poimboeuf
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20171111001228.DC748A10@viggo.jf.intel.com
    Signed-off-by: Ingo Molnar

    Dave Hansen
     
  • Pull fbdev updates from Bartlomiej Zolnierkiewicz:
    "There is nothing really major here (though removal of the dead igafb
    driver stands out in diffstat).

    Summary:

    - convert timers to use timer_setup() (Kees Cook, Thierry Reding)

    - fix panels support on iMX boards in mxsfb driver (Stefan Agner)

    - fix timeout on EDID read in udlfb driver (Ladislav Michl)

    - add missing modes to fix out of bounds access in controlfb driver
    (Geert Uytterhoeven)

    - update initialisation paths in sa1100fb driver to be more robust
    (Russell King)

    - fix error handling path of ->probe method in au1200fb driver
    (Christophe JAILLET)

    - fix handling of cases when either panel or crt is defined in
    sm501fb driver (Sudip Mukherjee, Colin Ian King)

    - add ability to the Goldfish FB driver to be recognized by OS via DT
    (Aleksandar Markovic)

    - structures constifications (Bhumika Goyal)

    - misc fixes (Allen Pais, Gustavo A. R. Silva, Dan Carpenter)

    - misc cleanups (Colin Ian King, Himanshu Jha, Markus Elfring)

    - remove dead igafb driver"

    * tag 'fbdev-v4.15' of git://github.com/bzolnier/linux: (42 commits)
    OMAPFB: prevent buffer underflow in omapfb_parse_vram_param()
    video: fbdev: sm501fb: fix potential null pointer dereference on fbi
    fbcon: Initialize ops->info early
    video: fbdev: Convert timers to use timer_setup()
    video: fbdev: pxa3xx_gcu: Convert timers to use timer_setup()
    fbdev: controlfb: Add missing modes to fix out of bounds access
    video: fbdev: sis_main: mark expected switch fall-throughs
    video: fbdev: cirrusfb: mark expected switch fall-throughs
    video: fbdev: aty: radeon_pm: mark expected switch fall-throughs
    video: fbdev: sm501fb: mark expected switch fall-through in sm501fb_blank_crt
    video: fbdev: intelfb: remove redundant variables
    video/fbdev/dnfb: Use common error handling code in dnfb_probe()
    sm501fb: suspend and resume fb if it exists
    sm501fb: unregister framebuffer only if registered
    sm501fb: deallocate colormap only if allocated
    video: goldfishfb: Add support for device tree bindings
    Documentation: Add device tree binding for Goldfish FB driver
    video: udlfb: Fix read EDID timeout
    video: fbdev: remove dead igafb driver
    video: fbdev: mxsfb: fix pixelclock polarity
    ...

    Linus Torvalds
     
  • Pull DeviceTree fixes from Rob Herring:

    - Remove mc13892 as a trivial device

    - Improve of_find_node_by_name() documentation

    - Fix unit test dtc warnings

    - Clean-ups of USB binding documentation

    - Fix potential NULL deref in of_pci_map_rid

    * tag 'devicetree-fixes-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt-bindings: trivial-devices: Remove fsl,mc13892
    of: Document exactly what of_find_node_by_name() puts
    of: unittest: disable interrupts_property warning
    of: unittest: let dtc generate __local_fixups__
    dt-bindings: usb: document hub and host-controller properties
    dt-bindings: usb: clean up compatible property
    dt-bindings: usb: fix reg-property port-number range
    dt-bindings: usb: fix example hub node name
    of/pci: Fix theoretical NULL dereference

    Linus Torvalds
     
  • Improve the bindings text by doing the following changes:

    - Remove the i.MX53 reference, as the RTC on i.MX53 is a different hardware
    - Add 'clocks' to the list of required properties
    - Explain that the optional security violation irq is the second entry
    - Use the real unit address and irq numbers for i.MX25

    Signed-off-by: Fabio Estevam
    Acked-by: Juergen Borleis
    Acked-by: Rob Herring
    Signed-off-by: Alexandre Belloni

    Fabio Estevam
     
  • This device's bindings are not trivial: Additional properties are
    documented in in Documentation/devicetree/bindings/mfd/mc13xxx.txt.

    Signed-off-by: Jonathan Neuschäfer
    Reviewed-by: Fabio Estevam
    Signed-off-by: Rob Herring

    Jonathan Neuschäfer
     
  • Correctly the formatting of several additions to the profile= option
    that have been added by using and listing the choices
    for it.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • Drop CONFIG_VIDEO_400_HACK info completely.
    Drop CONFIG_VIDEO_RETAIN and CONFIG_VIDEO_LOCAL completely.
    Drop CONFIG_VIDEO_COMPACT and CONFIG_VIDEO_VESA info completely.
    Drop CONFIG_VIDEO_SVGA info since it has been removed.
    Drop chapter number & section number references since they are wrong.
    Drop (bad) ftp URL for 800x600 Thinkpad XF86Config.

    Rename CONFIG_VIDEO_GFX_HACK to VIDEO_GFX_HACK since it is not a
    Kconfig symbol. And to match the source code.

    Build options are controlled by the kernel kconfig utility.

    Signed-off-by: Randy Dunlap
    Acked-By: Martin Mares
    Cc: "H. Peter Anvin"
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • This commit applies an upstream change, commit d92f842bb30f
    ("memory-barriers.txt: Fix typo in pairing example") to the Korean
    translation.

    Signed-off-by: SeongJae Park
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • This commit applies two upstream change, commit f1ab25a30ce8
    ("memory-barriers: Replace uses of "transitive"") and commit 0902b1f44a72
    ("memory-barriers: Rework multicopy-atomicity section") to the Korean
    translation. Those two changes are applied with this signle commit
    because the second change is improvement of the first one.

    Signed-off-by: SeongJae Park
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     
  • Sometimes a single patch is the result of multiple authors. As git only
    can have one "author" of a patch, it is still good to properly give
    credit to the other developers of a commit. To address this, document
    the "Co-Developed-by:" tag which can be used to show other authors of
    the patch.

    Note, these other authors must also provide a Signed-off-by: tag as it
    is their work that is being submitted here.

    Reported-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman
    Reviewed-by: Thomas Gleixner
    Acked-by: Borislav Petkov
    Signed-off-by: Jonathan Corbet

    Greg Kroah-Hartman
     

20 Nov, 2017

1 commit

  • Pull ntb updates from Jon Mason:
    "Support for the switchtec ntb and related changes. Also, a couple of
    bug fixes"

    [ The timing isn't great. I had asked people to send me pull requests
    before my family vacation, and this code has not even been in
    linux-next as far as I can tell. But Logan Gunthorpe pleaded for its
    inclusion because the Switchtec driver has apparently been around for
    a while, just never in linux-next - Linus ]

    * tag 'ntb-4.15' of git://github.com/jonmason/ntb:
    ntb: intel: remove b2b memory window workaround for Skylake NTB
    NTB: make idt_89hpes_cfg const
    NTB: switchtec_ntb: Update switchtec documentation with notes for NTB
    NTB: switchtec_ntb: Add memory window support
    NTB: switchtec_ntb: Implement scratchpad registers
    NTB: switchtec_ntb: Implement doorbell registers
    NTB: switchtec_ntb: Add link management
    NTB: switchtec_ntb: Add skeleton NTB driver
    NTB: switchtec_ntb: Initialize hardware for doorbells and messages
    NTB: switchtec_ntb: Initialize hardware for memory windows
    NTB: switchtec_ntb: Introduce initial NTB driver
    NTB: Add check and comment for link up to mw_count() and mw_get_align()
    NTB: Ensure ntb_mw_get_align() is only called when the link is up
    NTB: switchtec: Add link event notifier callback
    NTB: switchtec: Add NTB hardware register definitions
    NTB: switchtec: Export class symbol for use in upper layer driver
    NTB: switchtec: Move structure definitions into a common header
    ntb: update maintainer list for Intel NTB driver

    Linus Torvalds
     

19 Nov, 2017

2 commits

  • The switchtec_ntb driver has a couple requirements on the switchec's
    hardware configuration so we add these notes to the documentation.

    Signed-off-by: Logan Gunthorpe
    Reviewed-by: Stephen Bates
    Reviewed-by: Kurt Schwemmer
    Acked-by: Allen Hubbe
    Signed-off-by: Jon Mason

    Logan Gunthorpe
     
  • Pull x86 platform driver updates from Andy Shevchenko:
    "Here is the collected material against Platform Drivers x86 subsystem.
    It's rather bit busy cycle for PDx86, mostly due to Dell SMBIOS driver
    activity

    For this cycle we have quite an update for the Dell SMBIOS driver
    including WMI work to provide an interface for SMBIOS tokens via sysfs
    and WMI support for 2017+ Dell laptop models. SMM dispatcher code is
    split into a separate driver followed by a new WMI dispatcher. The
    latter provides a character device interface to user space.

    The git history also contains a merge of immutable branch from Wolfram
    Sang in order to apply a dependent fix to the Intel CherryTrail
    Battery Management driver.

    Other Intel drivers got a lot of cleanups. The Turbo Boost Max 3.0
    support is added for Intel Skylake.

    Peaq WMI hotkeys driver gets its own maintainer and white list of
    supported models.

    Silead DMI is expanded to support few additional platforms.

    Tablet mode via GMMS ACPI method is added to support some ThinkPad
    tablets.

    new driver:
    - Add driver to force WMI Thunderbolt controller power status

    asus-wmi:
    - Add lightbar led support

    dell-laptop:
    - Allocate buffer before rfkill use

    dell-smbios:
    - fix string overflow
    - Add filtering support
    - Introduce dispatcher for SMM calls
    - Add a sysfs interface for SMBIOS tokens
    - only run if proper oem string is detected
    - Prefix class/select with cmd_
    - Add pr_fmt definition to driver

    dell-smbios-smm:
    - test for WSMT

    dell-smbios-wmi:
    - release mutex lock on WMI call failure
    - introduce userspace interface
    - Add new WMI dispatcher driver

    dell-smo8800:
    - remove redundant assignments to byte_data

    dell-wmi:
    - don't check length returned
    - clean up wmi descriptor check
    - increase severity of some failures
    - Do not match on descriptor GUID modalias
    - Label driver as handling notifications

    dell-*wmi*:
    - Relay failed initial probe to dependent drivers

    dell-wmi-descriptor:
    - check if memory was allocated
    - split WMI descriptor into it's own driver

    fujitsu-laptop:
    - Fix radio LED detection
    - Don't oops when FUJ02E3 is not presnt

    hp_accel:
    - Add quirk for HP ProBook 440 G4

    hp-wmi:
    - Fix tablet mode detection for convertibles

    ideapad-laptop:
    - Add Lenovo Yoga 920-13IKB to no_hw_rfkill dmi list

    intel_cht_int33fe:
    - Update fusb302 type string, add properties
    - make a couple of local functions static
    - Work around BIOS bug on some devices

    intel-hid:
    - Power button suspend on Dell Latitude 7275

    intel_ips:
    - Convert timers to use timer_setup()
    - Remove FSF address from GPL notice
    - Remove unneeded fields and label
    - Keep pointer to struct device
    - Use PCI_VDEVICE() macro
    - Switch to new PCI IRQ allocation API
    - Simplify error handling via devres API

    intel_pmc_ipc:
    - Revert Use MFD framework to create dependent devices
    - Use MFD framework to create dependent devices
    - Use spin_lock to protect GCR updates
    - Use devm_* calls in driver probe function

    intel_punit_ipc:
    - Fix resource ioremap warning

    intel_telemetry:
    - Remove useless default in Kconfig
    - Add needed inclusion
    - cleanup redundant headers
    - Fix typos
    - Fix load failure info

    intel_telemetry_debugfs:
    - Use standard ARRAY_SIZE() macro

    intel_turbo_max_3:
    - Add Skylake platform

    intel-wmi-thunderbolt:
    - Silence error cases

    mlx-platform:
    - make a couple of structures static

    peaq_wmi:
    - Fix missing terminating entry for peaq_dmi_table

    peaq-wmi:
    - Remove unnecessary checks from peaq_wmi_exit
    - Add DMI check before binding to the WMI interface
    - Revert Blacklist Lenovo ideapad 700-15ISK
    - Blacklist Lenovo ideapad 700-15ISK

    silead_dmi:
    - Add silead, home-button property to some tablets
    - Add entry for the Digma e200 tablet
    - Fix GP-electronic T701 entry
    - Add entry for the Chuwi Hi8 Pro tablet

    sony-laptop:
    - Drop variable assignment in sony_nc_setup_rfkill()
    - Fix error handling in sony_nc_setup_rfkill()

    thinkpad_acpi:
    - Implement tablet mode using GMMS method

    tools/wmi:
    - add a sample for dell smbios communication over WMI

    wmi:
    - release mutex on module acquistion failure
    - create userspace interface for drivers
    - Don't allow drivers to get each other's GUIDs
    - Add new method wmidev_evaluate_method
    - Destroy on cleanup rather than unregister
    - Cleanup exit routine in reverse order of init
    - Sort include list"

    * tag 'platform-drivers-x86-v4.15-1' of git://git.infradead.org/linux-platform-drivers-x86: (74 commits)
    platform/x86: silead_dmi: Add silead, home-button property to some tablets
    platform/x86: dell-laptop: Allocate buffer before rfkill use
    platform/x86: dell-*wmi*: Relay failed initial probe to dependent drivers
    platform/x86: dell-wmi-descriptor: check if memory was allocated
    platform/x86: Revert intel_pmc_ipc: Use MFD framework to create dependent devices
    platform/x86: dell-smbios-wmi: release mutex lock on WMI call failure
    platform/x86: wmi: release mutex on module acquistion failure
    platform/x86: dell-smbios: fix string overflow
    platform/x86: intel_pmc_ipc: Use MFD framework to create dependent devices
    platform/x86: intel_punit_ipc: Fix resource ioremap warning
    platform/x86: dell-smo8800: remove redundant assignments to byte_data
    platform/x86: hp-wmi: Fix tablet mode detection for convertibles
    platform/x86: intel_ips: Convert timers to use timer_setup()
    platform/x86: sony-laptop: Drop variable assignment in sony_nc_setup_rfkill()
    platform/x86: sony-laptop: Fix error handling in sony_nc_setup_rfkill()
    tools/wmi: add a sample for dell smbios communication over WMI
    platform/x86: dell-smbios-wmi: introduce userspace interface
    platform/x86: wmi: create userspace interface for drivers
    platform/x86: dell-smbios: Add filtering support
    platform/x86: dell-smbios-smm: test for WSMT
    ...

    Linus Torvalds
     

18 Nov, 2017

13 commits

  • Pull remoteproc updates from Bjorn Andersson:
    "This adds an interface for configuring Qualcomm's "secure SMMU" and
    adds support for booting the modem Hexagon on MSM8996.

    Two new debugfs entries are added in the remoteproc core to introspect
    the list of memory carveouts and the loaded resource table"

    * tag 'rproc-v4.15' of git://github.com/andersson/remoteproc:
    remoteproc: qcom: Fix error handling paths in order to avoid memory leaks
    remoteproc: qcom: Drop pr_err in q6v5_xfer_mem_ownership()
    remoteproc: debug: add carveouts list dump feature
    remoteproc: debug: add resource table dump feature
    remoteproc: qcom: Add support for mss remoteproc on msm8996
    remoteproc: qcom: Make secure world call for mem ownership switch
    remoteproc: qcom: refactor mss fw image loading sequence
    firmware: scm: Add new SCM call API for switching memory ownership

    Linus Torvalds
     
  • Pull rpmsg updates from Bjorn Andersson:

    - turn RPMSG_VIRTIO into a user selectable config

    - fix few bugs in GLINK

    - provide the support for specifying initial buffer sizes for GLINK
    channels.

    * tag 'rpmsg-v4.15' of git://github.com/andersson/remoteproc:
    rpmsg: glink: The mbox client knows_txdone
    rpmsg: glink: Add missing MODULE_LICENSE
    rpmsg: glink: Use best fit intent during tx
    rpmsg: glink: Add support to preallocate intents
    dt-bindings: soc: qcom: Support GLINK intents
    rpmsg: glink: Initialize the "intent_req_comp" completion variable
    rpmsg: Allow RPMSG_VIRTIO to be enabled via menuconfig or defconfig

    Linus Torvalds
     
  • Pull clk updates from Stephen Boyd:
    "We have two changes to the core framework this time around.

    The first being a large change that introduces runtime PM support to
    the clk framework. Now we properly call runtime PM operations on the
    device providing a clk when the clk is in use. This helps on SoCs
    where the clks provided by a device need something to be powered on
    before using the clks, like power domains or regulators. It also helps
    power those things down when clks aren't in use.

    The other core change is a devm API addition for clk providers so we
    can get rid of a bunch of clk driver remove functions that are just
    doing of_clk_del_provider().

    Outside of the core, we have the usual addition of clk drivers and
    smattering of non-critical fixes to existing drivers. The biggest diff
    is support for Mediatek MT2712 and MT7622 SoCs, but those patches
    really just add a bunch of data.

    By the way, we're trying something new here where we build the tree up
    with topic branches. We plan to work this into our workflow so that we
    don't step on each other's toes, and so the fixes branch can be merged
    on an as-needed basis.

    Summary:

    Core:
    - runtime PM support for clk providers
    - devm API for of_clk_add_hw_provider()

    New Drivers:
    - Mediatek MT2712 and MT7622
    - Renesas R-Car V3M SoC

    Updates:
    - runtime PM support for Samsung exynos5433/exynos4412 providers
    - removal of clkdev aliases on Samsung SoCs
    - convert clk-gpio to use gpio descriptors
    - various driver cleanups to match kernel coding style
    - Amlogic Video Processing Unit VPU and VAPB clks
    - sigma-delta modulation for Allwinner audio PLLs
    - Allwinner A83t Display clks
    - support for the second display unit clock on Renesas RZ/G1E
    - suspend/resume support for Renesas R-Car Gen3 CPG/MSSR
    - new clock ids for Rockchip rk3188 and rk3368 SoCs
    - various 'const' markings on clk_ops structures
    - RPM clk support on Qualcomm MSM8996/MSM8660 SoCs"

    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (137 commits)
    clk: stm32h7: fix test of clock config
    clk: pxa: fix building on older compilers
    clk: sunxi-ng: a83t: Fix i2c buses bits
    clk: ti: dra7-atl-clock: fix child-node lookups
    clk: qcom: common: fix legacy board-clock registration
    clk: uniphier: fix DAPLL2 clock rate of Pro5
    clk: uniphier: fix parent of miodmac clock data
    clk: hi3798cv200: correct parent mux clock for 'clk_sdio0_ciu'
    clk: hisilicon: Delete an error message for a failed memory allocation in hisi_register_clkgate_sep()
    clk: hi3660: fix incorrect uart3 clock freqency
    clk: kona-setup: Delete error messages for failed memory allocations
    ARC: clk: fix spelling mistake: "configurarion" -> "configuration"
    clk: cdce925: remove redundant check for non-null parent_name
    clk: versatile: Improve sizeof() usage
    clk: versatile: Delete error messages for failed memory allocations
    clk: ux500: Improve sizeof() usage
    clk: ux500: Delete error messages for failed memory allocations
    clk: spear: Delete error messages for failed memory allocations
    clk: ti: Delete error messages for failed memory allocations
    clk: mmp: Adjust checks for NULL pointers
    ...

    Linus Torvalds
     
  • Most places use pwd and rely on $PATH lookup. Moving the remaining
    absolute path /bin/pwd users over for consistency.

    Also, a reason for doing /bin/pwd -> pwd instead of the other way around
    is because I believe build systems should make little assumptions on
    host filesystem layout. Case in point, we do this kind of patching
    already in NixOS.

    Ref. commit 028568d84da3cfca49f5f846eeeef01441d70451
    ("kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)").

    Signed-off-by: Bjørn Forsman
    Signed-off-by: Masahiro Yamada

    Bjørn Forsman
     
  • …asahiroy/linux-kbuild

    Pull Kbuild misc updates from Masahiro Yamada:

    - Clean up and fix RPM package build

    - Fix a warning in DEB package build

    - Improve coccicheck script

    - Improve some semantic patches

    * tag 'kbuild-misc-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    docs: dev-tools: coccinelle: delete out of date wiki reference
    coccinelle: orplus: reorganize to improve performance
    coccinelle: use exists to improve efficiency
    builddeb: Pass the kernel:debarch substvar to dpkg-genchanges
    Coccinelle: use false positive annotation
    coccinelle: fix verbose message about .cocci file being run
    coccinelle: grep Options and Requires fields more precisely
    Coccinelle: make DEBUG_FILE option more useful
    coccinelle: api: detect identical chip data arrays
    coccinelle: Improve setup_timer.cocci matching
    Coccinelle: setup_timer: improve messages from setup_timer
    kbuild: rpm-pkg: do not force -jN in submake
    kbuild: rpm-pkg: keep spec file until make mrproper
    kbuild: rpm-pkg: fix jobserver unavailable warning
    kbuild: rpm-pkg: replace $RPM_BUILD_ROOT with %{buildroot}
    kbuild: rpm-pkg: fix build error when CONFIG_MODULES is disabled
    kbuild: rpm-pkg: refactor mkspec with here doc
    kbuild: rpm-pkg: clean up mkspec
    kbuild: rpm-pkg: install vmlinux.bz2 unconditionally
    kbuild: rpm-pkg: remove ppc64 specific image handling

    Linus Torvalds
     
  • Merge more updates from Andrew Morton:

    - a bit more MM

    - procfs updates

    - dynamic-debug fixes

    - lib/ updates

    - checkpatch

    - epoll

    - nilfs2

    - signals

    - rapidio

    - PID management cleanup and optimization

    - kcov updates

    - sysvipc updates

    - quite a few misc things all over the place

    * emailed patches from Andrew Morton : (94 commits)
    EXPERT Kconfig menu: fix broken EXPERT menu
    include/asm-generic/topology.h: remove unused parent_node() macro
    arch/tile/include/asm/topology.h: remove unused parent_node() macro
    arch/sparc/include/asm/topology_64.h: remove unused parent_node() macro
    arch/sh/include/asm/topology.h: remove unused parent_node() macro
    arch/ia64/include/asm/topology.h: remove unused parent_node() macro
    drivers/pcmcia/sa1111_badge4.c: avoid unused function warning
    mm: add infrastructure for get_user_pages_fast() benchmarking
    sysvipc: make get_maxid O(1) again
    sysvipc: properly name ipc_addid() limit parameter
    sysvipc: duplicate lock comments wrt ipc_addid()
    sysvipc: unteach ids->next_id for !CHECKPOINT_RESTORE
    initramfs: use time64_t timestamps
    drivers/watchdog: make use of devm_register_reboot_notifier()
    kernel/reboot.c: add devm_register_reboot_notifier()
    kcov: update documentation
    Makefile: support flag -fsanitizer-coverage=trace-cmp
    kcov: support comparison operands collection
    kcov: remove pointless current != NULL check
    kernel/panic.c: add TAINT_AUX
    ...

    Linus Torvalds
     
  • The updated documentation describes new KCOV mode for collecting
    comparison operands.

    Link: http://lkml.kernel.org/r/20171011095459.70721-3-glider@google.com
    Signed-off-by: Victor Chibotaru
    Signed-off-by: Alexander Potapenko
    Cc: Dmitry Vyukov
    Cc: Andrey Konovalov
    Cc: Mark Rutland
    Cc: Alexander Popov
    Cc: Andrey Ryabinin
    Cc: Kees Cook
    Cc: Vegard Nossum
    Cc: Quentin Casasnovas
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Victor Chibotaru
     
  • Link: http://lkml.kernel.org/r/CAKW4uUyCi=PnKf3epgFVz8z=1tMtHSOHNm+fdNxrNw3-THvRCA@mail.gmail.com
    Signed-off-by: Kangmin Park
    Cc: Jiri Kosina
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kangmin Park
     
  • Fix minor typo.

    Fix missing words in explaining parsing of last line number.

    Link: http://lkml.kernel.org/r/ebb7ff42-4945-103f-d5b4-f07a6f3343a7@infradead.org
    Signed-off-by: Randy Dunlap
    Cc: Jason Baron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • I like _ONCE warnings because it's guaranteed that they don't flood the
    log.

    During testing I find it useful to reset the state of the once warnings,
    so that I can rerun tests and see if they trigger again, or can
    guarantee that a test run always hits the same warnings.

    This patch adds a debugfs interface to reset all the _ONCE warnings so
    that they appear again:

    echo 1 > /sys/kernel/debug/clear_warn_once

    This is implemented by putting all the warning booleans into a special
    section, and clearing it.

    [akpm@linux-foundation.org: coding-style fixes]
    Link: http://lkml.kernel.org/r/20171017221455.6740-1-andi@firstfloor.org
    Signed-off-by: Andi Kleen
    Tested-by: Michael Ellerman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Right now there is no convenient way to check if a process is being
    coredumped at the moment.

    It might be necessary to recognize such state to prevent killing the
    process and getting a broken coredump. Writing a large core might take
    significant time, and the process is unresponsive during it, so it might
    be killed by timeout, if another process is monitoring and
    killing/restarting hanging tasks.

    We're getting a significant number of corrupted coredump files on
    machines in our fleet, just because processes are being killed by
    timeout in the middle of the core writing process.

    We do have a process health check, and some agent is responsible for
    restarting processes which are not responding for health check requests.
    Writing a large coredump to the disk can easily exceed the reasonable
    timeout (especially on an overloaded machine).

    This flag will allow the agent to distinguish processes which are being
    coredumped, extend the timeout for them, and let them produce a full
    coredump file.

    To provide an ability to detect if a process is in the state of being
    coredumped, we can expose a boolean CoreDumping flag in
    /proc/pid/status.

    Example:
    $ cat core.sh
    #!/bin/sh

    echo "|/usr/bin/sleep 10" > /proc/sys/kernel/core_pattern
    sleep 1000 &
    PID=$!

    cat /proc/$PID/status | grep CoreDumping
    kill -ABRT $PID
    sleep 1
    cat /proc/$PID/status | grep CoreDumping

    $ ./core.sh
    CoreDumping: 0
    CoreDumping: 1

    [guro@fb.com: document CoreDumping flag in /proc//status]
    Link: http://lkml.kernel.org/r/20170928135357.GA8470@castle.DHCP.thefacebook.com
    Link: http://lkml.kernel.org/r/20170920230634.31572-1-guro@fb.com
    Signed-off-by: Roman Gushchin
    Cc: Alexander Viro
    Cc: Ingo Molnar
    Cc: Konstantin Khlebnikov
    Cc: Oleg Nesterov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roman Gushchin
     
  • Pull two power management fixes from Rafael Wysocki:
    "This is the change making /proc/cpuinfo on x86 report current CPU
    frequency in "cpu MHz" again in all cases and an additional one
    dealing with an overzealous check in one of the helper routines in the
    runtime PM framework"

    * tag 'pm-fixes-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    PM / runtime: Drop children check from __pm_runtime_set_status()
    x86 / CPU: Always show current CPU frequency in /proc/cpuinfo

    Linus Torvalds
     
  • Pull amdgpu DC display code for Vega from Dave Airlie:
    "This is the pull request for the AMD DC (display code) layer which is
    a requirement to program the display engines on the new Vega and Raven
    based GPUs. It also contains support for all amdgpu supported GPUs
    (CIK, VI, Polaris), which has to be enabled. It is also a kms atomic
    modesetting compatible driver (unlike the current in-tree display
    code).

    I've kept it separate from drm-next because it may have some things
    that cause you to reject it.

    Background story:

    AMD have an internal team creating a shared OS codebase for display at
    hw bring up time using information from their hardware teams. This
    process doesn't lead to the most Linux friendly/looking code but we
    have worked together on cleaning a lot of it up and dealing with
    sparse/smatch/checkpatch, and having their team internally adhere to
    Linux coding standards.

    This tree is a complete history rebased since they started opening it,
    we decided not to squash it down as the history may have some value.
    Some of the commits therefore might not reach kernel standards, and we
    are steadily training people in AMD to better write commit msgs.

    There is a major bunch of generated bandwidth calculation and
    verification code that comes from their hardware team. On Vega and
    before this is float calculations, on Raven (DCN10) this is double
    based. They do the required things to do FP in the kernel, and I could
    understand this might raise some issues. Rewriting the bandwidth would
    be a major undertaken in reverification, it's non-trivial to work out
    if a display can handle the complete set of mode information thrown at
    it.

    Future story:

    There is a TODO list with this, and it address most of the remaining
    things that would be nice to refine/remove. The DCN10 code is still
    under development internally and they push out a lot of patches quite
    regularly and are supporting this code base with their display team. I
    think we've reached the point where keeping it out of tree is going to
    motivate distributions to start carrying the code, so I'd prefer we
    get it in tree. I think this code is slightly better than STAGING
    quality but not massively so, I'd really like to see that float/double
    magic gone and fixed point used, but AMD don't seem to think the
    accuracy and revalidation of the code is worth the effort"

    * tag 'drm-for-v4.15-amd-dc' of git://people.freedesktop.org/~airlied/linux: (1110 commits)
    drm/amd/display: fix MST link training fail division by 0
    drm/amd/display: Fix formatting for null pointer dereference fix
    drm/amd/display: Remove dangling planes on dc commit state
    drm/amd/display: add flip_immediate to commit update for stream
    drm/amd/display: Miss register MST encoder cbs
    drm/amd/display: Fix warnings on S3 resume
    drm/amd/display: use num_timing_generator instead of pipe_count
    drm/amd/display: use configurable FBC option in dm
    drm/amd/display: fix AZ clock not enabled before program AZ endpoint
    amdgpu/dm: Don't use DRM_ERROR in amdgpu_dm_atomic_check
    amd/display: Fix potential null dereference in dce_calcs.c
    amdgpu/dm: Remove unused forward declaration
    drm/amdgpu: Remove unused dc_stream from amdgpu_crtc
    amdgpu/dc: Fix double unlock in amdgpu_dm_commit_planes
    amdgpu/dc: Fix missing null checks in amdgpu_dm.c
    amdgpu/dc: Fix potential null dereferences in amdgpu_dm.c
    amdgpu/dc: fix more indentation warnings
    amdgpu/dc: handle allocation failures in dc_commit_planes_to_stream.
    amdgpu/dc: fix indentation warning from smatch.
    amdgpu/dc: fix non-ansi function decls.
    ...

    Linus Torvalds