1. 25 Jan, 2017 18 commits
    • Dave Gerlach's avatar
      misc: sram: Integrate protect-exec reserved sram area type · 37afff0d
      Dave Gerlach authored
      Introduce a new "protect-exec" reserved sram area type which is
      makes use of the the existing functionality provided for the "pool"
      sram region type for use with the genalloc framework and with the
      added requirement that it be maintained as read-only and executable
      while allowing for an arbitrary number of drivers to share the space.
      
      This introduces a common way to maintain a region of sram as read-only
      and executable and also introduces a helper function, sram_exec_copy,
      which allows for copying data to this protected region while maintaining
      locking to avoid conflicts between multiple users of the same space. A
      region of memory that is marked with the "protect-exec" flag in the
      device tree also has the requirement of providing a page aligned block
      of memory so that the page attribute manipulation does not affect
      surrounding regions.
      
      Also, selectively enable this only for builds that support set_memory_*
      calls, for now just ARM, through the use of Kconfig.
      Signed-off-by: default avatarDave Gerlach <d-gerlach@ti.com>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      37afff0d
    • Dave Gerlach's avatar
      misc: sram: Introduce support code for protect-exec sram type · 728bbe75
      Dave Gerlach authored
      Some platforms, like many ARM SoCs, require the ability to run code from
      on-chip memory like SRAM for tasks like reconfiguring the SDRAM
      controller or entering low-power sleep modes. In order to do this we
      must be able to allocate memory that the code can be copied to but then
      change the mapping to be read-only and executable so that no memory is
      both writable and executable at the same time to avoid opening any
      unneccesary security holes.
      
      By using the existing "pool" partition type that the SRAM driver allows
      we can create a memory space that will already be exposed by the
      genalloc framework to allow for allocating memory but we must extend
      this to meet the executable requirements. By making use of various
      set_memory_* APIs we can change the attributes of pages to make them
      writable for code upload but then read-only and executable when we want
      to actually run code.  Because SRAM is a shared resource we need a
      centralized manager of these set memory calls. Because the SRAM driver
      itself is responsible for allocating the memory we can introduce a
      sram_copy_exec API for the driver that works like memcpy but also
      manages the page attributes and locking to allow multiple users of the
      same SRAM space to all copy their code over independent of other each
      before starting execution.
      
      It is maintained in a separate file from the core SRAM driver to allow
      it to be selectively built depending on whether or not a platform has
      the appropriate set_memory_* APIs. A future patch will integrate it with
      the core SRAM driver.
      Signed-off-by: default avatarDave Gerlach <d-gerlach@ti.com>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      728bbe75
    • Dave Gerlach's avatar
      misc: sram: Split sram data structures into local header · cdd1737c
      Dave Gerlach authored
      In preparation of a coming file split of the sram driver, move the
      common data structures into a local header file that can be shared
      between files related to the sram driver.
      Signed-off-by: default avatarDave Gerlach <d-gerlach@ti.com>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cdd1737c
    • Andrew F. Davis's avatar
      w1: Fixup source file headers · 8a0934bf
      Andrew F. Davis authored
      Remove filename from file, this is not done anymore as it doesn't
      add anything and usually is incorrect as filename change often.
      
      Also shorten the GPL to the more common address-less version and
      remove excess white-space.
      Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8a0934bf
    • Maciej S. Szmigiero's avatar
      w1: don't leak refcount on slave attach failure in w1_attach_slave_device() · d2ce4ea1
      Maciej S. Szmigiero authored
      Near the beginning of w1_attach_slave_device() we increment a w1 master
      reference count.
      Later, when we are going to exit this function without actually attaching
      a slave device (due to failure of __w1_attach_slave_device()) we need to
      decrement this reference count back.
      Signed-off-by: default avatarMaciej S. Szmigiero <mail@maciej.szmigiero.name>
      Cc: stable@vger.kernel.org
      Fixes: 9fcbbac5 ("w1: process w1 netlink commands in w1_process thread")
      Cc: Evgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d2ce4ea1
    • Maciej S. Szmigiero's avatar
      w1: add DS2405 addressable switch driver · dd6478d6
      Maciej S. Szmigiero authored
      This adds a driver for a DS2405 1-wire single-channel addressable switch.
      The DS2405 can also work as a single-channel binary remote sensor.
      
      This driver supports two attributes: "state" and "output" which are the
      same attribute names as supported by existing DS2406, DS2408 and DS2413
      drivers.
      Signed-off-by: default avatarMaciej S. Szmigiero <mail@maciej.szmigiero.name>
      Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dd6478d6
    • Maciej S. Szmigiero's avatar
      w1: ds2490: USB transfer buffers need to be DMAable · 61cd1b4c
      Maciej S. Szmigiero authored
      ds2490 driver was doing USB transfers from / to buffers on a stack.
      This is not permitted and made the driver non-working with vmapped stacks.
      
      Since all these transfers are done under the same bus_mutex lock we can
      simply use shared buffers in a device private structure for two most common
      of them.
      
      While we are at it, let's also fix a comparison between int and size_t in
      ds9490r_search() which made the driver spin in this function if state
      register get requests were failing.
      Signed-off-by: default avatarMaciej S. Szmigiero <mail@maciej.szmigiero.name>
      Cc: stable <stable@vger.kernel.org>
      Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      61cd1b4c
    • Christophe JAILLET's avatar
      w1: omap_hdq: Free resources on error path · 8333eb15
      Christophe JAILLET authored
      In case of error returned by '_omap_hdq_reset()', free resources as done
      elsewhere in this function.
      
      This patch slighly changes the semantic of the code. It now propagates the
      error code returned by '_omap_hdq_reset()' instead of returning -EINVAL
      unconditionally.
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8333eb15
    • Mathieu Poirier's avatar
      coresight: etm4x: Fix timestamp configuration when working from perf · 27a7e2a7
      Mathieu Poirier authored
      When using the ETM4x tracers from the perf interface two trace options are
      available: cycle accurate and timestamp.
      
      Enabling the timestamp feature is done by setting TRCCONFIGR.TS (bit 11).
      The position of the timestamp bit in that register coincidentally happens
      to be the same as what was chosen to enable timestamping from the 'mode'
      sysFS entry.  The code does the right thing but the semantic is wrong.
      
      This patch sets TRCCONFIGR.TS explicitly, as it is done from the sysFS
      interface.  That way timestamps are set the same way from both perf and
      sysFS and there is no misunderstanding as to what is intended.
      Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      27a7e2a7
    • Mike Leach's avatar
      coresight: etm4x: Fix enabling of cycle accurate tracing in perf. · ae3fabcd
      Mike Leach authored
      Using perf record 'cyclacc' option in cs_etm event was not setting up cycle
      accurate trace correctly.
      
      Corrects bit set in TRCCONFIGR to enable cycle accurate trace.
      Programs TRCCCCTLR with a valid threshold value as required by ETMv4 spec.
      Signed-off-by: default avatarMike Leach <mike.leach@linaro.org>
      Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ae3fabcd
    • Wang Nan's avatar
      coresight: fix kernel panic caused by invalid CPU · f0944463
      Wang Nan authored
      Commit d52c9750 ("coresight: reset "enable_sink" flag when need be")
      caused a kernel panic because of the using of an invalid value: after
      'for_each_cpu(cpu, mask)', value of local variable 'cpu' become invalid,
      causes following 'cpu_to_node' access invalid memory area.
      
      This patch brings the deleted 'cpu = cpumask_first(mask)' back.
      
      Panic log:
      
       $ perf record -e cs_etm// ls
      
       Unable to handle kernel paging request at virtual address fffe801804af4f10
       pgd = ffff8017ce031600
       [fffe801804af4f10] *pgd=0000000000000000, *pud=0000000000000000
       Internal error: Oops: 96000004 [#1] SMP
       Modules linked in:
       CPU: 33 PID: 1619 Comm: perf Not tainted 4.7.1+ #16
       Hardware name: Huawei Taishan 2280 /CH05TEVBA, BIOS 1.10 11/24/2016
       task: ffff8017cb0c8400 ti: ffff8017cb154000 task.ti: ffff8017cb154000
       PC is at tmc_alloc_etf_buffer+0x60/0xd4
       LR is at tmc_alloc_etf_buffer+0x44/0xd4
       pc : [<ffff000008633df8>] lr : [<ffff000008633ddc>] pstate: 60000145
       sp : ffff8017cb157b40
       x29: ffff8017cb157b40 x28: 0000000000000000
       ...skip...
       7a60: ffff000008c64dc8 0000000000000006 0000000000000253 ffffffffffffffff
       7a80: 0000000000000000 0000000000000000 ffff0000080872cc 0000000000000001
       [<ffff000008633df8>] tmc_alloc_etf_buffer+0x60/0xd4
       [<ffff000008632b9c>] etm_setup_aux+0x1dc/0x1e8
       [<ffff00000816eed4>] rb_alloc_aux+0x2b0/0x338
       [<ffff00000816a5e4>] perf_mmap+0x414/0x568
       [<ffff0000081ab694>] mmap_region+0x324/0x544
       [<ffff0000081abbe8>] do_mmap+0x334/0x3e0
       [<ffff000008191150>] vm_mmap_pgoff+0xa4/0xc8
       [<ffff0000081a9a30>] SyS_mmap_pgoff+0xb0/0x22c
       [<ffff0000080872e4>] sys_mmap+0x18/0x28
       [<ffff0000080843f0>] el0_svc_naked+0x24/0x28
       Code: 912040a5 d0001c00 f873d821 911c6000 (b8656822)
       ---[ end trace 98933da8f92b0c9a ]---
      Signed-off-by: default avatarWang Nan <wangnan0@huawei.com>
      Cc: Xia Kaixu <xiakaixu@huawei.com>
      Cc: Li Zefan <lizefan@huawei.com>
      Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Fixes: d52c9750 ("coresight: reset "enable_sink" flag when need be")
      Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
      Cc: stable <stable@vger.kernel.org> # 4.10
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f0944463
    • Stefano Babic's avatar
      VME: restore bus_remove function causing incomplete module unload · 9797484b
      Stefano Babic authored
      Commit 050c3d52 ("vme: make core
      vme support explicitly non-modular") dropped the remove function
      because it appeared as if it was for removal of the bus, which is
      not supported.
      
      However, vme_bus_remove() is called when a VME device is removed
      from the bus and not when the bus is removed; as it calls the VME
      device driver's cleanup function.  Without this function, the
      remove() in the VME device driver is never called and VME device
      drivers cannot be reloaded again.
      
      Here we restore the remove function that was deleted in that
      commit, and the reference to the function in the bus structure.
      
      Fixes: 050c3d52 ("vme: make core vme support explicitly non-modular")
      Cc: Manohar Vanga <manohar.vanga@gmail.com>
      Acked-by: default avatarMartyn Welch <martyn@welchs.me.uk>
      Cc: devel@driverdev.osuosl.org
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: stable <stable@vger.kernel.org> # 4.9
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9797484b
    • Juerg Haefliger's avatar
      lkdtm: Fix Oops when unloading the module · 9ba60573
      Juerg Haefliger authored
      No jprobe is registered when the module is loaded without specifying a
      crashpoint that uses a jprobe. At the moment, we unconditionally try to
      unregister the jprobe on module unload which results in an Oops. Add a
      check to fix this.
      Signed-off-by: default avatarJuerg Haefliger <juerg.haefliger@hpe.com>
      Acked-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9ba60573
    • Julia Lawall's avatar
      eeprom: fix platform_no_drv_owner.cocci warnings · 8ade6039
      Julia Lawall authored
      No need to set .owner here. The core will do it.
      
      Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
      
      CC: Serge Semin <fancer.lancer@gmail.com>
      Signed-off-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
      Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8ade6039
    • Colin Ian King's avatar
      eeprom: fix memory leak on buf when failed allocation of csraddr_str · acf50ec7
      Colin Ian King authored
      The error return path When csraddr_str fails to free buf, causing a
      memory leak. Fix this by returning via the free_buf label that
      performs the necessary cleanup.
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      acf50ec7
    • Michal Simek's avatar
      char: xilinx_hwicap: Remove pointless local variables · 3c84dc7e
      Michal Simek authored
      Remove unused variables which generates these warnings:
      [linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c:301]: (style)
      Variable 'num_writes' is modified but its new value is never used.
      [linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c:356]: (style)
      Variable 'read_count' is modified but its new value is never used.
      Reported-by: default avatarDavid Binderman <dcb314@hotmail.com>
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3c84dc7e
    • Greg Kroah-Hartman's avatar
      Merge tag 'extcon-next-for-4.11' of... · 36bebcff
      Greg Kroah-Hartman authored
      Merge tag 'extcon-next-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon into char-misc-next
      
      Chanwoo writes:
      
      Update extcon for 4.11
      
      Detailed description for this pull request:
      1. Add the new extcon driver.
      - Intel INT3496 ACPI USB id detection driver detects whether
        EXTCON_USB_HOST is attached or detached. (extcon-intel-int3496.c)
      
      2. Add the new type of external connector.
      - EXTCON_CHG_USB_PD (USB Power Delivery) provides the increased
        power more than 7.5W to device with larger power demand.
      
      3. Add the description for EXTCON_CHG_USB_(SDP|ACA|SLOW|FAST)
      - EXTCON_CHG_USB_SDP should always appear together with EXTCON_USB
      - EXTCON_CHG_USB_ACA would normally appear with EXTCON_USB_HOST.
      - EXTCON_CHG_USB_SLOW can provide at least 500mA of current at 5V
      - EXTCON_CHG_USB_FAST can provide at least 1A of current at 5V.
      
      4. Modify the connector name of EXTCON_USB_HOST
      - "USB_HOST" -> "USB-HOST"
      
      5. Update the extcon core
      - Move the private extcon structure into driver/extcon directory.
        The 'struct extcon_dev' should be only handled by extcon core
        to prevent the direct access and to maintain the integrity of it.
      - Remove the ambigous operation of extcon_register_notifier()
        in case of the 'extcon_dev' instance is NULL. The user of
        extcon_register_notifier() have to specify the correct instance
        of the provider extcon driver.
      
      6. Update the extcon drivers and fix the minor issues
      - Update the extcon-axp288 driver to remove the unncessary code.
      - Add pinctrl operation during suspend mode to extcon-usb-gpio driver.
      - Clean up the extcon-arizona/adc-jack driver.
      - Use the dev_dbg() for debug messsage on extcon-palmas driver.
      - Return the error code on failure of extcon_sync()
      36bebcff
    • Roger Quadros's avatar
      extcon: palmas: Use dev_dbg macro for the debug messages · 567ab5a8
      Roger Quadros authored
      User is not interested in USB cable events appearing on the
      console. Use dev_dbg() instead of dev_info() for these events.
      Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
      567ab5a8
  2. 20 Jan, 2017 16 commits
  3. 19 Jan, 2017 6 commits
    • Arnd Bergmann's avatar
      lkdtm: hide stack overflow warning for corrupt-stack test · 7a11a1d1
      Arnd Bergmann authored
      After the latest change to make sure the compiler actually does a memset,
      it is now smart enough to flag the stack overflow at compile time,
      at least with gcc-7.0:
      
      drivers/misc/lkdtm_bugs.c: In function 'lkdtm_CORRUPT_STACK':
      drivers/misc/lkdtm_bugs.c:88:144: warning: 'memset' writing 64 bytes into a region of size 8 overflows the destination [-Wstringop-overflow=]
      
      To outsmart the compiler again, this moves the memset into a noinline
      function where (for now) it doesn't see that we intentionally write
      broken code here.
      
      Fixes: c55d2400 ("lkdtm: Prevent the compiler from optimising lkdtm_CORRUPT_STACK()")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7a11a1d1
    • Suzuki K Poulose's avatar
      coresight: STM: Balance enable/disable · 4474f4c4
      Suzuki K Poulose authored
      The stm is automatically enabled when an application sets the policy
      via ->link() call back by using coresight_enable(), which keeps the
      refcount of the current users of the STM. However, the unlink() callback
      issues stm_disable() directly, which leaves the STM turned off, without
      the coresight layer knowing about it. This prevents any further uses
      of the STM hardware as the coresight layer still thinks the STM is
      turned on and doesn't enable the hardware when required. Even manually
      enabling the STM via sysfs can't really enable the hw.
      
      e.g,
      
       $ echo 1 > $CS_DEVS/$ETR/enable_sink
       $ mkdir -p $CONFIG_FS/stp-policy/$source.0/stm_test/
       $ echo 32768 65535 > $CONFIG_FS/stp-policy/$source.0/stm_test/channels
       $ echo 64 > $CS_DEVS/$source/traceid
       $ ./stm_app
       Sending 64000 byte blocks of pattern 0 at 0us intervals
       Success to map channel(32768~32783) to 0xffffa95fa000
       Sending on channel 32768
       $ dd if=/dev/$ETR of=~/trace.bin.1
       597+1 records in
       597+1 records out
       305920 bytes (306 kB) copied, 0.399952 s, 765 kB/s
       $ ./stm_app
       Sending 64000 byte blocks of pattern 0 at 0us intervals
       Success to map channel(32768~32783) to 0xffff7e9e2000
       Sending on channel 32768
       $ dd if=/dev/$ETR of=~/trace.bin.2
       0+0 records in
       0+0 records out
       0 bytes (0 B) copied, 0.0232083 s, 0.0 kB/s
      
       Note that we don't get any data from the ETR for the second session.
      
       Also dmesg shows :
      
       [   77.520458] coresight-tmc 20800000.etr: TMC-ETR enabled
       [   77.537097] coresight-replicator etr_replicator@20890000: REPLICATOR enabled
       [   77.558828] coresight-replicator main_replicator@208a0000: REPLICATOR enabled
       [   77.581068] coresight-funnel 208c0000.main_funnel: FUNNEL inport 0 enabled
       [   77.602217] coresight-tmc 20840000.etf: TMC-ETF enabled
       [   77.618422] coresight-stm 20860000.stm: STM tracing enabled
       [  139.554252] coresight-stm 20860000.stm: STM tracing disabled
        # End of first tracing session
       [  146.351135] coresight-tmc 20800000.etr: TMC read start
       [  146.514486] coresight-tmc 20800000.etr: TMC read end
        # Note that the STM is not turned on via stm_generic_link()->coresight_enable()
        # and hence none of the components are turned on.
       [  152.479080] coresight-tmc 20800000.etr: TMC read start
       [  152.542632] coresight-tmc 20800000.etr: TMC read end
      
      This patch fixes the problem by balancing the unlink operation by using
      the coresight_disable(), keeping the coresight layer in sync with the
      hardware state and thus allowing normal usage of the STM component.
      
      Fixes: commit 237483aa ("coresight: stm: adding driver for CoreSight STM component")
      Cc: Pratik Patel <pratikp@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: stable@vger.kernel.org # 4.7+
      Acked-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
      Reviewed-by: default avatarChunyan Zhang <zhang.chunyan@linaro.org>
      Reported-by: default avatarRobert Walker <robert.walker@arm.com>
      Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4474f4c4
    • Bartosz Golaszewski's avatar
      ARM: da850: add the nand dev_id to the clock lookup table · d8e22fb4
      Bartosz Golaszewski authored
      The aemif driver can now access struct of_dev_auxdata (using platform
      data).
      
      Add the device id to the clock lookup table for the nand clock and
      create a separate lookup table for aemif subnodes.
      Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d8e22fb4
    • Bartosz Golaszewski's avatar
      memory: aemif: allow passing device lookup table as platform data · f95bd041
      Bartosz Golaszewski authored
      TI aemif driver creates its own subnodes of the device tree in order
      to guarantee that all child devices are probed after the AEMIF timing
      parameters are configured.
      
      Some devices (e.g. da850) use struct of_dev_auxdata for clock lookup
      but nodes created from within the aemif driver can't access the lookup
      table.
      
      Create a platform data structure that holds a pointer to
      of_dev_auxdata so that we can use it with of_platform_populate().
      Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
      Acked-by: default avatarSekhar Nori <nsekhar@ti.com>
      Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f95bd041
    • William Breathitt Gray's avatar
      pc104: Introduce the PC104 Kconfig option · ad90a3de
      William Breathitt Gray authored
      PC/104 form factor devices serve a specific niche of embedded system
      users; most Linux users will not have PC/104 form factor devices. This
      patch introduces the PC104 Kconfig option, which should be used to
      filter PC/104 specific device drivers and options, so that only those
      users interested in PC/104 related options are exposed to them.
      Signed-off-by: default avatarWilliam Breathitt Gray <vilhelm.gray@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ad90a3de
    • K. Y. Srinivasan's avatar
      Drivers: hv: vmbus: Move Hypercall invocation code out of common code · 6ab42a66
      K. Y. Srinivasan authored
      As part of the effort to separate out architecture specific code, move the
      hypercall invocation code to an architecture specific file.
      Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6ab42a66