31 May, 2014

2 commits

  • Pull firewire fix from Stefan Richter:
    "A regression fix for the IEEE 1394 subsystem: re-enable IRQ-based
    asynchronous request reception at addresses below 128 TB"

    * tag 'firewire-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
    firewire: revert to 4 GB RDMA, fix protocols using Memory Space

    Linus Torvalds
     
  • Pull device-mapper fixes from Mike Snitzer:
    "A dm-cache stable fix to split discards on cache block boundaries
    because dm-cache cannot yet handle discards that span cache blocks.

    Really fix a dm-mpath LOCKDEP warning that was introduced in -rc1.

    Add a 'no_space_timeout' control to dm-thinp to restore the ability to
    queue IO indefinitely when no data space is available. This fixes a
    change in behavior that was introduced in -rc6 where the timeout
    couldn't be disabled"

    * tag 'dm-3.15-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm mpath: really fix lockdep warning
    dm cache: always split discards on cache block boundaries
    dm thin: add 'no_space_timeout' dm-thin-pool module param

    Linus Torvalds
     

29 May, 2014

1 commit

  • Undo a feature introduced in v3.14 by commit fcd46b34425d
    "firewire: Enable remote DMA above 4 GB". That change raised the
    minimum address at which protocol drivers and user programs can register
    for request reception from 0x0001'0000'0000 to 0x8000'0000'0000.
    It turned out that at least one vendor-specific protocol exists which
    uses lower addresses: https://bugzilla.kernel.org/show_bug.cgi?id=76921

    For the time being, revert most of commit fcd46b34425d so that affected
    protocols work like with kernel v3.13 and before. Just keep the valid
    documentation parts from the regressing commit, and the ability to
    identify controllers which could be programmed to accept >32 bit
    physical DMA addresses. The rest of fcd46b34425d should probably be
    brought back as an optional instead of default feature.

    Reported-by: Fabien Spindler
    Cc: # 3.14+
    Signed-off-by: Stefan Richter

    Stefan Richter
     

28 May, 2014

1 commit

  • Pull kvm fixes from Paolo Bonzini:
    "Small fixes for x86, slightly larger fixes for PPC, and a forgotten
    s390 patch. The PPC fixes are important because they fix breakage
    that is new in 3.15"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    KVM: s390: announce irqfd capability
    KVM: x86: disable master clock if TSC is reset during suspend
    KVM: vmx: disable APIC virtualization in nested guests
    KVM guest: Make pv trampoline code executable
    KVM: PPC: Book3S: ifdef on CONFIG_KVM_BOOK3S_32_HANDLER for 32bit
    KVM: PPC: Book3S HV: Add missing code for transaction reclaim on guest exit
    KVM: PPC: Book3S: HV: make _PAGE_NUMA take effect

    Linus Torvalds
     

26 May, 2014

6 commits


25 May, 2014

1 commit

  • The temp[1-*]_min_hyst sysfs attribute is already implemented by 3
    hwmon drivers (adt7x10, lm77 and lm92) but was missing from the
    standard interface.

    Also add temp[1-*]_lcrit_hyst for consistency, even though no driver
    implement that one for the time being.

    Signed-off-by: Jean Delvare
    Reviewed-by: Guenter Roeck

    Jean Delvare
     

24 May, 2014

2 commits

  • Pull networking fixes from David Miller:
    "It looks like a sizeble collection but this is nearly 3 weeks of bug
    fixing while you were away.

    1) Fix crashes over IPSEC tunnels with NAT, the latter can reroute
    the packet through a non-IPSEC protected path and the code has to
    be able to handle SKBs attached to routes lacking an attached xfrm
    state. From Steffen Klassert.

    2) Fix OOPSs in ipv4 and ipv6 ipsec layers for unsupported
    sub-protocols, also from Steffen Klassert.

    3) Set local_df on fragmented netfilter skbs otherwise we won't be
    able to forward successfully, from Florian Westphal.

    4) cdc_mbim ipv6 neighbour code does __vlan_find_dev_deep without
    holding RCU lock, from Bjorn Mork.

    5) local_df test in ip_may_fragment is inverted, from Florian
    Westphal.

    6) jme driver doesn't check for DMA mapping failures, from Neil
    Horman.

    7) qlogic driver doesn't calculate number of TX queues properly, from
    Shahed Shaikh.

    8) fib_info_cnt can drift irreversibly positive if we fail to
    allocate the fi->fib_metrics array, from Sergey Popovich.

    9) Fix use after free in ip6_route_me_harder(), also from Sergey
    Popovich.

    10) When SYSCTL is disabled, we don't handle local_port_range and
    ping_group_range defaults properly at all, from Cong Wang.

    11) Unaccelerated VLAN tagged frames improperly handled by cdc_mbim
    driver, fix from Bjorn Mork.

    12) cassini driver needs nested lock annotations for TX locking, from
    Emil Goode.

    13) On init error ipv6 VTI driver can unregister pernet ops twice,
    oops. Fix from Mahtias Krause.

    14) If macvlan device is down, don't propagate IFF_ALLMULTI changes,
    from Peter Christensen.

    15) Missing NULL pointer check while parsing netlink config options in
    ip6_tnl_validate(). From Susant Sahani.

    16) Fix handling of neighbour entries during ipv6 router reachability
    probing, from Duan Jiong.

    17) x86 and s390 JIT address randomization has some address
    calculation bugs leading to crashes, from Alexei Starovoitov and
    Heiko Carstens.

    18) Clear up those uglies with nop patching and net_get_random_once(),
    from Hannes Frederic Sowa.

    19) Option length miscalculated in ip6_append_data(), fix also from
    Hannes Frederic Sowa.

    20) A while ago we fixed a race during device unregistry when a
    namespace went down, turns out there is a second place that needs
    similar protection. From Cong Wang.

    21) In the new Altera TSE driver multicast filtering isn't working,
    disable it and just use promisc mode until the cause is found.
    From Vince Bridgers.

    22) When we disable router enabling in ipv6 we have to flush the
    cached routes explicitly, from Duan Jiong.

    23) NBMA tunnels should not cache routes on the tunnel object because
    the key is variable, from Timo Teräs.

    24) With stacked devices GRO information in skb->cb[] can be not setup
    properly, make sure it is in all code paths. From Eric Dumazet.

    25) Really fix stacked vlan locking, multiple levels of nesting with
    intervening non-vlan devices are possible. From Vlad Yasevich.

    26) Fallback ipip tunnel device's mtu is not setup properly, from
    Steffen Klassert.

    27) The packet scheduler's tcindex filter can crash because we
    structure copy objects with list_head's inside, oops. From Cong
    Wang.

    28) Fix CHECKSUM_COMPLETE handling for ipv6 GRE tunnels, from Eric
    Dumazet.

    29) In some configurations 'itag' in __mkroute_input() can end up
    being used uninitialized because of how fib_validate_source()
    works. Fix it by explitly initializing itag to zero like all the
    other fib_validate_source() callers do, from Li RongQing"

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (116 commits)
    batman: fix a bogus warning from batadv_is_on_batman_iface()
    ipv4: initialise the itag variable in __mkroute_input
    bonding: Send ALB learning packets using the right source
    bonding: Don't assume 802.1Q when sending alb learning packets.
    net: doc: Update references to skb->rxhash
    stmmac: Remove unbalanced clk_disable call
    ipv6: gro: fix CHECKSUM_COMPLETE support
    net_sched: fix an oops in tcindex filter
    can: peak_pci: prevent use after free at netdev removal
    ip_tunnel: Initialize the fallback device properly
    vlan: Fix build error wth vlan_get_encap_level()
    can: c_can: remove obsolete STRICT_FRAME_ORDERING Kconfig option
    MAINTAINERS: Pravin Shelar is Open vSwitch maintainer.
    bnx2x: Convert return 0 to return rc
    bonding: Fix alb mode to only use first level vlans.
    bonding: Fix stacked device detection in arp monitoring
    macvlan: Fix lockdep warnings with stacked macvlan devices
    vlan: Fix lockdep warning with stacked vlan devices.
    net: Allow for more then a single subclass for netif_addr_lock
    net: Find the nesting level of a given device by type.
    ...

    Linus Torvalds
     
  • Prior to commit 4266129964b8 ("[media] DocBook: Move all media docbook
    stuff into its own directory") it was possible to build only a single
    (or more) book(s) by calling, for example

    make htmldocs DOCBOOKS=80211.xml

    This now fails:

    cp: target `.../Documentation/DocBook//media_api' is not a directory

    Ignore errors from that copy to make this possible again.

    Fixes: 4266129964b8 ("[media] DocBook: Move all media docbook stuff into its own directory")
    Signed-off-by: Johannes Berg
    Acked-by: Randy Dunlap
    Cc: Mauro Carvalho Chehab
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Berg
     

23 May, 2014

1 commit


21 May, 2014

3 commits

  • Pull PCI fixes from Bjorn Helgaas:
    "These are fixes for an SHPCHP hotplug regression, a "wait for pending
    transaction" problem (used in device reset paths), and an email
    address update.

    PCI device hotplug:
    - Fix SHPCHP bus speed mismatch issue (Marcel Apfelbaum)

    Miscellaneous:
    - Fix pci_wait_for_pending_transaction() (Gavin Shan)
    - Update email address (Ben Hutchings)"

    * tag 'pci-v3.15-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
    PCI: Wrong register used to check pending traffic
    PCI: shpchp: Check bridge's secondary (not primary) bus speed
    PCI: Update my email address

    Linus Torvalds
     
  • Pull clock framework fixes from Mike Turquette:
    "Clock framework and driver fixes, all of which fix user-visible
    regressions.

    As usual most fixes are for platform-specific clock drivers, but there
    are also two fixes to the clk core after recent changes to the way
    that clock unregistration is handled"

    * tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette/linux:
    clk: tegra: Fix wrong value written to PLLE_AUX
    clk: shmobile: clk-mstp: change to using clock-indices
    clk: Fix slab corruption in clk_unregister()
    clk: Fix double free due to devm_clk_register()
    clk: socfpga: fix clock driver for 3.15
    clk: divider: Fix best div calculation for power-of-two and table dividers
    clk: bcm281xx: don't use unnamed structs or unions

    Linus Torvalds
     
  • Commit 85ad643b ("dm thin: add timeout to stop out-of-data-space mode
    holding IO forever") introduced a fixed 60 second timeout. Users may
    want to either disable or modify this timeout.

    Allow the out-of-data-space timeout to be configured using the
    'no_space_timeout' dm-thin-pool module param. Setting it to 0 will
    disable the timeout, resulting in IO being queued until more data space
    is added to the thin-pool.

    Signed-off-by: Mike Snitzer
    Cc: stable@vger.kernel.org # 3.14+

    Mike Snitzer
     

20 May, 2014

1 commit


15 May, 2014

1 commit

  • s390 has acquired irqfd support with commit "KVM: s390: irq routing for
    adapter interrupts" (84223598778ba08041f4297fda485df83414d57e) but
    failed to announce it. Let's fix that.

    Signed-off-by: Cornelia Huck
    Acked-by: Christian Borntraeger
    Signed-off-by: Christian Borntraeger

    Cornelia Huck
     

13 May, 2014

2 commits

  • Pull ARM SoC fixes from Olof Johansson:
    "Seems like we've had more fixes than usual this release cycle, but
    there's nothing in particular that we're doing differently. Perhaps
    it's just one of those cycles where more people are finding more
    regressions (and/or that the latency of when people actually test
    what's been in the tree for a while is catching up so that we get the
    bug reports now).

    The bigger changes here are are for TI and Marvell platforms:
    * Timing changes for GPMC (generic localbus) on OMAP causing some
    largeish DTS deltas.
    * Fixes to window allocation on PCI for mvebu touching drivers/
    stuff. Patches have acks from subsystem maintainers where needed.
    * A fix from Thomas for a botched DT conversion in drivers/edma.

    There's a handful of other fixes for the above platforms as well as
    sunxi, at91, i.MX. I also included a MAINTAINER update for Broadcom,
    and a trivial move of a binding doc.

    I know you said you'd be offline this week, but I might as well post
    it for when you return. :)"

    I'm not quite offline yet. Doing a few pulls in the last hour before my
    internet goes away..

    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (31 commits)
    MAINTAINERS: update Broadcom ARM tree location and add an SoC family
    ARM: dts: i.MX53: Fix ipu register space size
    ARM: dts: kirkwood: fix mislocated pcie-controller nodes
    ARM: sunxi: Enable GMAC in sunxi_defconfig
    ARM: common: edma: Fix xbar mapping
    ARM: sun7i: Fix i2c4 base address
    ARM: Kirkwood: T5325: Fix double probe of Codec
    ARM: mvebu: enable the SATA interface on Armada 375 DB
    ARM: mvebu: specify I2C bus frequency on Armada 370 DB
    ARM: mvebu: use qsgmii phy-mode for Armada XP GP interfaces
    ARM: mvebu: fix NOR bus-width in Armada XP OpenBlocks AX3 Device Tree
    ARM: mvebu: fix NOR bus-width in Armada XP DB Device Tree
    ARM: mvebu: fix NOR bus-width in Armada XP GP Device Tree
    ARM: dts: AM3517: Disable absent IPs inherited from OMAP3
    ARM: dts: OMAP2: Fix interrupts for OMAP2420 mailbox
    ARM: dts: OMAP5: Add mailbox dt node to fix boot warning
    ARM: OMAP5: Switch to THUMB mode if needed on secondary CPU
    ARM: dts: am437x-gp-evm: Do not reset gpio5
    ARM: dts: omap3-igep0020: use SMSC9221 timings
    PCI: mvebu: split PCIe BARs into multiple MBus windows when needed
    ...

    Linus Torvalds
     
  • With the addition of clock-indices, we need to change the renesas
    clock implementation to use these instead of the local definition
    of "renesas,clock-indices".

    Since this will break booting with older device trees, we add a
    simple auto-detection of which properties are present.

    Signed-off-by: Ben Dooks
    Acked-by: Geert Uytterhoeven
    Reviewed-by: Wolfram Sang
    Signed-off-by: Mike Turquette

    Ben Dooks
     

12 May, 2014

1 commit


11 May, 2014

1 commit


10 May, 2014

1 commit


09 May, 2014

1 commit

  • Pull input subsystem fixes from Dmitry Torokhov:
    "Just a few fixups to various drivers"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: elantech - fix touchpad initialization on Gigabyte U2442
    Input: tca8418 - fix loading this driver as a module from a device tree
    Input: bma150 - extend chip detection for bma180
    Input: atkbd - fix keyboard not working on some LG laptops
    Input: synaptics - add min/max quirk for ThinkPad Edge E431

    Linus Torvalds
     

06 May, 2014

2 commits

  • Pull networking fixes from David Miller:

    1) e1000e computes header length incorrectly wrt vlans, fix from Vlad
    Yasevich.

    2) ns_capable() check in sock_diag netlink code, from Andrew
    Lutomirski.

    3) Fix invalid queue pairs handling in virtio_net, from Amos Kong.

    4) Checksum offloading busted in sxgbe driver due to incorrect
    descriptor layout, fix from Byungho An.

    5) Fix build failure with SMC_DEBUG set to 2 or larger, from Zi Shen
    Lim.

    6) Fix uninitialized A and X registers in BPF interpreter, from Alexei
    Starovoitov.

    7) Fix arch dependencies of candence driver.

    8) Fix netlink capabilities checking tree-wide, from Eric W Biederman.

    9) Don't dump IFLA_VF_PORTS if netlink request didn't ask for it in
    IFLA_EXT_MASK, from David Gibson.

    10) IPV6 FIB dump restart doesn't handle table changes that happen
    meanwhile, causing the code to loop forever or emit dups, fix from
    Kumar Sandararajan.

    11) Memory leak on VF removal in bnx2x, from Yuval Mintz.

    12) Bug fixes for new Altera TSE driver from Vince Bridgers.

    13) Fix route lookup key in SCTP, from Xugeng Zhang.

    14) Use BH blocking spinlocks in SLIP, as per a similar fix to CAN/SLCAN
    driver. From Oliver Hartkopp.

    15) TCP doesn't bump retransmit counters in some code paths, fix from
    Eric Dumazet.

    16) Clamp delayed_ack in tcp_cubic to prevent theoretical divides by
    zero. Fix from Liu Yu.

    17) Fix locking imbalance in error paths of HHF packet scheduler, from
    John Fastabend.

    18) Properly reference the transport module when vsock_core_init() runs,
    from Andy King.

    19) Fix buffer overflow in cdc_ncm driver, from Bjørn Mork.

    20) IP_ECN_decapsulate() doesn't see a correct SKB network header in
    ip_tunnel_rcv(), fix from Ying Cai.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (132 commits)
    net: macb: Fix race between HW and driver
    net: macb: Remove 'unlikely' optimization
    net: macb: Re-enable RX interrupt only when RX is done
    net: macb: Clear interrupt flags
    net: macb: Pass same size to DMA_UNMAP as used for DMA_MAP
    ip_tunnel: Set network header properly for IP_ECN_decapsulate()
    e1000e: Restrict MDIO Slow Mode workaround to relevant parts
    e1000e: Fix issue with link flap on 82579
    e1000e: Expand workaround for 10Mb HD throughput bug
    e1000e: Workaround for dropped packets in Gig/100 speeds on 82579
    net/mlx4_core: Don't issue PCIe speed/width checks for VFs
    net/mlx4_core: Load the Eth driver first
    net/mlx4_core: Fix slave id computation for single port VF
    net/mlx4_core: Adjust port number in qp_attach wrapper when detaching
    net: cdc_ncm: fix buffer overflow
    Altera TSE: ALTERA_TSE should depend on HAS_DMA
    vsock: Make transport the proto owner
    net: sched: lock imbalance in hhf qdisc
    net: mvmdio: Check for a valid interrupt instead of an error
    net phy: Check for aneg completion before setting state to PHY_RUNNING
    ...

    Linus Torvalds
     
  • The hw_version 3 Elantech touchpad on the Gigabyte U2442 does not accept
    0x0b as initialization value for r10, this stand-alone version of the
    driver: http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2

    Uses 0x03 which does work, so this means not setting bit 3 of r10 which
    sets: "Enable Real H/W Resolution In Absolute mode"

    Which will result in half the x and y resolution we get with that bit set,
    so simply not setting it everywhere is not a solution. We've been unable to
    find a way to identify touchpads where setting the bit will fail, so this
    patch uses a dmi based blacklist for this.

    https://bugzilla.kernel.org/show_bug.cgi?id=61151

    Cc: stable@vger.kernel.org
    Reported-by: Philipp Wolfer
    Tested-by: Philipp Wolfer
    Signed-off-by: Hans de Goede
    Signed-off-by: Dmitry Torokhov

    Hans de Goede
     

05 May, 2014

1 commit

  • Pull arm64 fixes from Catalin Marinas:
    "These are mostly arm64 fixes with an additional arm(64) platform fix
    for the initialisation of vexpress clocks (the latter only affecting
    arm64; the arch/arm64 code is SoC agnostic and does not rely on early
    SoC-specific calls)

    - vexpress platform clocks initialisation moved earlier following the
    arm64 move of of_clk_init() call in a previous commit
    - Default DMA ops changed to non-coherent to preserve compatibility
    with 32-bit ARM DT files. The "dma-coherent" property can be used
    to explicitly mark a device coherent. The Applied Micro DT file
    has been updated to avoid DMA cache maintenance for the X-Gene SATA
    controller (the only arm64 related driver with such assumption in
    -rc mainline)
    - Fixmap correction for earlyprintk
    - kern_addr_valid() fix for huge pages"

    * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
    vexpress: Initialise the sysregs before setting up the clocks
    arm64: Mark the Applied Micro X-Gene SATA controller as DMA coherent
    arm64: Use bus notifiers to set per-device coherent DMA ops
    arm64: Make default dma_ops to be noncoherent
    arm64: fixmap: fix missing sub-page offset for earlyprintk
    arm64: Fix for the arm64 kern_addr_valid() function

    Linus Torvalds
     

04 May, 2014

1 commit


03 May, 2014

1 commit

  • Pull timer fixes from Thomas Gleixner:
    "This update brings along:

    - Two fixes for long standing bugs in the hrtimer code, one which
    prevents remote enqueuing and the other preventing arbitrary delays
    after a interrupt hang was detected

    - A fix in the timer wheel which prevents math overflow

    - A fix for a long standing issue with the architected ARM timer
    related to the C3STOP mechanism.

    - A trivial compile fix for nspire SoC clocksource"

    * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    timer: Prevent overflow in apply_slack
    hrtimer: Prevent remote enqueue of leftmost timers
    hrtimer: Prevent all reprogramming if hang detected
    clocksource: nspire: Fix compiler warning
    clocksource: arch_arm_timer: Fix age-old arch timer C3STOP detection issue

    Linus Torvalds
     

30 Apr, 2014

2 commits

  • Pull sound fixes from Takashi Iwai:
    "A few collections of small eggs that have been gathered during the
    Easter holidays. Mostly small ASoC fixes, with a HD-audio quirk and a
    workaround for Nvidia controller"

    * tag 'sound-3.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda - Suppress CORBRP clear on Nvidia controller chips
    ALSA: hda - add headset mic detect quirk for a Dell laptop
    ASoC: jz4740: Remove Makefile entry for removed file
    ASoC: Intel: Fix audio crash due to negative address offset
    ASoC: dapm: Fix widget double free with auto-disable DAPM kcontrol
    ASoC: Intel: Fix incorrect sizeof() in sst_hsw_stream_get_volume()
    ASoC: Intel: some incorrect sizeof() usages
    ASoC: cs42l73: Convert to use devm_gpio_request_one
    ASoC: cs42l52: Convert to use devm_gpio_request_one
    ASoC: tlv320aic31xx: document that the regulators are mandatory
    ASoC: fsl_spdif: Fix wrong OFFSET of STC_SYSCLK_DIV
    ASoC: alc5623: Fix regmap endianness
    ASoC: tlv320aic3x: fix shared reset pin for DT
    ASoC: rsnd: fix clock prepare/unprepare

    Linus Torvalds
     
  • …ano/linux into timers/urgent

    clockevent fixes for 3.15 from Daniel Lezcano:
    * Lorenzo Pieralizi fixed an issue with the arch_arm_timer where the
    C3STOP flag for all the arch can cause some trouble by setting the
    flag only if the power domain is not always on
    * Alexander Shiyan fixed a compilation by changing the init function
    to the right prototype

    Thomas Gleixner
     

29 Apr, 2014

2 commits

  • This is another great example of trainwreck engineering:

    commit 2646a0e529 (ARM: edma: Add EDMA crossbar event mux support)
    added support for using EDMA on peripherals which have no direct EDMA
    event mapping.

    The code compiles and does not explode in your face, but that's it.

    1) Reading an u16 array from an u32 device tree array simply does not
    work. Even if the function is named "edma_of_read_u32_to_s16_array".

    It merily calls of_property_read_u16_array. So the resulting 16bit
    array will have every other entry = 0.

    2) The DT entry for the xbar registers related to xbar has length 0x10
    instead of the real length: 0xfd0 - 0xf90 = 0x40.

    Not a real problem as it does not cross a page boundary, but
    wrong nevertheless.

    3) But none of this matters as the mapping never happens:

    After reading nonsense edma_of_read_u32_to_s16_array() invalidates
    the first array entry pair, so nobody can ever notice the
    braindamage by immediate explosion.

    Seems the QA criteria for this code was solely not to explode when
    someone adds edma-xbar-event-map entries to the DT. Goal achieved,
    congratulations!

    Not really helpful if someone wants to use edma on a device which
    requires a xbar mapping.

    Fix the issues by:

    - annotating the device tree entry with "/bits/ 16" as documented in
    the of_property_read_u16_array kernel doc

    - make the size of the xbar register mapping correct

    - invalidating the end of the array and not the start

    This convoluted mess wants to be completely rewritten as there is no
    point to keep the xbar_chan array memory and the iomapping of the xbar
    regs around forever. Marking the xbar mapped channels as used should
    be done right there.

    But that's a different issue and this patch is small enough to make it
    work and allows a simple backport for stable.

    Cc: stable@vger.kernel.org # v3.12+
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Sekhar Nori

    Thomas Gleixner
     
  • ARM arch timers are tightly coupled with the CPU logic and lose context
    on platform implementing HW power management when cores are powered
    down at run-time. Marking the arch timers as C3STOP regardless of power
    management capabilities causes issues on platforms with no power management,
    since in that case the arch timers cannot possibly enter states where the
    timer loses context at runtime and therefore can always be used as a high
    resolution clockevent device.

    In order to fix the C3STOP issue in a way compliant with how real HW
    works, this patch adds a boolean property to the arch timer bindings
    to define if the arch timer is managed by an always-on power domain.

    This power domain is present on all ARM platforms to date, and manages
    HW that must not be turned off, whatever the state of other HW
    components (eg power controller). On platforms with no power management
    capabilities, it is the only power domain present, which encompasses
    and manages power supply for all HW components in the system.

    If the timer is powered by the always-on power domain, the always-on
    property must be present in the bindings which means that the timer cannot
    be shutdown at runtime, so it is not a C3STOP clockevent device.
    If the timer binding does not contain the always-on property, the timer is
    assumed to be power-gateable, hence it must be defined as a C3STOP
    clockevent device.

    Cc: Daniel Lezcano
    Cc: Magnus Damm
    Cc: Marc Carino
    Cc: Mark Rutland
    Acked-by: Marc Zyngier
    Acked-by: Rob Herring
    Signed-off-by: Lorenzo Pieralisi
    Signed-off-by: Daniel Lezcano

    Lorenzo Pieralisi
     

28 Apr, 2014

1 commit

  • This adds ability for the arc_emac to really handle its supplying clock.
    To get the needed clock-frequency either a real clock or the previous
    clock-frequency property must be provided.

    Signed-off-by: Heiko Stuebner
    Tested-by: Max Schwarz
    Signed-off-by: David S. Miller

    Heiko Stübner
     

26 Apr, 2014

2 commits


24 Apr, 2014

1 commit


23 Apr, 2014

2 commits