1. 20 11月, 2014 1 次提交
  2. 09 11月, 2014 5 次提交
    • O
      Merge tag 'nomadik-for-v3.19' of... · 17908a13
      Olof Johansson 提交于
      Merge tag 'nomadik-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into next/dt
      
      Merge "Nomadik updates for the v3.19 series" from Linus Walleij:
      
      Nomadik changes for the v3.19 development series:
      - Rearrange the DTS files to make a pure SoC-specific file and
        a pure board file for S8815.
      - Add the device tree for the NDK15 board.
      - Update the defconfig and configure in the STMPE expander by
        default on the Nomadik.
      
      * tag 'nomadik-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
        ARM: nomadik: configure in STMPE support
        ARM: update Nomadik config
        ARM: nomadik: device tree for NHK15 board
        ARM: nomadik: push ethernet down to board
        ARM: nomadik: set up MCDATDIR2
        ARM: nomadik: move GPIO I2C to S8815 board file
        ARM: nomadik: disable chrystals in top level board files
        ARM: nomadik: move MMC/SD card detect GPIO to board DTS
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      17908a13
    • O
      Merge tag 'at91-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91 into next/dt · b265a6df
      Olof Johansson 提交于
      Merge "at91: dt for 3.19 #1" from Nicolas Ferre:
      
      "Very little DT update for AT91. More will come but I want to send this first
      batch soon so it doesn't get in the way of larger modifications."
      
      First DT batch for 3.19:
      - CAN device nodes for at91sam9263 and at91sam9x5
      - at91sam9x5 DMA definitions for usart
      
      * tag 'at91-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
        ARM: at91/dt: at91sam9263: Add CAN device nodes
        ARM: at91/dt: at91sam9x5: Add CAN device nodes
        ARM: at91/dt/trivial: at91sam9x5_can.dtsi: comment and whitespace fixes
        ARM: at91: at91sam9x5 dt: add usart dma definitions to dt
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      b265a6df
    • O
      Merge tag 'berlin-dt-3.19-1' of git://git.infradead.org/users/hesselba/linux-berlin into next/dt · f26e2945
      Olof Johansson 提交于
      Merge "ARM: berlin: DT changes for v3.19 (round 1)" from Sebastian Hesselbarth:
      
      "This is Berlin DT changes for v3.19 and contains those patches that missed
      the v3.18 merge window plus corresponding patches to catch-up with Antoine's
      BG2Q improvements for BG2 and BG2CD. We now have working SDHCI and Ethernet
      on all SoCs (well, BG2CD has HDMI HEC only), SATA PHY support for BG2 is still
      pending."
      
      Berlin DT changes for v3.19 (round 1)
      - AHCI and SATA PHY nodes for BG2Q
      - Reset controller binding docs
      - Ethernet nodes for BG2, BG2CD
      - SDHCI nodes for BG2, BG2CD
      - Corresponding board changes to enable AHCI, Ethernet, SDHCI
      
      * tag 'berlin-dt-3.19-1' of git://git.infradead.org/users/hesselba/linux-berlin:
        ARM: dts: berlin: Enable eMMC on Sony NSZ-GS7
        ARM: dts: berlin: Enable WiFi on Google Chromecast
        ARM: dts: berlin: Add SDHCI controller nodes to BG2/BG2CD
        ARM: dts: berlin: Enable ethernet on Sony NSZ-GS7
        ARM: dts: berlin: Add phy-connection-type to BG2Q Ethernet
        ARM: dts: berlin: Add BG2CD ethernet DT nodes
        ARM: dts: berlin: Add BG2 ethernet DT nodes
        ARM: dts: berlin: Add GPIO leds to Google Chromecast
        ARM: dts: berlin: enable timer 1 for sched_clock
        ARM: dts: berlin: add a required reset property in the chip controller node
        Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs
        ARM: dts: berlin: enable the eSATA interface on the BG2Q DMP
        ARM: dts: berlin: add the AHCI node for the BG2Q
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      f26e2945
    • O
      Merge tag 'sti-dt-for-v3.19-1' of git://git.stlinux.com/devel/kernel/linux-sti into next/dt · 1749e1fc
      Olof Johansson 提交于
      Merge "STi DT updates for v3.19, round 1" from Maxime Coquelin:
      
      Highlights:
      -----------
       - Add SDHCI support for STiH41x B2020 boards
       - Add reset controllers to STiH407 SoC
       - Add MiPHY & SATA support to STiH416
       - Add Thermal supportto STiH416
       - Add Clock support to STiH407 SoC
      
      This tag also includes STiH407 bindings definitions for reset controller.
      
      * tag 'sti-dt-for-v3.19-1' of git://git.stlinux.com/devel/kernel/linux-sti:
        ARM: STi: DT: STiH407: Fix: clk-tmds-hdmi clock is missing
        ARM: STi: DT: STiH407: Add all defines for STiH407 DT clocks
        ARM: STi: DT: STiH407: 407 DT Entry for clockgenA9
        ARM: STi: DT: STiH407: 407 DT Entry for clockgen D0/D2/D3
        ARM: STi: DT: STiH407: 407 DT Entry for clockgen C0
        ARM: STi: DT: STiH407: 407 DT Entry for clockgen A0
        ARM: DT: STi: STiH416: Add DT node for ST's SATA device
        ARM: DT: STi: STiH416: Add DT node for MiPHY365x
        ARM: STi: DT: STiH416: Supply Thermal Controller Device Tree nodes
        ARM: STi: DT: Enable second sdhci controller for stih416 b2020 boards.
        ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs
        ARM: STi: DT: Add sdhci controller for stih415
        ARM: STi: DT: Add sdhci pin configuration for stih415
        ARM: STi: DT: Add sdhci controller for stih416
        ARM: STi: DT: Add sdhci pins for stih416
        ARM: sti: Add STiH407 reset controller support.
        ARM: sti: Add STiH407 Kconfig entry to select STIH407_RESET
        ARM: STi: DT: STiH41x: Convert all uppercase non-defines to lowercase
        reset: stih407: Add reset controllers DT bindings
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      1749e1fc
    • O
      Merge tag 'arm-soc/for-3.18/cygnus-dts-v9' of http://github.com/brcm/linux into next/dt · 1ba5568c
      Olof Johansson 提交于
      Merge "Broadcom Cygnus SoC Device Tree changes" from Florian Fianelli:
      
      This patchset contains initial support for Broadcom's Cygnus SoC based on our
      iProc architecture. Initial support is minimal and includes just the mach
      platform code, clock driver, and a basic device tree configuration. Peripheral
      drivers will be submitted soon, as will device tree configurations for other
      Cygnus board variants.
      
      These are the Device Tree changes
      
      * tag 'arm-soc/for-3.18/cygnus-dts-v9' of http://github.com/brcm/linux:
        ARM: dts: Enable Broadcom Cygnus SoC
        dt-bindings: Document Broadcom Cygnus SoC and clocks
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      1ba5568c
  3. 06 11月, 2014 2 次提交
  4. 05 11月, 2014 4 次提交
  5. 04 11月, 2014 2 次提交
    • O
      Merge tag 'arm-realview-dt-for-arm-soc' of... · a3206509
      Olof Johansson 提交于
      Merge tag 'arm-realview-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator into next/dt
      
      Merge "RealView DeviceTree support for v3.19" from Linus Walleij:
      
      - Device Tree implementation for the ARM RealView boards
      - DTS file for the ARM RealView PB1176
      - Updates on top of the same DTS file
      
      * tag 'arm-realview-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator:
        ARM: realview: add MMCI to the PB1176 DTS
        ARM: realview: add KMIs to the PB1176 DTS
        ARM: realview: add FPGA UART4 to PB1176 DTS
        ARM: realview: add PL022 SSP/SPI block to PB1176 DTS
        ARM: realview: add RTC clocks to device tree
        ARM: realview: add charlcd to PB1176 device tree
        ARM: realview: add PL061 GPIO to the PB1176 DTS
        ARM: realview: move DT GIC to FPGA node
        ARM: realview: add device tree and bindings for PB1176
        ARM: realview: basic device tree implementation
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      a3206509
    • O
      Merge tag 'samsung-dt' of... · b2b2490a
      Olof Johansson 提交于
      Merge tag 'samsung-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/dt
      
      Merge "1st Round of Samsung DT updates for v3.19" from Kukjin Kim:
      
      Samsung DT updates for v3.19
      
      - add CPU nodes for exynos4210, exynos4212, exynos4412
      
      - exynos4x12-pinctrl: add utility macro to define pin sleep states
      - exynos4412-trats2: add Maxim77693 PMIC node, add sleep mode pin
        configuration and keep eMMC regulators soft-disabled
      
      - add new exynos5250-spring DT
      
      - cleanup exynos5250-arndale, exynos5250-smdk5250 and exynos5250-snow
      
      - exynos5250-arndale: fix apparent GPIO typo and simplify USB3503
      - exynos5250-snow and exynos Peach boards: add rtc_src clock for RTC
      
      - correct mmc0 capability string exynos5420-peach-pit and exynos5800-
        peach-pi
      
      - exynos3250: add MFC codec nodes
      
      - s3c64xx: enable PWM node by default
      
      * tag 'samsung-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
        ARM: dts: add CPU nodes for Exynos4 SoCs
        ARM: dts: add MFC codec device node for exynos3250
        ARM: dts: Add Maxim 77693 PMIC to exynos4412-trats2
        ARM: dts: Add sleep mode pin configuration for exynos4412-trats2
        ARM: dts: Add utility macro to define pin sleep states for exynos4x12-pinctrl
        ARM: dts: Keep eMMC regulators soft-disabled for exynos4412-trats2
        ARM: dts: correct the mmc0 capability string for exynos Peach boards
        ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow
        ARM: dts: Add rtc_src clk for s3c-rtc on exynos Peach boards
        ARM: dts: Enable PWM node by default for s3c64xx
        ARM: dts: Add exynos5250-spring device tree
        ARM: dts: Simplify USB3503 on exynos5250-arndale
        ARM: dts: Fix apparent GPIO typo in exynos5250-arndale
        ARM: dts: Clean up exynos5250-arndale
        ARM: dts: Clean up exynos5250-smdk5250
        ARM: dts: Fill in bootargs for exynos5250-snow
        ARM: dts: Clean up exynos5250-snow
        ARM: dts: Prepare node labels for exynos5250
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      b2b2490a
  6. 03 11月, 2014 20 次提交
  7. 02 11月, 2014 6 次提交
    • P
      KVM: vmx: defer load of APIC access page address during reset · a73896cb
      Paolo Bonzini 提交于
      Most call paths to vmx_vcpu_reset do not hold the SRCU lock.  Defer loading
      the APIC access page to the next vmentry.
      
      This avoids the following lockdep splat:
      
      [ INFO: suspicious RCU usage. ]
      3.18.0-rc2-test2+ #70 Not tainted
      -------------------------------
      include/linux/kvm_host.h:474 suspicious rcu_dereference_check() usage!
      
      other info that might help us debug this:
      
      rcu_scheduler_active = 1, debug_locks = 0
      1 lock held by qemu-system-x86/2371:
       #0:  (&vcpu->mutex){+.+...}, at: [<ffffffffa037d800>] vcpu_load+0x20/0xd0 [kvm]
      
      stack backtrace:
      CPU: 4 PID: 2371 Comm: qemu-system-x86 Not tainted 3.18.0-rc2-test2+ #70
      Hardware name: Dell Inc. OptiPlex 9010/0M9KCM, BIOS A12 01/10/2013
       0000000000000001 ffff880209983ca8 ffffffff816f514f 0000000000000000
       ffff8802099b8990 ffff880209983cd8 ffffffff810bd687 00000000000fee00
       ffff880208a2c000 ffff880208a10000 ffff88020ef50040 ffff880209983d08
      Call Trace:
       [<ffffffff816f514f>] dump_stack+0x4e/0x71
       [<ffffffff810bd687>] lockdep_rcu_suspicious+0xe7/0x120
       [<ffffffffa037d055>] gfn_to_memslot+0xd5/0xe0 [kvm]
       [<ffffffffa03807d3>] __gfn_to_pfn+0x33/0x60 [kvm]
       [<ffffffffa0380885>] gfn_to_page+0x25/0x90 [kvm]
       [<ffffffffa038aeec>] kvm_vcpu_reload_apic_access_page+0x3c/0x80 [kvm]
       [<ffffffffa08f0a9c>] vmx_vcpu_reset+0x20c/0x460 [kvm_intel]
       [<ffffffffa039ab8e>] kvm_vcpu_reset+0x15e/0x1b0 [kvm]
       [<ffffffffa039ac0c>] kvm_arch_vcpu_setup+0x2c/0x50 [kvm]
       [<ffffffffa037f7e0>] kvm_vm_ioctl+0x1d0/0x780 [kvm]
       [<ffffffff810bc664>] ? __lock_is_held+0x54/0x80
       [<ffffffff812231f0>] do_vfs_ioctl+0x300/0x520
       [<ffffffff8122ee45>] ? __fget+0x5/0x250
       [<ffffffff8122f0fa>] ? __fget_light+0x2a/0xe0
       [<ffffffff81223491>] SyS_ioctl+0x81/0xa0
       [<ffffffff816fed6d>] system_call_fastpath+0x16/0x1b
      Reported-by: NTakashi Iwai <tiwai@suse.de>
      Reported-by: NAlexei Starovoitov <alexei.starovoitov@gmail.com>
      Reviewed-by: NWanpeng Li <wanpeng.li@linux.intel.com>
      Tested-by: NWanpeng Li <wanpeng.li@linux.intel.com>
      Fixes: 38b99173Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      a73896cb
    • J
      KVM: nVMX: Disable preemption while reading from shadow VMCS · 282da870
      Jan Kiszka 提交于
      In order to access the shadow VMCS, we need to load it. At this point,
      vmx->loaded_vmcs->vmcs and the actually loaded one start to differ. If
      we now get preempted by Linux, vmx_vcpu_put and, on return, the
      vmx_vcpu_load will work against the wrong vmcs. That can cause
      copy_shadow_to_vmcs12 to corrupt the vmcs12 state.
      
      Fix the issue by disabling preemption during the copy operation.
      copy_vmcs12_to_shadow is safe from this issue as it is executed by
      vmx_vcpu_run when preemption is already disabled before vmentry.
      
      This bug is exposed by running Jailhouse within KVM on CPUs with
      shadow VMCS support.  Jailhouse never expects an interrupt pending
      vmexit, but the bug can cause it if, after copy_shadow_to_vmcs12
      is preempted, the active VMCS happens to have the virtual interrupt
      pending flag set in the CPU-based execution controls.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      282da870
    • N
      KVM: x86: Fix far-jump to non-canonical check · 7e46dddd
      Nadav Amit 提交于
      Commit d1442d85 ("KVM: x86: Handle errors when RIP is set during far
      jumps") introduced a bug that caused the fix to be incomplete.  Due to
      incorrect evaluation, far jump to segment with L bit cleared (i.e., 32-bit
      segment) and RIP with any of the high bits set (i.e, RIP[63:32] != 0) set may
      not trigger #GP.  As we know, this imposes a security problem.
      
      In addition, the condition for two warnings was incorrect.
      
      Fixes: d1442d85Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NNadav Amit <namit@cs.technion.ac.il>
      [Add #ifdef CONFIG_X86_64 to avoid complaints of undefined behavior. - Paolo]
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7e46dddd
    • D
      Merge branch 'vmwgfx-fixes-3.18' of git://people.freedesktop.org/~thomash/linux · 10a8fce8
      Dave Airlie 提交于
      A critical 3.18 regression fix from Rob, (thanks!)
      A fix to avoid advertizing modes we can't support from Sinclair
        (welcome Sinclair!)
      and a fix for an incorrect  hash key computation from me that is
        completely harmless, but can wait 'til the next merge window if necessary.
        (I can't really bother stable with this one).
      
      * 'vmwgfx-fixes-3.18' of git://people.freedesktop.org/~thomash/linux:
        drm/vmwgfx: Filter out modes those cannot be supported by the current VRAM size.
        drm/vmwgfx: Fix hash key computation
        drm/vmwgfx: fix lock breakage
      10a8fce8
    • L
      Merge tag 'staging-3.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 12d7aaca
      Linus Torvalds 提交于
      Pull staging fixes from Greg KH:
       "Here are some staging driver fixes for 3.18-rc3.  Mostly iio and
        comedi driver fixes for issues reported by people.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'staging-3.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: comedi: fix memory leak / bad pointer freeing for chanlist
        staging: comedi: Kconfig: fix config COMEDI_ADDI_APCI_3120 dependants
        staging: comedi: widen subdevice number argument in ioctl handlers
        staging: rtl8723au: Fix alignment of mac_addr for ether_addr_copy() usage
        drivers/staging/comedi/Kconfig: Let COMEDI_II_PCI20KC depend on HAS_IOMEM
        staging: comedi: (regression) channel list must be set for COMEDI_CMD ioctl
        iio: adc: mxs-lradc: Disable the clock on probe failure
        iio: st_sensors: Fix buffer copy
        staging:iio:ad5933: Drop "raw" from channel names
        staging:iio:ad5933: Fix NULL pointer deref when enabling buffer
      12d7aaca
    • L
      Merge tag 'usb-3.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 528a506e
      Linus Torvalds 提交于
      Pull USB fixes from Greg KH:
       "Here are a bunch of USB fixes for 3.18-rc3.
      
        Mostly usb-serial device ids and gadget fixes for issues that have
        been reported.  Full details are in the shortlog.
      
        All of these have been in linux-next for a while"
      
      * tag 'usb-3.18-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (42 commits)
        usb: chipidea: Fix oops when removing the ci_hdrc module
        usb: gadget: function: Fixed the return value on error path
        usb: dwc2: gadget: disable phy before turning off power regulators
        usb: gadget: function: Remove redundant usb_free_all_descriptors
        usb: dwc3: gadget: Properly initialize LINK TRB
        usb: dwc2: gadget: fix gadget unregistration in udc_stop() function
        usb: dwc2: Bits in bitfield should add up to 32
        usb: dwc2: gadget: sparse warning of context imbalance
        usb: gadget: udc: core: fix kernel oops with soft-connect
        usb: musb: musb_dsps: fix NULL pointer in suspend
        usb: musb: dsps: start OTG timer on resume again
        usb: gadget: loopback: don't queue requests to bogus endpoints
        usb: ffs: fix regression when quirk_ep_out_aligned_size flag is set
        usb: gadget: f_fs: remove redundant ffs_data_get()
        usb: gadget: udc: USB_GADGET_XILINX should depend on HAS_DMA
        Revert "usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in prepare/complete"
        usb: gadget: composite: enable BESL support
        usb: musb: cppi41: restart hrtimer only if not yet done
        usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize
        usb: serial: ftdi_sio: add "bricked" FTDI device PID
        ...
      528a506e