08 Apr, 2015

1 commit

  • New code will require TRACE_SYSTEM to be a valid C variable name,
    but some tracepoints have TRACE_SYSTEM with '-' and not '_', so
    it can not be used. Instead, add a TRACE_SYSTEM_VAR that can
    give the tracing infrastructure a unique name for the trace system.

    Link: http://lkml.kernel.org/r/20150402111500.5e52c1ed.cornelia.huck@de.ibm.com

    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Cc: David Hildenbrand
    Cc: Christian Borntraeger
    Acked-by: Cornelia Huck
    Reviewed-by: Masami Hiramatsu
    Tested-by: Masami Hiramatsu
    Signed-off-by: Steven Rostedt

    Steven Rostedt (Red Hat)
     

16 Mar, 2015

2 commits

  • Pull clock framework fixes from Michael Turquette:
    "The clk fixes for 4.0-rc4 comprise three themes.

    First are the usual driver fixes for new regressions since v3.19.

    Second are fixes to the common clock divider type caused by recent
    changes to how we round clock rates. This affects many clock drivers
    that use this common code.

    Finally there are fixes for drivers that improperly compared struct
    clk pointers (drivers must not deref these pointers). While some of
    these drivers have done this for a long time, this did not cause a
    problem until we started generating unique struct clk pointers for
    every consumer. A new function, clk_is_match was introduced to get
    these drivers working again and they are fixed up to no longer deref
    the pointers themselves"

    * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
    ASoC: kirkwood: fix struct clk pointer comparing
    ASoC: fsl_spdif: fix struct clk pointer comparing
    ARM: imx: fix struct clk pointer comparing
    clk: introduce clk_is_match
    clk: don't export static symbol
    clk: divider: fix calculation of initial best divider when rounding to closest
    clk: divider: fix selection of divider when rounding to closest
    clk: divider: fix calculation of maximal parent rate for a given divider
    clk: divider: return real rate instead of divider value
    clk: qcom: fix platform_no_drv_owner.cocci warnings
    clk: qcom: fix platform_no_drv_owner.cocci warnings
    clk: qcom: Add PLL4 vote clock
    clk: qcom: lcc-msm8960: Fix PLL rate detection
    clk: qcom: Fix slimbus n and m val offsets
    clk: ti: Fix FAPLL parent enable bit handling

    Linus Torvalds
     
  • Pull ARM SoC fixes from Arnd Bergmann:
    "This is a rather unpleasantly large set of bug fixes for arm-soc, Most
    of them because of cross-tree dependencies for Exynos where we should
    have figured out the right path to merge things before the merge
    window, and then the maintainer being unable to sort things out in
    time during a business trip.

    The other changes contained here are the usual collection:

    MAINTAINERS file updates
    - Gregory Clement is now a co-maintainer for the legacy Marvell EBU
    platforms
    - A MAINTAINERS entry for the Freescale Vybrid platform that was
    added last year
    - Matt Porter no longer works as a maintainer on Broadcom SoCs

    Build-time issues
    - A compile-time error for at91
    - Several minor DT fixes on at91, imx, exynos, socfpga, and omap
    - The new digicolor platform was not correctly enabled at all

    Configuration issues
    - Two defconfig fix for regressions using USB on versatile express
    and on OMAP3
    - Enabling all 8 CPUs on Allwinner/SUNxi
    - Enabling the new STiH410 platform to be usable

    Bug fixes in platform code
    - A missing barrier for socfpga
    - Fixing LPDDR1 self-refresh mode on at91
    - Fixing RTC interrupt numbers on Exynos3250
    - Fixing a cache-coherency issues in CPU power-down on Exynos5
    - Multiple small OMAP power management fixes"

    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (69 commits)
    MAINTAINERS: Add myself as co-maintainer to the legacy support of the mvebu SoCs
    ARM: at91: pm_slowclock: fix the compilation error
    ARM: at91/dt: fix USB high-speed clock to select UTMI
    ARM: at91/dt: fix at91 udc compatible strings
    ARM: at91/dt: declare matrix node as a syscon device
    ARM: vexpress: update CONFIG_USB_ISP1760 option
    ARM: digicolor: add the machine directory to Makefile
    ARM: STi: Add STiH410 SoC support
    MAINTAINERS: add Freescale Vybrid SoC
    MAINTAINERS: Remove self as ARM mach-bcm co-maintainer
    ARM: imx6sl-evk: set swbst_reg as vbus's parent reg
    ARM: imx6qdl-sabresd: set swbst_reg as vbus's parent reg
    ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc definition
    ARM: OMAP2+: Fix wl12xx on dm3730-evm with mainline u-boot
    ARM: OMAP: enable TWL4030_USB in omap2plus_defconfig
    ARM: dts: dra7x-evm: avoid possible contention while muxing on CAN lines
    ARM: dts: dra7x-evm: Don't use dcan1_rx.gpio1_15 in DCAN pinctrl
    ARM: dts: am43xx: fix SLEWCTRL_FAST pinctrl binding
    ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding
    ARM: dts: OMAP5: fix polling intervals for thermal zones
    ...

    Linus Torvalds
     

15 Mar, 2015

1 commit

  • Pull arm64 fixes from Catalin Marinas:

    - add TLB invalidation for page table tear-down which was missed when
    support for CONFIG_HAVE_RCU_TABLE_FREE was added (assuming page table
    freeing was always deferred)

    - use UEFI for system and reset poweroff if available

    - fix asm label placement in relation to the alignment statement

    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
    arm64: put __boot_cpu_mode label after alignment instead of before
    efi/arm64: use UEFI for system reset and poweroff
    arm64: Invalidate the TLB corresponding to intermediate page table levels

    Linus Torvalds
     

14 Mar, 2015

4 commits

  • Another one for the big head.S spring cleaning: the label should
    be after the .align or it may point to the padding.

    Signed-off-by: Ard Biesheuvel
    Signed-off-by: Catalin Marinas

    Ard Biesheuvel
     
  • If UEFI Runtime Services are available, they are preferred over direct
    PSCI calls or other methods to reset the system.

    For the reset case, we need to hook into machine_restart(), as the
    arm_pm_restart function pointer may be overwritten by modules.

    Tested-by: Mark Rutland
    Reviewed-by: Mark Rutland
    Reviewed-by: Matt Fleming
    Signed-off-by: Ard Biesheuvel
    Signed-off-by: Catalin Marinas

    Ard Biesheuvel
     
  • The ARM architecture allows the caching of intermediate page table
    levels and page table freeing requires a sequence like:

    pmd_clear()
    TLB invalidation
    pte page freeing

    With commit 5e5f6dc10546 (arm64: mm: enable HAVE_RCU_TABLE_FREE logic),
    the page table freeing batching was moved from tlb_remove_page() to
    tlb_remove_table(). The former takes care of TLB invalidation as this is
    also shared with pte clearing and page cache page freeing. The latter,
    however, does not invalidate the TLBs for intermediate page table levels
    as it probably relies on the architecture code to do it if required.
    When the mm->mm_users < 2, tlb_remove_table() does not do any batching
    and page table pages are freed before tlb_finish_mmu() which performs
    the actual TLB invalidation.

    This patch introduces __tlb_flush_pgtable() for arm64 and calls it from
    the {pte,pmd,pud}_free_tlb() directly without relying on deferred page
    table freeing.

    Fixes: 5e5f6dc10546 arm64: mm: enable HAVE_RCU_TABLE_FREE logic
    Reported-by: Jon Masters
    Tested-by: Jon Masters
    Tested-by: Steve Capper
    Signed-off-by: Catalin Marinas

    Catalin Marinas
     
  • Pull xen bug fixes from David Vrabel:

    - fix a PV regression in 3.19.

    - fix a dom0 crash on hosts with large numbers of PIRQs.

    - prevent pcifront from disabling memory or I/O port access, which may
    trigger host crashes.

    * tag 'stable/for-linus-4.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen-pciback: limit guest control of command register
    xen/events: avoid NULL pointer dereference in dom0 on large machines
    xen: Remove trailing semicolon from xenbus_register_frontend() definition
    x86/xen: correct bug in p2m list initialization

    Linus Torvalds
     

13 Mar, 2015

3 commits

  • When !MMU, asm-generic will not define default pgprot_writecombine, so c6x
    needs to define it by itself. The related error:

    CC [M] fs/pstore/ram_core.o
    fs/pstore/ram_core.c: In function 'persistent_ram_vmap':
    fs/pstore/ram_core.c:399:10: error: implicit declaration of function 'pgprot_writecombine' [-Werror=implicit-function-declaration]
    prot = pgprot_writecombine(PAGE_KERNEL);
    ^
    fs/pstore/ram_core.c:399:8: error: incompatible types when assigning to type 'pgprot_t {aka struct }' from type 'int'
    prot = pgprot_writecombine(PAGE_KERNEL);
    ^

    Signed-off-by: Chen Gang
    Cc: Mark Salter
    Cc: Aurelien Jacquiot
    Cc: "Kirill A. Shutemov"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chen Gang
     
  • Pull arch/microblaze fixes from Michal Simek:
    "Fix syscall error recovery.

    Two patches - one is just preparation patch for the second which is
    fixing the problem with syscalls"

    * tag 'microblaze-4.0-rc4' of git://git.monstr.eu/linux-2.6-microblaze:
    microblaze: Fix syscall error recovery for invalid syscall IDs
    microblaze: Coding style cleanup

    Linus Torvalds
     
  • Pull arch/nios2 fix from Ley Foon Tan:
    "Remove pt_regs from user header and use generic ucontext.h"

    * tag 'nios2-fix-4.0-rc4' of git://git.rocketboards.org/linux-socfpga-next:
    nios2: update pt_regs

    Linus Torvalds
     

12 Mar, 2015

3 commits

  • Remove struct pt_regs from user header and use generic ucontext.h.

    Signed-off-by: Chung-Ling Tang
    Acked-by: Ley Foon Tan

    Chung-Ling Tang
     
  • Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk
    instances"), clk API users can no longer check if two struct clk
    pointers are pointing to the same hardware clock, i.e. struct clk_hw, by
    simply comparing two pointers. That's because with the per-user clk
    change, a brand new struct clk is created whenever clients try to look
    up the clock by calling clk_get() or sister functions like clk_get_sys()
    and of_clk_get(). This changes the original behavior where the struct
    clk is only created for once when clock driver registers the clock to
    CCF in the first place. The net change here is before commit
    035a61c314eb the struct clk pointer is unique for given hardware
    clock, while after the commit the pointers returned by clk lookup calls
    become different for the same hardware clock.

    That said, the struct clk pointer comparing in the code doesn't work any
    more. Call helper function clk_is_match() instead to fix the problem.

    Signed-off-by: Shawn Guo
    Signed-off-by: Michael Turquette
    Signed-off-by: Stephen Boyd

    Shawn Guo
     
  • …linux-at91 into fixes

    Pull "Third fixes batch for AT91 on 4.0" from Nicolas Ferre:
    - clock fixes for USB
    - compatible string changes for handling USB IP differences
    (+ needed AHB matrix syscon)
    - fix of a compilation error in PM code

    * tag 'at91-fixes3' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
    ARM: at91: pm_slowclock: fix the compilation error
    ARM: at91/dt: fix USB high-speed clock to select UTMI
    ARM: at91/dt: fix at91 udc compatible strings
    ARM: at91/dt: declare matrix node as a syscon device
    ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc definition

    Arnd Bergmann
     

11 Mar, 2015

13 commits

  • When compiling the kernel in thumb2 (CONFIG_THUMB2_KERNEL option activated), we
    hit a compilation crash. The error message is listed below:

    ---8< -----
    Error: cannot use register index with PC-relative addressing -- `str r0,.saved_lpr'
    --->8----

    Add the .arm directive in the assembly files related to power management.

    Signed-off-by: Wenyou Yang
    Signed-off-by: Nicolas Ferre

    Wenyou Yang
     
  • The UTMI clock must be selected by any high-speed USB IP. The logic behind it
    needs this particular clock.
    So, correct the clock in the device tree files affected.

    Reported-by: Bo Shen
    Signed-off-by: Nicolas Ferre
    Cc: #3.18

    Nicolas Ferre
     
  • The at91rm9200, at91sam9260, at91sam9261 and at91sam9263 SoCs have slightly
    different UDC IPs.
    Those differences were previously handled with cpu_is_at91xx macro which
    are about to be dropped for multi-platform support, thus we need to
    change compatible strings.

    Signed-off-by: Boris Brezillon
    Signed-off-by: Nicolas Ferre

    Boris Brezillon
     
  • There is no specific driver handling the AHB matrix, this is a simple syscon
    device. the matrix is needed by several other drivers including the USB on some
    SoCs (at91sam9261 for instance).
    Without this definition, the USB will not work on these SoCs.

    Signed-off-by: Boris Brezillon
    Signed-off-by: Nicolas Ferre

    Boris Brezillon
     
  • Pull "The i.MX fixes for 4.0" from Shawn Guo:

    It includes a couple of i.MX6 dts fixes, which set an input supply to
    vbus regulator. Without the fixes, the voltage of vbus is incorrect
    after system boots up.

    * tag 'imx-fixes-4.0' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
    ARM: imx6sl-evk: set swbst_reg as vbus's parent reg
    ARM: imx6qdl-sabresd: set swbst_reg as vbus's parent reg

    Arnd Bergmann
     
  • Commit 7ef077a8ad35 ("usb: isp1760: Move driver from drivers/usb/host/
    to drivers/usb/isp1760/") moved the isp1760 driver and changed the
    Kconfig option. This makes CONFIG_USB_ISP1760_HCD not selectable
    directly anymore. This results in driver being not compiled in when
    using vexpress_defconfig and the USB is non-functional.

    This patch updates the CONFIG_USB_ISP1760_HCD to CONFIG_USB_ISP1760 to
    get back USB functional on vexpress platforms.

    Cc: Liviu Dudau
    Cc: Lorenzo Pieralisi
    Reported-by: Mathieu Poirier
    Tested-by: Mathieu Poirier
    Signed-off-by: Sudeep Holla
    Signed-off-by: Arnd Bergmann

    Sudeep Holla
     
  • Make the digicolor specific DT_MACHINE_START entry visible.

    Fixes: df8d742e929 (ARM: initial support for Conexant Digicolor CX92755 SoC)
    Signed-off-by: Baruch Siach
    Signed-off-by: Arnd Bergmann

    Baruch Siach
     
  • …nd/linux-omap into fixes

    Pull "omap fixes against v4.0-rc2" from Tony Lindgren:

    Fixes for various omap variants, mostly minor fixes for various SoCs
    with the bigger changes being for the dra7 clocks and hwmod data:

    - Fix wl12xx for dm3730-evm

    - Fix omap4 prm save and clea

    - Fix hwmod clkdm use count

    - Fix hwmod data for pcie on dra7

    - Fix lockdep for hwmod

    - Fix USB on most omap3 boars by enabling it in the defconfig

    - Fix the bypass clock source for omap5 and dra7

    - Fix the ehrpwm clock for am33xx and am43xx

    - Enable AES and SHAM for BeagleBone white

    - Use rmii clock for am335x-lxm

    - Fix polling intervals for omap5 thermal zones

    - Fix slewctrl for am33xx and am43xx

    - Fix dra7-evm dcan pinctrl

    * tag 'fixes-v4.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: OMAP2+: Fix wl12xx on dm3730-evm with mainline u-boot
    ARM: OMAP: enable TWL4030_USB in omap2plus_defconfig
    ARM: dts: dra7x-evm: avoid possible contention while muxing on CAN lines
    ARM: dts: dra7x-evm: Don't use dcan1_rx.gpio1_15 in DCAN pinctrl
    ARM: dts: am43xx: fix SLEWCTRL_FAST pinctrl binding
    ARM: dts: am33xx: fix SLEWCTRL_FAST pinctrl binding
    ARM: dts: OMAP5: fix polling intervals for thermal zones
    ARM: dts: am335x-lxm: Use rmii-clock-ext
    ARM: dts: am335x-bone-common: enable aes and sham
    ARM: dts: am43xx-clocks: Fix ehrpwm tbclk data on am43xx
    ARM: dts: am33xx-clocks: Fix ehrpwm tbclk data on am33xx
    ARM: dts: OMAP5: Fix the bypass clock source for dpll_iva and others
    ARM: dts: DRA7x: Fix the bypass clock source for dpll_iva and others
    ARM: OMAP4+: PRM: fix omap4 version of prm_save_and_clear_irqen
    ARM: OMAP2+: hwmod: fix deassert hardreset clkdm usecounting
    ARM: DRA7: hwmod_data: Fix hwmod data for pcie
    ARM: omap2+: omap_hwmod: Set unique lock_class_key per hwmod

    Arnd Bergmann
     
  • This patch adds support to STiH410 SoC.

    Please note "st,stih410" is already present in device tree.
    The problem is that it is missing the entry in the match table,
    and so the L2 cache and other cpus than 0 don't get initialized.

    Signed-off-by: Fabrice Gasnier
    Tested-by: Maxime Coquelin
    Acked-by: Peter Griffin
    Acked-by: Lee Jones
    Signed-off-by: Maxime Coquelin
    Signed-off-by: Arnd Bergmann

    Fabrice GASNIER
     
  • …linux-at91 into fixes

    Pull "Second fixes batch for AT91 on 4.0" from Nicolas Ferre:

    - little fix for !MMU debug: may also help for randconfig
    - fix of 2 errors in LCD clock definitions
    - in PM code, not writing the key leads to not execute the action

    * tag 'at91-fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
    ARM: at91/pm: MOR register KEY was missing
    ARM: at91/dt: sama5d4: fix lcdck clock definition
    ARM: at91/dt: sama5d4: rename lcd_clk into lcdc_clk
    ARM: at91: debug: fix non MMU debug

    Arnd Bergmann
     
  • Pull "Fixes for v4.0 on the SoCFPGA platform" from Dinh Nguyen:

    - Fix the SCU virtual mapping
    - Add misssing DMA channels for UART nodes
    - Fix a sporadic SMP error where CPU1 was not seeing its start address

    * tag 'socfpga_fixes_for_v4.0' of git://git.rocketboards.org/linux-socfpga-next:
    ARM: socfpga: make sure socfpga_cpu1start_addr is properly flushed
    ARM: socfpga: fix uart DMA binding error
    ARM: socfpga: Correct SCU virtual mapping in socfpga

    Arnd Bergmann
     
  • USB vbus 5V is from PMIC SWBST, so set swbst_reg as vbus's
    parent reg, it fixed a bug that the voltage of vbus is incorrect
    due to swbst_reg is disabled after boots up.

    Cc: stable@vger.kernel.org
    Signed-off-by: Peter Chen
    Signed-off-by: Shawn Guo

    Peter Chen
     
  • USB vbus 5V is from PMIC SWBST, so set swbst_reg as vbus's
    parent reg, it fixed a bug that the voltage of vbus is incorrect
    due to swbst_reg is disabled after boots up.

    Cc: stable@vger.kernel.org
    Signed-off-by: Peter Chen
    Signed-off-by: Shawn Guo

    Peter Chen
     

10 Mar, 2015

3 commits

  • Pull kvm/s390 bugfixes from Marcelo Tosatti.

    * git://git.kernel.org/pub/scm/virt/kvm/kvm:
    KVM: s390: non-LPAR case obsolete during facilities mask init
    KVM: s390: include guest facilities in kvm facility test
    KVM: s390: fix in memory copy of facility lists
    KVM: s390/cpacf: Fix kernel bug under z/VM
    KVM: s390/cpacf: Enable key wrapping by default

    Linus Torvalds
     
  • Pull s390 fixes from Martin Schwidefsky:
    "One performance optimization for page_clear and a couple of bug fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
    s390/mm: fix incorrect ASCE after crst_table_downgrade
    s390/ftrace: fix crashes when switching tracers / add notrace to cpu_relax()
    s390/pci: unify pci_iomap symbol exports
    s390/pci: fix [un]map_resources sequence
    s390: let the compiler do page clearing
    s390/pci: fix possible information leak in mmio syscall
    s390/dcss: array index 'i' is used before limits check.
    s390/scm_block: fix off by one during cluster reservation
    s390/jump label: improve and fix sanity check
    s390/jump label: add missing jump_label_apply_nops() call

    Linus Torvalds
     
  • Pull networking fixes from David Miller:

    1) nft_compat accidently truncates ethernet protocol to 8-bits, from
    Arturo Borrero.

    2) Memory leak in ip_vs_proc_conn(), from Julian Anastasov.

    3) Don't allow the space required for nftables rules to exceed the
    maximum value representable in the dlen field. From Patrick
    McHardy.

    4) bcm63xx_enet can accidently leave interrupts permanently disabled
    due to errors in the NAPI polling exit logic. Fix from Nicolas
    Schichan.

    5) Fix OOPSes triggerable by the ping protocol module, due to missing
    address family validations etc. From Lorenzo Colitti.

    6) Don't use RCU locking in sleepable context in team driver, from Jiri
    Pirko.

    7) xen-netback miscalculates statistic offset pointers when reporting
    the stats to userspace. From David Vrabel.

    8) Fix a leak of up to 256 pages per VIF destroy in xen-netaback, also
    from David Vrabel.

    9) ip_check_defrag() cannot assume that skb_network_offset(),
    particularly when it is used by the AF_PACKET fanout defrag code.
    From Alexander Drozdov.

    10) gianfar driver doesn't query OF node names properly when trying to
    determine the number of hw queues available. Fix it to explicitly
    check for OF nodes named queue-group. From Tobias Waldekranz.

    11) MID field in macb driver should be 12 bits, not 16. From Punnaiah
    Choudary Kalluri.

    12) Fix unintentional regression in traceroute due to timestamp socket
    option changes. Empty ICMP payloads should be allowed in
    non-timestamp cases. From Willem de Bruijn.

    13) When devices are unregistered, we have to get rid of AF_PACKET
    multicast list entries that point to it via ifindex. Fix from
    Francesco Ruggeri.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (38 commits)
    tipc: fix bug in link failover handling
    net: delete stale packet_mclist entries
    net: macb: constify macb configuration data
    MAINTAINERS: add Marc Kleine-Budde as co maintainer for CAN networking layer
    MAINTAINERS: linux-can moved to github
    can: kvaser_usb: Read all messages in a bulk-in URB buffer
    can: kvaser_usb: Avoid double free on URB submission failures
    can: peak_usb: fix missing ctrlmode_ init for every dev
    can: add missing initialisations in CAN related skbuffs
    ip: fix error queue empty skb handling
    bgmac: Clean warning messages
    tcp: align tcp_xmit_size_goal() on tcp_tso_autosize()
    net: fec: fix unbalanced clk disable on driver unbind
    net: macb: Correct the MID field length value
    net: gianfar: correctly determine the number of queue groups
    ipv4: ip_check_defrag should not assume that skb_network_offset is zero
    net: bcmgenet: properly disable password matching
    net: eth: xgene: fix booting with devicetree
    bnx2x: Force fundamental reset for EEH recovery
    xen-netback: refactor xenvif_handle_frag_list()
    ...

    Linus Torvalds
     

09 Mar, 2015

1 commit


08 Mar, 2015

1 commit


07 Mar, 2015

8 commits

  • I upgraded my u-boot and noticed that wl12xx stopped working.
    Turns out the kernel is not setting the quirk for the MMC2
    copy clock while the eariler bootloader I had was setting it.

    Signed-off-by: Tony Lindgren

    Tony Lindgren
     
  • Pull power management and ACPI fixes from Rafael Wysocki:
    "These are fixes for recent regressions (ACPI resources management,
    suspend-to-idle), stable-candidate fixes (ACPI backlight), fixes
    related to the wakeup IRQ management changes made in v3.18, other
    fixes (suspend-to-idle, cpufreq ppc driver) and a couple of cleanups
    (suspend-to-idle, generic power domains, ACPI backlight).

    Specifics:

    - Fix ACPI resources management problems introduced by the recent
    rework of the code in question (Jiang Liu) and a build issue
    introduced by those changes (Joachim Nilsson).

    - Fix a recent suspend-to-idle regression on systems where entering
    idle states causes local timers to stop, prevent suspend-to-idle
    from crashing in restricted configurations (no cpuidle driver,
    cpuidle disabled etc.) and clean up the idle loop somewhat while at
    it (Rafael J Wysocki).

    - Fix build problem in the cpufreq ppc driver (Geert Uytterhoeven).

    - Allow the ACPI backlight driver module to be loaded if ACPI is
    disabled which helps the i915 driver in those configurations
    (stable-candidate) and change the code to help debug unusual use
    cases (Chris Wilson).

    - Wakeup IRQ management changes in v3.18 caused some drivers on the
    at91 platform to trigger a warning from the IRQ core related to an
    unexpected combination of interrupt action handler flags. However,
    on at91 a timer IRQ is shared with some other devices (including
    system wakeup ones) and that leads to the unusual combination of
    flags in question.

    To make it possible to avoid the warning introduce a new interrupt
    action handler flag (which can be used by drivers to indicate the
    special case to the core) and rework the problematic at91 drivers
    to use it and work as expected during system suspend/resume. From
    Boris Brezillon, Rafael J Wysocki and Mark Rutland.

    - Clean up the generic power domains subsystem's debugfs interface
    (Kevin Hilman)"

    * tag 'pm+acpi-4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    genirq / PM: describe IRQF_COND_SUSPEND
    tty: serial: atmel: rework interrupt and wakeup handling
    watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND
    cpuidle / sleep: Use broadcast timer for states that stop local timer
    clk: at91: implement suspend/resume for the PMC irqchip
    rtc: at91rm9200: rework wakeup and interrupt handling
    rtc: at91sam9: rework wakeup and interrupt handling
    PM / wakeup: export pm_system_wakeup symbol
    genirq / PM: Add flag for shared NO_SUSPEND interrupt lines
    ACPI / video: Propagate the error code for acpi_video_register
    ACPI / video: Load the module even if ACPI is disabled
    PM / Domains: cleanup: rename gpd -> genpd in debugfs interface
    cpufreq: ppc: Add missing #include
    x86/PCI/ACPI: Relax ACPI resource descriptor checks to work around BIOS bugs
    x86/PCI/ACPI: Ignore resources consumed by host bridge itself
    cpuidle: Clean up fallback handling in cpuidle_idle_call()
    cpuidle / sleep: Do sanity checks in cpuidle_enter_freeze() too
    idle / sleep: Avoid excessive disabling and enabling interrupts
    PCI: versatile: Update for list_for_each_entry() API change
    genirq / PM: better describe IRQF_NO_SUSPEND semantics

    Linus Torvalds
     
  • …l/git/pjw/omap-pending into omap-for-v4.0/fixes

    ARM: OMAP2+: first set of hwmod and PRCM fixes for v4.0-rc

    This series fixes the following bugs:

    - a lockdep problem with the OMAP hwmod code;
    - incorrect PCIe hwmod data for the DRA7xx chips;
    - the clockdomain handling in the hardreset deassertion code,
    preventing idle;
    - the use of an IRQ status register rather than an IRQ enable register
    in the OMAP4 PRM code.

    Basic build, boot, and PM test results are available here:

    http://www.pwsan.com/omap/testlogs/omap-hwmod-a-for-v4.0-rc/20150301165949/

    Tony Lindgren
     
  • Enable TWL4030_USB which is used at least on Nokia N900/N950/N9 (OMAP3)
    and BeagleBoard.

    Signed-off-by: Aaro Koskinen
    [tony@atomide.com: updated comments]
    Signed-off-by: Tony Lindgren

    Aaro Koskinen
     
  • DCAN1 RX and TX lines are internally pulled high according to [1].
    While muxing between DCAN mode and SAFE mode we make sure
    that the same pull direction is set to minimize opposite
    pull contention during the switching window.

    [1] in DRA7 data manual, Ball characteristics table 4-2, DSIS colum shows
    the state driven to the peripheral input while in the deselcted mode.
    DSIS - De-Selected Input State.

    Signed-off-by: Roger Quadros
    Signed-off-by: Tony Lindgren

    Roger Quadros
     
  • Rev.F onwards ball G19 (dcan1_rx) is used as a GPIO for some other
    function so don't include it in DCAN pinctrl node.

    Signed-off-by: Roger Quadros
    Signed-off-by: Tony Lindgren

    Roger Quadros
     
  • OMAP4 has a finer counter granularity, which allows for a delay of 1000ms
    in the thermal zone polling intervals. OMAP5 has a different counter
    mechanism, which allows at maximum a 500ms timer. Adjust the cpu thermal
    zone polling interval accordingly.

    Without this patch, the polling interval information is simply ignored,
    and the following thermal warnings are printed during boot (assuming
    thermal is enabled);

    [ 1.545343] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
    [ 1.552691] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported
    [ 1.560029] ti-soc-thermal 4a0021e0.bandgap: Delay 1000 ms is not supported

    Signed-off-by: Tero Kristo
    Cc: Tony Lindgren
    Acked-by: Eduardo Valentin
    Signed-off-by: Tony Lindgren

    Tero Kristo
     
  • Use external clock for RMII since the internal clock doesn't meet the
    jitter requirements.

    Signed-off-by: George McCollister
    Signed-off-by: Tony Lindgren

    George McCollister