1. 09 Jan, 2018 6 commits
    • Sergey Senozhatsky's avatar
      symbol lookup: introduce dereference_symbol_descriptor() · 04b8eb7a
      Sergey Senozhatsky authored
      dereference_symbol_descriptor() invokes appropriate ARCH specific
      function descriptor dereference callbacks:
      - dereference_kernel_function_descriptor() if the pointer is a
        kernel symbol;
      
      - dereference_module_function_descriptor() if the pointer is a
        module symbol.
      
      This is the last step needed to make '%pS/%ps' smart enough to
      handle function descriptor dereference on affected ARCHs and
      to retire '%pF/%pf'.
      
      To refresh it:
        Some architectures (ia64, ppc64, parisc64) use an indirect pointer
        for C function pointers - the function pointer points to a function
        descriptor and we need to dereference it to get the actual function
        pointer.
      
        Function descriptors live in .opd elf section and all affected
        ARCHs (ia64, ppc64, parisc64) handle it properly for kernel and
        modules. So we, technically, can decide if the dereference is
        needed by simply looking at the pointer: if it belongs to .opd
        section then we need to dereference it.
      
        The kernel and modules have their own .opd sections, obviously,
        that's why we need to split dereference_function_descriptor()
        and use separate kernel and module dereference arch callbacks.
      
      Link: http://lkml.kernel.org/r/20171206043649.GB15885@jagdpanzerIV
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: James Bottomley <jejb@parisc-linux.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jessica Yu <jeyu@kernel.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: linux-ia64@vger.kernel.org
      Cc: linux-parisc@vger.kernel.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Tested-by: Tony Luck <tony.luck@intel.com> #ia64
      Tested-by: Santosh Sivaraj <santosh@fossix.org> #powerpc
      Tested-by: Helge Deller <deller@gmx.de> #parisc64
      Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
      04b8eb7a
    • Sergey Senozhatsky's avatar
      parisc64: Add .opd based function descriptor dereference · 1705bd6a
      Sergey Senozhatsky authored
      We are moving towards separate kernel and module function descriptor
      dereference callbacks. This patch enables it for parisc64.
      
      For pointers that belong to the kernel
      -  Added __start_opd and __end_opd pointers, to track the kernel
         .opd section address range;
      
      -  Added dereference_kernel_function_descriptor(). Now we
         will dereference only function pointers that are within
         [__start_opd, __end_opd);
      
      For pointers that belong to a module
      -  Added dereference_module_function_descriptor() to handle module
         function descriptor dereference. Now we will dereference only
         pointers that are within [module->opd.start, module->opd.end).
      
      Link: http://lkml.kernel.org/r/20171109234830.5067-5-sergey.senozhatsky@gmail.com
      To: Tony Luck <tony.luck@intel.com>
      To: Fenghua Yu <fenghua.yu@intel.com>
      To: Helge Deller <deller@gmx.de>
      To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      To: Paul Mackerras <paulus@samba.org>
      To: Michael Ellerman <mpe@ellerman.id.au>
      To: James Bottomley <jejb@parisc-linux.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jessica Yu <jeyu@kernel.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: linux-ia64@vger.kernel.org
      Cc: linux-parisc@vger.kernel.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Tested-by: Helge Deller <deller@gmx.de> #parisc64
      Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
      1705bd6a
    • Sergey Senozhatsky's avatar
      powerpc64: Add .opd based function descriptor dereference · 5633e85b
      Sergey Senozhatsky authored
      We are moving towards separate kernel and module function descriptor
      dereference callbacks. This patch enables it for powerpc64.
      
      For pointers that belong to the kernel
      -  Added __start_opd and __end_opd pointers, to track the kernel
         .opd section address range;
      
      -  Added dereference_kernel_function_descriptor(). Now we
         will dereference only function pointers that are within
         [__start_opd, __end_opd);
      
      For pointers that belong to a module
      -  Added dereference_module_function_descriptor() to handle module
         function descriptor dereference. Now we will dereference only
         pointers that are within [module->opd.start, module->opd.end).
      
      Link: http://lkml.kernel.org/r/20171109234830.5067-4-sergey.senozhatsky@gmail.com
      To: Tony Luck <tony.luck@intel.com>
      To: Fenghua Yu <fenghua.yu@intel.com>
      To: Helge Deller <deller@gmx.de>
      To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      To: Paul Mackerras <paulus@samba.org>
      To: Michael Ellerman <mpe@ellerman.id.au>
      To: James Bottomley <jejb@parisc-linux.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jessica Yu <jeyu@kernel.org>
      Cc: Petr Mladek <pmladek@suse.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: linux-ia64@vger.kernel.org
      Cc: linux-parisc@vger.kernel.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: linux-kernel@vger.kernel.org
      Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
      Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Tested-by: Santosh Sivaraj <santosh@fossix.org> #powerpc
      Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
      5633e85b
    • Sergey Senozhatsky's avatar
      ia64: Add .opd based function descriptor dereference · 8e307888
      Sergey Senozhatsky authored
      We are moving towards separate kernel and module function descriptor
      dereference callbacks. This patch enables it for IA64.
      
      For pointers that belong to the kernel
      -  Added __start_opd and __end_opd pointers, to track the kernel
         .opd section address range;
      
      -  Added dereference_kernel_function_descriptor(). Now we
         will dereference only function pointers that are within
         [__start_opd, __end_opd);
      
      For pointers that belong to a module
      -  Added dereference_module_function_descriptor() to handle module
         function descriptor dereference. Now we will dereference only
         pointers that are within [module->opd.start, module->opd.end).
      
      Link: http://lkml.kernel.org/r/20171109234830.5067-3-sergey.senozhatsky@gmail.com
      To: Fenghua Yu <fenghua.yu@intel.com>
      To: Helge Deller <deller@gmx.de>
      To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      To: Paul Mackerras <paulus@samba.org>
      To: Michael Ellerman <mpe@ellerman.id.au>
      To: James Bottomley <jejb@parisc-linux.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jessica Yu <jeyu@kernel.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: linux-ia64@vger.kernel.org
      Cc: linux-parisc@vger.kernel.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Tested-by: Tony Luck <tony.luck@intel.com> #ia64
      Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
      8e307888
    • Sergey Senozhatsky's avatar
      sections: split dereference_function_descriptor() · b865ea64
      Sergey Senozhatsky authored
      There are two format specifiers to print out a pointer in symbolic
      format: '%pS/%ps' and '%pF/%pf'. On most architectures, the two
      mean exactly the same thing, but some architectures (ia64, ppc64,
      parisc64) use an indirect pointer for C function pointers, where
      the function pointer points to a function descriptor (which in
      turn contains the actual pointer to the code). The '%pF/%pf, when
      used appropriately, automatically does the appropriate function
      descriptor dereference on such architectures.
      
      The "when used appropriately" part is tricky. Basically this is
      a subtle ABI detail, specific to some platforms, that made it to
      the API level and people can be unaware of it and miss the whole
      "we need to dereference the function" business out. [1] proves
      that point (note that it fixes only '%pF' and '%pS', there might
      be '%pf' and '%ps' cases as well).
      
      It appears that we can handle everything within the affected
      arches and make '%pS/%ps' smart enough to retire '%pF/%pf'.
      Function descriptors live in .opd elf section and all affected
      arches (ia64, ppc64, parisc64) handle it properly for kernel
      and modules. So we, technically, can decide if the dereference
      is needed by simply looking at the pointer: if it belongs to
      .opd section then we need to dereference it.
      
      The kernel and modules have their own .opd sections, obviously,
      that's why we need to split dereference_function_descriptor()
      and use separate kernel and module dereference arch callbacks.
      
      This patch does the first step, it
      a) adds dereference_kernel_function_descriptor() function.
      b) adds a weak alias to dereference_module_function_descriptor()
         function.
      
      So, for the time being, we will have:
      1) dereference_function_descriptor()
         A generic function, that simply dereferences the pointer. There is
         bunch of places that call it: kgdbts, init/main.c, extable, etc.
      
      2) dereference_kernel_function_descriptor()
         A function to call on kernel symbols that does kernel .opd section
         address range test.
      
      3) dereference_module_function_descriptor()
         A function to call on modules' symbols that does modules' .opd
         section address range test.
      
      [1] https://marc.info/?l=linux-kernel&m=150472969730573
      
      Link: http://lkml.kernel.org/r/20171109234830.5067-2-sergey.senozhatsky@gmail.com
      To: Fenghua Yu <fenghua.yu@intel.com>
      To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      To: Paul Mackerras <paulus@samba.org>
      To: Michael Ellerman <mpe@ellerman.id.au>
      To: James Bottomley <jejb@parisc-linux.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jessica Yu <jeyu@kernel.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: linux-ia64@vger.kernel.org
      Cc: linux-parisc@vger.kernel.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Tested-by: Tony Luck <tony.luck@intel.com> #ia64
      Tested-by: Santosh Sivaraj <santosh@fossix.org> #powerpc
      Tested-by: Helge Deller <deller@gmx.de> #parisc64
      Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
      b865ea64
    • Joel Stanley's avatar
      openrisc: Fix conflicting types for _exext and _stext · ce666d91
      Joel Stanley authored
      The printk tree in linux-next has a patch "symbol lookup: introduce
      dereference_symbol_descriptor()" that includes sections.h in kallsyms.h,
      so arch/openrisc/kernel/traps.c gets a second extern definition for
      _etext and _stext.
      
      Remove the local definitions and include sections.h directly in
      preparation for the kallsyms.h change.
      
      This fixes the following (future) build error:
      
        CC      arch/openrisc/kernel/traps.o
      arch/openrisc/kernel/traps.c:43:13: error: conflicting types for ‘_etext’
       extern char _etext, _stext;
                   ^
      In file included from ./arch/openrisc/include/generated/asm/sections.h:1:0,
                       from ./include/linux/kallsyms.h:15,
                       from arch/openrisc/kernel/traps.c:35:
      ./include/asm-generic/sections.h:35:32: note: previous declaration of ‘_etext’ was here
       extern char _text[], _stext[], _etext[];
                                      ^
      Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
      Reviewed-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Acked-by: default avatarStafford Horne <shorne@gmail.com>
      Signed-off-by: default avatarPetr Mladek <pmladek@suse.com>
      ce666d91
  2. 08 Dec, 2017 2 commits
  3. 21 Nov, 2017 4 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk · 11ca75d2
      Linus Torvalds authored
      Pull printk updates from Petr Mladek:
      
       - print the warning about dropped messages on consoles on a separate
         line.   It makes it more legible.
      
       - one typo fix and small code clean up.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
        added new line symbol after warning about dropped messages
        printk: fix typo in printk_safe.c
        printk: simplify no_printk()
      11ca75d2
    • Linus Torvalds's avatar
      Merge tag 'fbdev-v4.15' of git://github.com/bzolnier/linux · e1d1ea54
      Linus Torvalds authored
      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
        ...
      e1d1ea54
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · c633e898
      Linus Torvalds authored
      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
      c633e898
    • Linus Torvalds's avatar
      Merge tag 'jfs-4.15-2' of git://github.com/kleikamp/linux-shaggy · bf8973fc
      Linus Torvalds authored
      Pull jfs fixlet from Dave Kleikamp:
       "Update jfs git tree in MAINTAINERS"
      
      * tag 'jfs-4.15-2' of git://github.com/kleikamp/linux-shaggy:
        MAINTAINERS: fix jfs tree location
      bf8973fc
  4. 20 Nov, 2017 4 commits
    • Jonathan Neuschäfer's avatar
      dt-bindings: trivial-devices: Remove fsl,mc13892 · def4db33
      Jonathan Neuschäfer authored
      This device's bindings are not trivial: Additional properties are
      documented in in Documentation/devicetree/bindings/mfd/mc13xxx.txt.
      Signed-off-by: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      def4db33
    • Stephen Boyd's avatar
      of: Document exactly what of_find_node_by_name() puts · 02a876b5
      Stephen Boyd authored
      It isn't clear if this function of_node_put()s the 'from'
      argument, or the node it searches. Clearly indicate which
      variable is touched. Fold in some more fixes from Randy too
      because we're in the area.
      
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      02a876b5
    • Tom Saeger's avatar
      MAINTAINERS: fix jfs tree location · 86313903
      Tom Saeger authored
      JFS tree has been moved to github.
      Signed-off-by: default avatarTom Saeger <tom.saeger@oracle.com>
      Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
      86313903
    • Linus Torvalds's avatar
      Merge tag 'ntb-4.15' of git://github.com/jonmason/ntb · c8a0739b
      Linus Torvalds authored
      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
      c8a0739b
  5. 19 Nov, 2017 20 commits
  6. 18 Nov, 2017 4 commits
    • Linus Torvalds's avatar
      clean up x86 platform driver default values · 0192f175
      Linus Torvalds authored
      The updates this merge window added several bogus default enablement for
      new features.  We don't do that.  If people want new behavior, they ask
      for it.
      
      One 'default n' was also removed as pointless.  That's great, but there
      were eight other ones in the same file that were left alone.
      
      Fix it up.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0192f175
    • Linus Torvalds's avatar
      Merge tag 'nfsd-4.15' of git://linux-nfs.org/~bfields/linux · 4dd3c2e5
      Linus Torvalds authored
      Pull nfsd updates from Bruce Fields:
       "Lots of good bugfixes, including:
      
         -  fix a number of races in the NFSv4+ state code
      
         -  fix some shutdown crashes in multiple-network-namespace cases
      
         -  relax our 4.1 session limits; if you've an artificially low limit
            to the number of 4.1 clients that can mount simultaneously, try
            upgrading"
      
      * tag 'nfsd-4.15' of git://linux-nfs.org/~bfields/linux: (22 commits)
        SUNRPC: Improve ordering of transport processing
        nfsd: deal with revoked delegations appropriately
        svcrdma: Enqueue after setting XPT_CLOSE in completion handlers
        nfsd: use nfs->ns.inum as net ID
        rpc: remove some BUG()s
        svcrdma: Preserve CB send buffer across retransmits
        nfds: avoid gettimeofday for nfssvc_boot time
        fs, nfsd: convert nfs4_file.fi_ref from atomic_t to refcount_t
        fs, nfsd: convert nfs4_cntl_odstate.co_odcount from atomic_t to refcount_t
        fs, nfsd: convert nfs4_stid.sc_count from atomic_t to refcount_t
        lockd: double unregister of inetaddr notifiers
        nfsd4: catch some false session retries
        nfsd4: fix cached replies to solo SEQUENCE compounds
        sunrcp: make function _svc_create_xprt static
        SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
        nfsd: use ARRAY_SIZE
        nfsd: give out fewer session slots as limit approaches
        nfsd: increase DRC cache limit
        nfsd: remove unnecessary nofilehandle checks
        nfs_common: convert int to bool
        ...
      4dd3c2e5
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v4.15-1' of git://git.infradead.org/linux-platform-drivers-x86 · 07c455ee
      Linus Torvalds authored
      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
        ...
      07c455ee
    • Hans de Goede's avatar
      platform/x86: silead_dmi: Add silead, home-button property to some tablets · aaa40965
      Hans de Goede authored
      Add "silead,home-button" property to entries for tablets which have
      a capacitive home button (typically a windows logo on the front).
      
      This new property is checked for by the new capacitive home button
      support in the silead touchscreen driver.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      aaa40965