10 Mar, 2014

1 commit


09 Mar, 2014

8 commits

  • The bus and architecture dependencies are already on MFD_CS5535, so
    there is no need to repeat them here.

    Signed-off-by: Jean Delvare
    Cc: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • SPMI defines the behavior of a device in the "SLEEP" state as being
    "user-defined or specified by the device manufacturer". Without
    clearly-defined bus-level semantics for low-power states, push the
    responsibility of transitioning a device into/out of "SLEEP" into SPMI
    device drivers.

    Cc: Felipe Balbi
    Signed-off-by: Josh Cartwright
    Signed-off-by: Greg Kroah-Hartman

    Josh Cartwright
     
  • With the split of Qualcomm MSM support into legacy and multiplatform,
    the SPMI PMIC arb driver is only relevant on the multiplatform supported
    SoCs. Switch the Kconfig depends to ARCH_QCOM.

    Acked-by: Kumar Gala
    Signed-off-by: Josh Cartwright
    Signed-off-by: Greg Kroah-Hartman

    Josh Cartwright
     
  • Increase the number of PFNs we can handle in a single vmbus packet.
    Some network packets may have more PFNs than the current limit we have.
    This is not a bug and this patch can be applied to the *next tree.

    Signed-off-by: K. Y. Srinivasan
    Signed-off-by: Greg Kroah-Hartman

    K. Y. Srinivasan
     
  • Signed-off-by: Alexander Stein
    Signed-off-by: Greg Kroah-Hartman

    Alexander Stein
     
  • men_z188_adc needs to include linux/io.h. This fixes a build error
    discovered by 0-day buid bot

    Signed-off-by: Johannes Thumshirn
    Reported-by: kbuild test robot
    Signed-off-by: Greg Kroah-Hartman

    Johannes Thumshirn
     
  • 1. Delete cb from list before freeing it
    2. Fix missed break that leads to
    switch case fall-through and BUG invocation.

    Regression from:
    commit 6bb948c9e500d24321c36c67c81daf8d1a7e561e
    mei: get rid of ext_msg

    Signed-off-by: Alexander Usyskin
    Signed-off-by: Tomas Winkler
    Signed-off-by: Greg Kroah-Hartman

    Alexander Usyskin
     
  • Coverage builds found this build fail in ARM ebsa110_defconfig:

    drivers/mcb/mcb-parse.c: In function 'chameleon_parse_cells':
    drivers/mcb/mcb-parse.c:105:2: error: implicit declaration of function 'memcpy_fromio' [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[2]: *** [drivers/mcb/mcb-parse.o] Error 1

    A simple bisect will output this:

    3764e82e5150d87b205c10cd78a9c9ab86fbfa51 is the first bad commit
    commit 3764e82e5150d87b205c10cd78a9c9ab86fbfa51
    Author: Johannes Thumshirn
    Date: Wed Feb 26 17:29:05 2014 +0100

    drivers: Introduce MEN Chameleon Bus

    The above commit used "default m" which is wrong. New drivers
    should never be globally enabled with "default y/m". Whether
    this driver makes sense to build on ARM is an independent issue.

    Here we delete the "default m" line, which is the equivalent of
    "default n".

    Cc: Johannes Thumshirn
    Cc: Greg Kroah-Hartman
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Greg Kroah-Hartman

    Paul Gortmaker
     

03 Mar, 2014

9 commits


02 Mar, 2014

8 commits

  • …h/linux into drm-fixes

    A couple of minor fixes.

    Pull request of 2014-03-02

    * tag 'vmwgfx-fixes-3.14-2014-03-02' of git://people.freedesktop.org/~thomash/linux:
    drm/vmwgfx: avoid null pointer dereference at failure paths
    drm/vmwgfx: Make sure backing mobs are cleared when allocated. Update driver date.
    drm/vmwgfx: Remove some unused surface formats

    Dave Airlie
     
  • vmw_takedown_otable_base() and vmw_mob_unbind() check for
    potential vmw_fifo_reserve() failure and print error message,
    but then immediately dereference NULL pointer.

    Found by Linux Driver Verification project (linuxtesting.org).

    Signed-off-by: Alexey Khoroshilov
    Reviewed-by: Thomas Hellstrom

    Alexey Khoroshilov
     
  • Backing mob contents is propagated to user-space, so make sure backing
    mobs are cleared when allocated. This also accidently fix rendering errors
    with celestia when emulating legacy mode.

    Also update driver date.

    Signed-off-by: Thomas Hellstrom
    Reviewed-by: Brian Paul

    Thomas Hellstrom
     
  • These formats are deprecated.

    Signed-off-by: Thomas Hellstrom
    Reviewed-by: Brian Paul

    Thomas Hellstrom
     
  • Pull x86 fixes from Peter Anvin:
    "The VMCOREINFO patch I'll pushing for this release to avoid having a
    release with kASLR and but without that information.

    I was hoping to include the FPU patches from Suresh, but ran into a
    problem (see other thread); will try to make them happen next week"

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86, kaslr: add missed "static" declarations
    x86, kaslr: export offset in VMCOREINFO ELF notes

    Linus Torvalds
     
  • Pull SCSI target fixes from Nicholas Bellinger:
    "The bulk of the series are bugfixes for qla2xxx target NPIV support
    that went in for v3.14-rc1. Also included are a few DIF related
    fixes, a qla2xxx fix (Cc'ed to stable) from Greg W., and vhost/scsi
    protocol version related fix from Venkatesh.

    Also just a heads up that a series to address a number of issues with
    iser-target active I/O reset/shutdown is still being tested, and will
    be included in a separate -rc6 PULL request"

    * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
    vhost/scsi: Check LUN structure byte 0 is set to 1, per spec
    qla2xxx: Fix kernel panic on selective retransmission request
    Target/sbc: Don't use sg as iterator in sbc_verify_read
    target: Add DIF sense codes in transport_generic_request_failure
    target/sbc: Fix sbc_dif_copy_prot addr offset bug
    tcm_qla2xxx: Fix NAA formatted name for NPIV WWPNs
    tcm_qla2xxx: Perform configfs depend/undepend for base_tpg
    tcm_qla2xxx: Add NPIV specific enable/disable attribute logic
    qla2xxx: Check + fail when npiv_vports_inuse exists in shutdown
    qla2xxx: Fix qlt_lport_register base_vha callback race

    Linus Torvalds
     
  • Pull slave-dma fixes from Vinod Koul:
    "This request brings you two small fixes. First one for fixing
    dereference of freed descriptor and second for fixing sdma bindings
    for it to work for imx25.

    I was planning to send this about 10days ago but then I had to proceed
    on my paternity leave and didnt get chance to send this. Now got a
    bit of time from dady duties :)"

    * 'fixes' of git://git.infradead.org/users/vkoul/slave-dma:
    dma: sdma: Add imx25 compatible
    dma: ste_dma40: don't dereference free:d descriptor

    Linus Torvalds
     
  • Pull ACPI and power management fixes from Rafael Wysocki:
    "These three commits fix a recent intel_pstate regression and two old
    bugs that should be fixed in -stable too, one in the ACPI processor
    driver and one in the firmare loader.

    Specifics:

    - One of the recent intel_pstate driver fixes introduced a rounding
    error that on some systems causes the frequency to be stuck at the
    lowest level forever. Fix from Dirk Brandewie.

    - The firmware_class driver's PM notifier doesn't handle the
    PM_RESTORE_PREPARE event during hibernation image restore and that
    leads to a deadlock on umhelper_sem in __usermodehelper_disable().
    Fix from Sebastian Capella.

    - acpi_processor_set_throttling() abuses set_cpus_allowed_ptr() in a
    nasty way which triggers the WARN_ON_ONCE() in wq_worker_waking_up()
    among other things. Fix from Lan Tianyu"

    * tag 'pm+acpi-3.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    ACPI / processor: Rework processor throttling with work_on_cpu()
    PM / hibernate: Fix restore hang in freeze_processes()
    intel_pstate: Change busy calculation to use fixed point math.

    Linus Torvalds
     

01 Mar, 2014

14 commits

  • …it/acme/linux into perf/urgent

    Pull perf/urgent build fixes for certain distro environments, from Arnaldo Carvalho de Melo:

    * Problem on recent gcc on x86-32 related to strict alias issue for
    find_first_bit (Jiri Olsa).

    * OpenSuSE: BFD detection problems related to not explicitely listing all
    required libraries (Andi Kleen)

    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     
  • …23/iio into staging-linus

    Jonathan writes:

    Fourth set of IIO fixes for the 3.14 kernel.

    A single line patch fixing a regression that was introduced in 3.13 in the
    reworking of the mxs touch screen and ADC drivers to be interrupt rather
    than polling driven. It resulted in a stray double reporting of the release
    coordinate in the touch screen driver. The bug lay in the adc side
    of the driver which left the statemachine in the wrong state.

    Greg Kroah-Hartman
     
  • Add bindings for TI Async External Memory Interface (AEMIF) controller.

    The Async External Memory Interface (EMIF16/AEMIF) controller is intended to
    provide a glue-less interface to a variety of asynchronous memory devices like
    ASRA M, NOR and NAND memory. A total of 256M bytes of any of these memories
    can be accessed via 4 chip selects with 64M byte access per chip select.

    We are not encoding CS number in reg property, it's memory partition number.
    The CS number is encoded for Davinci NAND node using standalone property
    "ti,davinci-chipselect" and we need to provide two memory ranges to it,
    as result we can't encode CS number in "reg" for AEMIF child devices
    (NAND/NOR/etc), as it will break bindings compatibility.

    In this patch, NAND node is used just as an example of child node.

    Acked-by: Santosh Shilimkar
    Signed-off-by: Ivan Khoronzhuk
    Signed-off-by: Greg Kroah-Hartman

    Ivan Khoronzhuk
     
  • Add new AEMIF driver for EMIF16 Texas Instruments controller.
    The EMIF16 module is intended to provide a glue-less interface to
    a variety of asynchronous memory devices like ASRA M, NOR and NAND
    memory. A total of 256M bytes of any of these memories can be
    accessed at any given time via 4 chip selects with 64M byte access
    per chip select.

    Synchronous memories such as DDR1 SD RAM, SDR SDRAM and Mobile SDR
    are not supported.

    This controller is used on SoCs like Davinci, Keysone2

    Acked-by: Santosh Shilimkar
    Signed-off-by: Murali Karicheri
    Signed-off-by: Ivan Khoronzhuk
    Signed-off-by: Greg Kroah-Hartman

    Ivan Khoronzhuk
     
  • The interruptible_sleep_on function is can still lead to the
    deadlock mentioned in the comment above the caller, and we want
    to remove it soon, so replace it now with the race-free
    wait_event_interruptible.

    Signed-off-by: Arnd Bergmann
    Cc: Andrew Morton
    Cc: Greg Kroah-Hartman
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     
  • Add support for MEN 16z188 ADC IP Core on MCB FPGAs.

    Signed-off-by: Johannes Thumshirn
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Johannes Thumshirn
     
  • Add support for MCB over PCI devices. Both PCI attached on-board Chameleon FPGAs
    as well as CompactPCI based MCB carrier cards are supported with this driver.

    Signed-off-by: Johannes Thumshirn
    Signed-off-by: Greg Kroah-Hartman

    Johannes Thumshirn
     
  • The MCB (MEN Chameleon Bus) is a Bus specific to MEN Mikroelektronik
    FPGA based devices. It is used to identify MCB based IP-Cores within
    an FPGA and provide the necessary framework for instantiating drivers
    for these devices.

    Signed-off-by: Johannes Thumshirn
    Signed-off-by: Greg Kroah-Hartman

    Johannes Thumshirn
     
  • Remove firmware framebuffer before initializing hyperv-fb. Needed
    on gen2 virtual machines. Letting register_framebuffer handle the
    switchover results in efifb still being active while hyperv graphics
    are initialized, which in turn can make the linux kernel hang.

    Signed-off-by: Gerd Hoffmann
    Signed-off-by: Haiyang Zhang
    Acked-by: Tomi Valkeinen
    Signed-off-by: Greg Kroah-Hartman

    Gerd Hoffmann
     
  • UEFI-based generation 2 virtual machines support vmbus devices only.
    There is no pci bus. Thus they use a different mechanism for the
    graphics framebuffer: Instead of using the vga pci bar a chunk of
    memory muct be allocated from the hyperv mmio region declared using
    APCI. This patch implements support for it.

    Based on a patch by Haiyang Zhang

    Signed-off-by: Gerd Hoffmann
    Signed-off-by: Haiyang Zhang
    Acked-by: Tomi Valkeinen
    Signed-off-by: Greg Kroah-Hartman

    Gerd Hoffmann
     
  • This implements support for defining reserved areas as subnodes,
    to keep the genpool from using these.

    Suggested-by: Rob Herring
    Signed-off-by: Heiko Stuebner
    Tested-by: Ulrich Prinz
    Signed-off-by: Greg Kroah-Hartman

    Heiko Stübner
     
  • Some SoCs need parts of their sram for special purposes. So while being part
    of the peripheral, it should not be part of the genpool controlling the sram.

    Therefore add the option to define reserved regions as subnodes of the
    sram-node similar to defining reserved global memory regions.

    Originally
    Suggested-by: Rob Herring

    Using subnodes for reserved regions
    Suggested-by: Grant Likely

    Signed-off-by: Heiko Stuebner
    Tested-by: Ulrich Prinz
    Acked-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Heiko Stübner
     
  • commit d2ae2e20fbdde5a65f3a5a153044ab1e5c53f7cc ("driver/memory:Move
    Freescale IFC driver to a common driver") introduces this build
    regression into the mpc85xx_defconfig:

    drivers/built-in.o: In function `fsl_ifc_nand_remove':
    drivers/mtd/nand/fsl_ifc_nand.c:1147: undefined reference to `fsl_ifc_ctrl_dev'
    drivers/mtd/nand/fsl_ifc_nand.c:1147: undefined reference to `fsl_ifc_ctrl_dev'
    drivers/built-in.o: In function `fsl_ifc_nand_probe':
    drivers/mtd/nand/fsl_ifc_nand.c:1031: undefined reference to `fsl_ifc_ctrl_dev'
    drivers/mtd/nand/fsl_ifc_nand.c:1031: undefined reference to `fsl_ifc_ctrl_dev'
    drivers/built-in.o: In function `match_bank':
    drivers/mtd/nand/fsl_ifc_nand.c:1013: undefined reference to `convert_ifc_address'
    drivers/built-in.o: In function `fsl_ifc_nand_probe':
    drivers/mtd/nand/fsl_ifc_nand.c:1059: undefined reference to `fsl_ifc_ctrl_dev'
    drivers/mtd/nand/fsl_ifc_nand.c:1080: undefined reference to `fsl_ifc_ctrl_dev'
    drivers/mtd/nand/fsl_ifc_nand.c:1069: undefined reference to `fsl_ifc_ctrl_dev'
    drivers/mtd/nand/fsl_ifc_nand.c:1069: undefined reference to `fsl_ifc_ctrl_dev'
    make: *** [vmlinux] Error 1

    This happens because there is nothing to descend us into the
    drivers/memory directory in the mpc85xx_defconfig. It wasn't
    selecting CONFIG_MEMORY. So we never built drivers/memory/fsl_ifc.o
    and so we have nothing to link the above symbols against.

    Since the goal of the original commit was to relocate the driver to
    an arch independent location, it only makes sense to relocate the
    Kconfig setting there as well. But that alone won't fix the build
    failure; for that we ensure whoever selects FSL_IFC also selects MEMORY.

    Cc: Prabhakar Kushwaha
    Cc: Scott Wood
    Cc: Arnd Bergmann
    Cc: David Woodhouse
    Cc: Greg Kroah-Hartman
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Greg Kroah-Hartman

    Paul Gortmaker
     
  • This helps increasing build testing coverage.
    To do this, __raw_{read,write}b() functions was be replaced with
    simple {read,write}b() variants.

    Signed-off-by: Alexander Shiyan
    Signed-off-by: Greg Kroah-Hartman

    Alexander Shiyan