16 Dec, 2013

2 commits

  • Pull networking fixes from David Miller:

    1) Revert CHECKSUM_COMPLETE optimization in pskb_trim_rcsum(), I can't
    figure out why it breaks things.

    2) Fix comparison in netfilter ipset's hash_netnet4_data_equal(), it
    was basically doing "x == x", from Dave Jones.

    3) Freescale FEC driver was DMA mapping the wrong number of bytes, from
    Sebastian Siewior.

    4) Blackhole and prohibit routes in ipv6 were not doing the right thing
    because their ->input and ->output methods were not being assigned
    correctly. Now they behave properly like their ipv4 counterparts.
    From Kamala R.

    5) Several drivers advertise the NETIF_F_FRAGLIST capability, but
    really do not support this feature and will send garbage packets if
    fed fraglist SKBs. From Eric Dumazet.

    6) Fix long standing user triggerable BUG_ON over loopback in RDS
    protocol stack, from Venkat Venkatsubra.

    7) Several not so common code paths can potentially try to invoke
    packet scheduler actions that might be NULL without checking. Shore
    things up by either 1) defining a method as mandatory and erroring
    on registration if that method is NULL 2) defininig a method as
    optional and the registration function hooks up a default
    implementation when NULL is seen. From Jamal Hadi Salim.

    8) Fix fragment detection in xen-natback driver, from Paul Durrant.

    9) Kill dangling enter_memory_pressure method in cg_proto ops, from
    Eric W Biederman.

    10) SKBs that traverse namespaces should have their local_df cleared,
    from Hannes Frederic Sowa.

    11) IOCB file position is not being updated by macvtap_aio_read() and
    tun_chr_aio_read(). From Zhi Yong Wu.

    12) Don't free virtio_net netdev before releasing all of the NAPI
    instances. From Andrey Vagin.

    13) Procfs entry leak in xt_hashlimit, from Sergey Popovich.

    14) IPv6 routes that are no cached routes should not count against the
    garbage collection limits. We had this almost right, but were
    missing handling addrconf generated routes properly. From Hannes
    Frederic Sowa.

    15) fib{4,6}_rule_suppress() have to consider potentially seeing NULL
    route info when they are called, from Stefan Tomanek.

    16) TUN and MACVTAP have had truncated packet signalling for some time,
    fix from Jason Wang.

    17) Fix use after frrr in __udp4_lib_rcv(), from Eric Dumazet.

    18) xen-netback does not interpret the NAPI budget properly for TX work,
    fix from Paul Durrant.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (132 commits)
    igb: Fix for issue where values could be too high for udelay function.
    i40e: fix null dereference
    xen-netback: fix gso_prefix check
    net: make neigh_priv_len in struct net_device 16bit instead of 8bit
    drivers: net: cpsw: fix for cpsw crash when build as modules
    xen-netback: napi: don't prematurely request a tx event
    xen-netback: napi: fix abuse of budget
    sch_tbf: use do_div() for 64-bit divide
    udp: ipv4: must add synchronization in udp_sk_rx_dst_set()
    net:fec: remove duplicate lines in comment about errata ERR006358
    Revert "8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature"
    8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature
    xen-netback: make sure skb linear area covers checksum field
    net: smc91x: Fix device tree based configuration so it's usable
    udp: ipv4: fix potential use after free in udp_v4_early_demux()
    macvtap: signal truncated packets
    tun: unbreak truncated packet signalling
    net: sched: htb: fix the calculation of quantum
    net: sched: tbf: fix the calculation of max_size
    micrel: add support for KSZ8041RNLI
    ...

    Linus Torvalds
     
  • Pull PCI updates from Bjorn Helgaas:
    "PCI device hotplug
    - Move device_del() from pci_stop_dev() to pci_destroy_dev() (Rafael
    Wysocki)

    Host bridge drivers
    - Update maintainers for DesignWare, i.MX6, Armada, R-Car (Bjorn
    Helgaas)
    - mvebu: Return 'unsupported' for Interrupt Line and Interrupt Pin
    (Jason Gunthorpe)

    Miscellaneous
    - Avoid unnecessary CPU switch when calling .probe() (Alexander
    Duyck)
    - Revert "workqueue: allow work_on_cpu() to be called recursively"
    (Bjorn Helgaas)
    - Disable Bus Master only on kexec reboot (Khalid Aziz)
    - Omit PCI ID macro strings to shorten quirk names for LTO (Michal
    Marek)"

    * tag 'pci-v3.13-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
    MAINTAINERS: Add DesignWare, i.MX6, Armada, R-Car PCI host maintainers
    PCI: Disable Bus Master only on kexec reboot
    PCI: mvebu: Return 'unsupported' for Interrupt Line and Interrupt Pin
    PCI: Omit PCI ID macro strings to shorten quirk names
    PCI: Move device_del() from pci_stop_dev() to pci_destroy_dev()
    Revert "workqueue: allow work_on_cpu() to be called recursively"
    PCI: Avoid unnecessary CPU switch when calling driver .probe() method

    Linus Torvalds
     

13 Dec, 2013

1 commit

  • Pull ARM SoC fixes from Olof Johansson:
    "Another week, another batch of fixes.

    Again, OMAP regressions due to move to DT is the bulk of the changes
    here, but this should be the last of it for 3.13. There are also a
    handful of OMAP hwmod changes (power management, reset handling) for
    USB on OMAP3 that fixes some longish-standing bugs around USB resets.

    There are a couple of other changes that also add up line count a bit:
    One is a long-standing bug with the keyboard layout on one of the PXA
    platforms. The other is a fix for highbank that moves their
    power-off/reset button handling to be done in-kernel since relying on
    userspace to handle it was fragile and awkward"

    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: sun6i: dt: Fix interrupt trigger types
    ARM: sun7i: dt: Fix interrupt trigger types
    MAINTAINERS: merge IMX6 entry into IMX
    ARM: tegra: add missing break to fuse initialization code
    ARM: pxa: prevent PXA270 occasional reboot freezes
    ARM: pxa: tosa: fix keys mapping
    ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected
    ARM: OMAP2+: hwmod: Fix usage of invalid iclk / oclk when clock node is not present
    ARM: OMAP3: hwmod data: Don't prevent RESET of USB Host module
    ARM: OMAP2+: hwmod: Fix SOFTRESET logic
    ARM: OMAP4+: hwmod data: Don't prevent RESET of USB Host module
    ARM: dts: Fix booting for secure omaps
    ARM: OMAP2+: Fix the machine entry for am3517
    ARM: dts: Fix missing entries for am3517
    ARM: OMAP2+: Fix overwriting hwmod data with data from device tree
    ARM: davinci: Fix McASP mem resource names
    ARM: highbank: handle soft poweroff and reset key events
    ARM: davinci: fix number of resources passed to davinci_gpio_register()
    gpio: davinci: fix check for unbanked gpio

    Linus Torvalds
     

12 Dec, 2013

2 commits

  • I have been co-maintaining IMX sub-architecture for a couple of years,
    and collecting IMX sub-architecture patches rather than IMX6 only ones
    for a few release cycles. It makes sense to officially add myself as
    the co-maintainer for IMX sub-architecture now. Consequently, IMX6
    entry can just be merged into IMX.

    While at it, add a 'F:' entry for IMX DTS files.

    Signed-off-by: Shawn Guo
    Acked-by: Sascha Hauer
    Signed-off-by: Olof Johansson

    Shawn Guo
     
  • Add entries for PCI host controller drivers in drivers/pci/host/.

    Signed-off-by: Mohit Kumar # DESIGNWARE
    Signed-off-by: Pratyush Anand # DESIGNWARE
    Signed-off-by: Bjorn Helgaas
    Acked-by: Simon Horman # R-CAR
    Double-Plus-Acked-by: Jason Cooper # MVEBU
    Acked-by: Jingoo Han
    Acked-by: Thierry Reding
    Acked-by: Thomas Petazzoni
    Acked-by: Richard Zhu # IMX6

    Bjorn Helgaas
     

09 Dec, 2013

2 commits

  • Pull char/misc driver fixes from Greg KH:
    "Nothing huge, just a few small bugfixes for problems reported, and a
    device id update"

    * tag 'char-misc-3.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    mei: add 9 series PCH mei device ids
    drivers/char/i8k.c: add Dell XPLS L421X
    MAINTAINERS: add HSI subsystem
    misc: mic: Suppress memory space sparse warnings
    misc: mic: Fix endianness issues.
    misc: mic: Fix user space namespace pollution from mic_common.h.
    misc: mic: Bug fix for sysfs poll usage.
    misc: mic: Minor bug fix in 'retry' loops.
    misc: mic: Change mic_notify(...) to return true.
    extcon: remove freed groups caused the panic or warning in unregister flow
    extcon: arizona: Get pdata from arizona structure not device

    Linus Torvalds
     
  • Pull USB fixes from Greg KH:
    "Here are a bunch of USB fixes for 3.13-rc3.

    Nothing major, but we seem to have an argument about a XHCI fix, so
    I'm not including a revert that Sarah requested, because that breaks a
    USB network driver, and I can't revert the USB network driver fix
    without reintroducing other bugs that it fixed. So as it is,
    everything should now be working. Worse case, I can revert the XHCI
    fix before 3.13-final is out, but it seems to work well here with my
    testing, so all should be good.

    Other than that, some driver updates based on reports"

    * tag 'usb-3.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (40 commits)
    usb: hub: Use correct reset for wedged USB3 devices that are NOTATTACHED
    usb: ohci-pxa27x: include linux/dma-mapping.h
    USB: cdc-acm: Added support for the Lenovo RD02-D400 USB Modem
    usb: tools: fix a regression issue that gcc can't link to pthread
    USB: switch maintainership of chipidea to Peter
    USB: pl2303: fixed handling of CS5 setting
    USB: ftdi_sio: fixed handling of unsupported CSIZE setting
    USB: mos7840: correct handling of CS5 setting
    USB: spcp8x5: correct handling of CS5 setting
    usb: wusbcore: fix deadlock in wusbhc_gtk_rekey
    usb: wusbcore: do device lookup while holding the hc mutex
    usb: wusbcore: send keepalives to unauthenticated devices
    USB: option: support new huawei devices
    USB: serial: option: blacklist interface 1 for Huawei E173s-6
    usb: xhci: Link TRB must not occur within a USB payload burst
    usb: gadget: f_mass_storage: call try_to_freeze only when its safe
    usb: gadget: tcm_usb_gadget: mark bot_cleanup_old_alt static
    usb: gadget: ffs: fix sparse warning
    usb: gadget: zero: module parameters can be static
    usb: gadget: storage: fix sparse warning
    ...

    Linus Torvalds
     

07 Dec, 2013

1 commit

  • Pull devicetree fixes from Rob Herring:
    - Various DT binding documentation updates
    - Add Kumar Gala and remove Stephen Warren as DT binding maintainers

    * tag 'dt-fixes-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt: binding: reword PowerPC 8xxx GPIO documentation
    ARM: tegra: delete nvidia,tegra20-spi.txt binding
    hwmon: ntc_thermistor: Fix typo (pullup-uV -> pullup-uv)
    of: add vendor prefix for GMT
    clk: exynos: Fix typos in DT bindings documentation
    of: Add vendor prefix for LG Corporation
    Documentation: net: fsl-fec.txt: Add phy-supply entry
    ARM: dts: doc: Document missing binding for omap5-mpu
    dt-bindings: add ARMv8 PMU binding
    MAINTAINERS: remove swarren from DT bindings
    MAINTAINERS: Add Kumar to Device Tree Binding maintainers group

    Linus Torvalds
     

06 Dec, 2013

3 commits

  • Remove Tushar and Peter (PJ) as maintainers, since they have moved out
    of our group and no longer work on Wired Ethernet.

    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Jeff Kirsher
     
  • Pull NFS client bugfixes from Trond Myklebust:
    - Stable fix for a NFSv4.1 delegation and state recovery deadlock
    - Stable fix for a loop on irrecoverable errors when returning
    delegations
    - Fix a 3-way deadlock between layoutreturn, open, and state recovery
    - Update the MAINTAINERS file with contact information for Trond
    Myklebust
    - Close needs to handle NFS4ERR_ADMIN_REVOKED
    - Enabling v4.2 should not recompile nfsd and lockd
    - Fix a couple of compile warnings

    * tag 'nfs-for-3.13-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
    nfs: fix do_div() warning by instead using sector_div()
    MAINTAINERS: Update contact information for Trond Myklebust
    NFSv4.1: Prevent a 3-way deadlock between layoutreturn, open and state recovery
    SUNRPC: do not fail gss proc NULL calls with EACCES
    NFSv4: close needs to handle NFS4ERR_ADMIN_REVOKED
    NFSv4: Update list of irrecoverable errors on DELEGRETURN
    NFSv4 wait on recovery for async session errors
    NFS: Fix a warning in nfs_setsecurity
    NFS: Enabling v4.2 should not recompile nfsd and lockd

    Linus Torvalds
     
  • Pull btrfs MAINTAINERS file update:
    "I'm still getting settled into new devel hardware etc, but I do have
    one commit for the next rc.

    This changes my email over to fb.com, and adds a MAINTAINERS entry for
    Josef as well"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
    Btrfs: update the MAINTAINERS file

    Linus Torvalds
     

05 Dec, 2013

1 commit


04 Dec, 2013

2 commits


03 Dec, 2013

4 commits

  • I'm afraid I'm rather burned out w.r.t. DT bindings. As has probably
    been evident, I don't have and haven't made the time to review many
    recently. As such, remove myself from that MAINTAINERS entry.

    Signed-off-by: Stephen Warren
    Signed-off-by: Rob Herring

    Stephen Warren
     
  • I'm tossing my hat into the ring of maintainers/reviewers for device tree
    bindings based on history of dealing with DT on embedded PPC and starting
    work on ARM SoCs.

    Signed-off-by: Kumar Gala
    Acked-by: Pawel Moll
    Cc: Mark Rutland
    Acked-by: Stephen Warren
    Cc: Ian Campbell
    Cc: Rob Herring
    Cc: Grant Likely
    Cc: Olof Johansson
    Signed-off-by: Rob Herring

    Kumar Gala
     
  • Pull scheduler fixes from Ingo Molnar:
    "Various smaller fixlets, all over the place"

    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    sched/doc: Fix generation of device-drivers
    sched: Expose preempt_schedule_irq()
    sched: Fix a trivial typo in comments
    sched: Remove unused variable in 'struct sched_domain'
    sched: Avoid NULL dereference on sd_busy
    sched: Check sched_domain before computing group power
    MAINTAINERS: Update file patterns in the lockdep and scheduler entries

    Linus Torvalds
     
  • Pull networking updates from David Miller:
    "Here is a pile of bug fixes that accumulated while I was in Europe"

    1) In fixing kernel leaks to userspace during copying of socket
    addresses, we broke a case that used to work, namely the user
    providing a buffer larger than the in-kernel generic socket address
    structure. This broke Ruby amongst other things. Fix from Dan
    Carpenter.

    2) Fix regression added by byte queue limit support in 8139cp driver,
    from Yang Yingliang.

    3) The addition of MSG_SENDPAGE_NOTLAST buggered up a few sendpage
    implementations, they should just treat it the same as MSG_MORE.
    Fix from Richard Weinberger and Shawn Landden.

    4) Handle icmpv4 errors received on ipv6 SIT tunnels correctly, from
    Oussama Ghorbel. In particular we should send an ICMPv6 unreachable
    in such situations.

    5) Fix some regressions in the recent genetlink fixes, in particular
    get the pmcraid driver to use the new safer interfaces correctly.
    From Johannes Berg.

    6) macvtap was converted to use a per-cpu set of statistics, but some
    code was still bumping tx_dropped elsewhere. From Jason Wang.

    7) Fix build failure of xen-netback due to missing include on some
    architectures, from Andy Whitecroft.

    8) macvtap double counts received packets in statistics, fix from Vlad
    Yasevich.

    9) Fix various cases of using *_STATS_BH() when *_STATS() is more
    appropriate. From Eric Dumazet and Hannes Frederic Sowa.

    10) Pktgen ipsec mode doesn't update the ipv4 header length and checksum
    properly after encapsulation. Fix from Fan Du.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (61 commits)
    net/mlx4_en: Remove selftest TX queues empty condition
    {pktgen, xfrm} Update IPv4 header total len and checksum after tranformation
    virtio_net: make all RX paths handle erors consistently
    virtio_net: fix error handling for mergeable buffers
    virtio_net: Fixed a trivial typo (fitler --> filter)
    netem: fix gemodel loss generator
    netem: fix loss 4 state model
    netem: missing break in ge loss generator
    net/hsr: Support iproute print_opt ('ip -details ...')
    net/hsr: Very small fix of comment style.
    MAINTAINERS: Added net/hsr/ maintainer
    ipv6: fix possible seqlock deadlock in ip6_finish_output2
    ixgbe: Make ixgbe_identify_qsfp_module_generic static
    ixgbe: turn NETIF_F_HW_L2FW_DOFFLOAD off by default
    ixgbe: ixgbe_fwd_ring_down needs to be static
    e1000: fix possible reset_task running after adapter down
    e1000: fix lockdep warning in e1000_reset_task
    e1000: prevent oops when adapter is being closed and reset simultaneously
    igb: Fixed Wake On LAN support
    inet: fix possible seqlock deadlocks
    ...

    Linus Torvalds
     

01 Dec, 2013

1 commit


28 Nov, 2013

1 commit


23 Nov, 2013

2 commits

  • Pull x86 platform driver updates from Matthew Garrett:
    "A moderate diffstat, but it's almost entirely just moving the
    chromebook driver into its own directory in order to ease ARM support,
    adding back rfkill support to the one Dell laptop model where it's
    expected to work, updates to the Intel IPC driver for hardware I've
    never actually seen and the usual set of small fixes"

    [ This actually came in before the merge window closed, and I had just
    missed it because it didn't match my git pull email pattern. - Linus ]

    * 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86: (24 commits)
    x86, wmi fix modalias_show return values
    ipc: Added support for IPC interrupt mode
    ipc: Handle error conditions in ipc command
    ipc: Enabled ipc support for additional intel platforms
    ipc: Added platform data structure
    thinkpad_acpi: Fix build error when CONFIG_SND_MAX_CARDS > 32
    platform: add chrome platform directory
    hp-wmi: detect "2009 BIOS or later" flag by WMI 0x0d for wireless cmd
    dell-wmi: Add KEY_MICMUTE to bios_to_linux_keycode
    platform:x86: Remove OOM message after input_allocate_device
    sony-laptop: fixe typos in sony_laptop_input_keycode_map
    sony-laptop: warn on multiple KBD backlight handles
    dell-laptop: Only enable rfkill functionality on laptops with a hw killswitch
    dell-laptop: Add a force_rfkill module parameter
    dell-laptop: Wait less long before updating rfkill after an rfkill keypress
    dell-laptop: Do not skip setting blocked bit rfkill_set while hw-blocked
    dell-laptop: Sync current block state to BIOS on hw switch change
    dell-laptop: Allow changing the sw_state while the radio is blocked by hw
    dell-laptop: Don't read-back sw_state on machines with a hardware switch
    dell-laptop: Don't set sw_state from the query callback
    ...

    Linus Torvalds
     
  • Pull second xfs update from Ben Myers:
    "There are a couple of patches that I wasn't quite sure about in time
    for our initial 3.13 pull request, a bugfix, and an update to add Dave
    to MAINTAINERS:

    Here we have a performance fix for inode iversion, increased inode
    cluster size for v5 superblock filesystems, a fix for error handling
    in xfs_bmap_add_attrfork, and a MAINTAINERS update to add Dave"

    * tag 'xfs-for-linus-v3.13-rc1-2' of git://oss.sgi.com/xfs/xfs:
    xfs: open code inc_inode_iversion when logging an inode
    xfs: increase inode cluster size for v5 filesystems
    xfs: fix unlock in xfs_bmap_add_attrfork
    xfs: update maintainers

    Linus Torvalds
     

22 Nov, 2013

3 commits

  • Merge patches from Andrew Morton:
    "13 fixes"

    * emailed patches from Andrew Morton :
    mm: place page->pmd_huge_pte to right union
    MAINTAINERS: add keyboard driver to Hyper-V file list
    x86, mm: do not leak page->ptl for pmd page tables
    ipc,shm: correct error return value in shmctl (SHM_UNLOCK)
    mm, mempolicy: silence gcc warning
    block/partitions/efi.c: fix bound check
    ARM: drivers/rtc/rtc-at91rm9200.c: disable interrupts at shutdown
    mm: hugetlbfs: fix hugetlbfs optimization
    kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS cleanly
    ipc,shm: fix shm_file deletion races
    mm: thp: give transparent hugepage code a separate copy_page
    checkpatch: fix "Use of uninitialized value" warnings
    configfs: fix race between dentry put and lookup

    Linus Torvalds
     
  • Pull security subsystem updates from James Morris:
    "In this patchset, we finally get an SELinux update, with Paul Moore
    taking over as maintainer of that code.

    Also a significant update for the Keys subsystem, as well as
    maintenance updates to Smack, IMA, TPM, and Apparmor"

    and since I wanted to know more about the updates to key handling,
    here's the explanation from David Howells on that:

    "Okay. There are a number of separate bits. I'll go over the big bits
    and the odd important other bit, most of the smaller bits are just
    fixes and cleanups. If you want the small bits accounting for, I can
    do that too.

    (1) Keyring capacity expansion.

    KEYS: Consolidate the concept of an 'index key' for key access
    KEYS: Introduce a search context structure
    KEYS: Search for auth-key by name rather than target key ID
    Add a generic associative array implementation.
    KEYS: Expand the capacity of a keyring

    Several of the patches are providing an expansion of the capacity of a
    keyring. Currently, the maximum size of a keyring payload is one page.
    Subtract a small header and then divide up into pointers, that only gives
    you ~500 pointers on an x86_64 box. However, since the NFS idmapper uses
    a keyring to store ID mapping data, that has proven to be insufficient to
    the cause.

    Whatever data structure I use to handle the keyring payload, it can only
    store pointers to keys, not the keys themselves because several keyrings
    may point to a single key. This precludes inserting, say, and rb_node
    struct into the key struct for this purpose.

    I could make an rbtree of records such that each record has an rb_node
    and a key pointer, but that would use four words of space per key stored
    in the keyring. It would, however, be able to use much existing code.

    I selected instead a non-rebalancing radix-tree type approach as that
    could have a better space-used/key-pointer ratio. I could have used the
    radix tree implementation that we already have and insert keys into it by
    their serial numbers, but that means any sort of search must iterate over
    the whole radix tree. Further, its nodes are a bit on the capacious side
    for what I want - especially given that key serial numbers are randomly
    allocated, thus leaving a lot of empty space in the tree.

    So what I have is an associative array that internally is a radix-tree
    with 16 pointers per node where the index key is constructed from the key
    type pointer and the key description. This means that an exact lookup by
    type+description is very fast as this tells us how to navigate directly to
    the target key.

    I made the data structure general in lib/assoc_array.c as far as it is
    concerned, its index key is just a sequence of bits that leads to a
    pointer. It's possible that someone else will be able to make use of it
    also. FS-Cache might, for example.

    (2) Mark keys as 'trusted' and keyrings as 'trusted only'.

    KEYS: verify a certificate is signed by a 'trusted' key
    KEYS: Make the system 'trusted' keyring viewable by userspace
    KEYS: Add a 'trusted' flag and a 'trusted only' flag
    KEYS: Separate the kernel signature checking keyring from module signing

    These patches allow keys carrying asymmetric public keys to be marked as
    being 'trusted' and allow keyrings to be marked as only permitting the
    addition or linkage of trusted keys.

    Keys loaded from hardware during kernel boot or compiled into the kernel
    during build are marked as being trusted automatically. New keys can be
    loaded at runtime with add_key(). They are checked against the system
    keyring contents and if their signatures can be validated with keys that
    are already marked trusted, then they are marked trusted also and can
    thus be added into the master keyring.

    Patches from Mimi Zohar make this usable with the IMA keyrings also.

    (3) Remove the date checks on the key used to validate a module signature.

    X.509: Remove certificate date checks

    It's not reasonable to reject a signature just because the key that it was
    generated with is no longer valid datewise - especially if the kernel
    hasn't yet managed to set the system clock when the first module is
    loaded - so just remove those checks.

    (4) Make it simpler to deal with additional X.509 being loaded into the kernel.

    KEYS: Load *.x509 files into kernel keyring
    KEYS: Have make canonicalise the paths of the X.509 certs better to deduplicate

    The builder of the kernel now just places files with the extension ".x509"
    into the kernel source or build trees and they're concatenated by the
    kernel build and stuffed into the appropriate section.

    (5) Add support for userspace kerberos to use keyrings.

    KEYS: Add per-user_namespace registers for persistent per-UID kerberos caches
    KEYS: Implement a big key type that can save to tmpfs

    Fedora went to, by default, storing kerberos tickets and tokens in tmpfs.
    We looked at storing it in keyrings instead as that confers certain
    advantages such as tickets being automatically deleted after a certain
    amount of time and the ability for the kernel to get at these tokens more
    easily.

    To make this work, two things were needed:

    (a) A way for the tickets to persist beyond the lifetime of all a user's
    sessions so that cron-driven processes can still use them.

    The problem is that a user's session keyrings are deleted when the
    session that spawned them logs out and the user's user keyring is
    deleted when the UID is deleted (typically when the last log out
    happens), so neither of these places is suitable.

    I've added a system keyring into which a 'persistent' keyring is
    created for each UID on request. Each time a user requests their
    persistent keyring, the expiry time on it is set anew. If the user
    doesn't ask for it for, say, three days, the keyring is automatically
    expired and garbage collected using the existing gc. All the kerberos
    tokens it held are then also gc'd.

    (b) A key type that can hold really big tickets (up to 1MB in size).

    The problem is that Active Directory can return huge tickets with lots
    of auxiliary data attached. We don't, however, want to eat up huge
    tracts of unswappable kernel space for this, so if the ticket is
    greater than a certain size, we create a swappable shmem file and dump
    the contents in there and just live with the fact we then have an
    inode and a dentry overhead. If the ticket is smaller than that, we
    slap it in a kmalloc()'d buffer"

    * 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: (121 commits)
    KEYS: Fix keyring content gc scanner
    KEYS: Fix error handling in big_key instantiation
    KEYS: Fix UID check in keyctl_get_persistent()
    KEYS: The RSA public key algorithm needs to select MPILIB
    ima: define '_ima' as a builtin 'trusted' keyring
    ima: extend the measurement list to include the file signature
    kernel/system_certificate.S: use real contents instead of macro GLOBAL()
    KEYS: fix error return code in big_key_instantiate()
    KEYS: Fix keyring quota misaccounting on key replacement and unlink
    KEYS: Fix a race between negating a key and reading the error set
    KEYS: Make BIG_KEYS boolean
    apparmor: remove the "task" arg from may_change_ptraced_domain()
    apparmor: remove parent task info from audit logging
    apparmor: remove tsk field from the apparmor_audit_struct
    apparmor: fix capability to not use the current task, during reporting
    Smack: Ptrace access check mode
    ima: provide hash algo info in the xattr
    ima: enable support for larger default filedata hash algorithms
    ima: define kernel parameter 'ima_template=' to change configured default
    ima: add Kconfig default measurement list template
    ...

    Linus Torvalds
     
  • Signed-off-by: Haiyang Zhang
    Cc: Dmitry Torokhov
    Cc: "K. Y. Srinivasan"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Haiyang Zhang
     

21 Nov, 2013

1 commit

  • It makes sense to split out the Chromebook/Chromebox hardware platform
    drivers to a separate subdirectory, since some of it will be shared
    between ARM and x86.

    This moves over the existing chromeos_laptop driver without making
    any other changes, and adds appropriate Kconfig entries for the new
    directory. It also adds a MAINTAINERS entry for the new subdir.

    Signed-off-by: Olof Johansson
    Signed-off-by: Matthew Garrett

    Olof Johansson
     

20 Nov, 2013

1 commit

  • Pull networking fixes from David Miller:
    "Mostly these are fixes for fallout due to merge window changes, as
    well as cures for problems that have been with us for a much longer
    period of time"

    1) Johannes Berg noticed two major deficiencies in our genetlink
    registration. Some genetlink protocols we passing in constant
    counts for their ops array rather than something like
    ARRAY_SIZE(ops) or similar. Also, some genetlink protocols were
    using fixed IDs for their multicast groups.

    We have to retain these fixed IDs to keep existing userland tools
    working, but reserve them so that other multicast groups used by
    other protocols can not possibly conflict.

    In dealing with these two problems, we actually now use less state
    management for genetlink operations and multicast groups.

    2) When configuring interface hardware timestamping, fix several
    drivers that simply do not validate that the hwtstamp_config value
    is one the driver actually supports. From Ben Hutchings.

    3) Invalid memory references in mwifiex driver, from Amitkumar Karwar.

    4) In dev_forward_skb(), set the skb->protocol in the right order
    relative to skb_scrub_packet(). From Alexei Starovoitov.

    5) Bridge erroneously fails to use the proper wrapper functions to make
    calls to netdev_ops->ndo_vlan_rx_{add,kill}_vid. Fix from Toshiaki
    Makita.

    6) When detaching a bridge port, make sure to flush all VLAN IDs to
    prevent them from leaking, also from Toshiaki Makita.

    7) Put in a compromise for TCP Small Queues so that deep queued devices
    that delay TX reclaim non-trivially don't have such a performance
    decrease. One particularly problematic area is 802.11 AMPDU in
    wireless. From Eric Dumazet.

    8) Fix crashes in tcp_fastopen_cache_get(), we can see NULL socket dsts
    here. Fix from Eric Dumzaet, reported by Dave Jones.

    9) Fix use after free in ipv6 SIT driver, from Willem de Bruijn.

    10) When computing mergeable buffer sizes, virtio-net fails to take the
    virtio-net header into account. From Michael Dalton.

    11) Fix seqlock deadlock in ip4_datagram_connect() wrt. statistic
    bumping, this one has been with us for a while. From Eric Dumazet.

    12) Fix NULL deref in the new TIPC fragmentation handling, from Erik
    Hugne.

    13) 6lowpan bit used for traffic classification was wrong, from Jukka
    Rissanen.

    14) macvlan has the same issue as normal vlans did wrt. propagating LRO
    disabling down to the real device, fix it the same way. From Michal
    Kubecek.

    15) CPSW driver needs to soft reset all slaves during suspend, from
    Daniel Mack.

    16) Fix small frame pacing in FQ packet scheduler, from Eric Dumazet.

    17) The xen-netfront RX buffer refill timer isn't properly scheduled on
    partial RX allocation success, from Ma JieYue.

    18) When ipv6 ping protocol support was added, the AF_INET6 protocol
    initialization cleanup path on failure was borked a little. Fix
    from Vlad Yasevich.

    19) If a socket disconnects during a read/recvmsg/recvfrom/etc that
    blocks we can do the wrong thing with the msg_name we write back to
    userspace. From Hannes Frederic Sowa. There is another fix in the
    works from Hannes which will prevent future problems of this nature.

    20) Fix route leak in VTI tunnel transmit, from Fan Du.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (106 commits)
    genetlink: make multicast groups const, prevent abuse
    genetlink: pass family to functions using groups
    genetlink: add and use genl_set_err()
    genetlink: remove family pointer from genl_multicast_group
    genetlink: remove genl_unregister_mc_group()
    hsr: don't call genl_unregister_mc_group()
    quota/genetlink: use proper genetlink multicast APIs
    drop_monitor/genetlink: use proper genetlink multicast APIs
    genetlink: only pass array to genl_register_family_with_ops()
    tcp: don't update snd_nxt, when a socket is switched from repair mode
    atm: idt77252: fix dev refcnt leak
    xfrm: Release dst if this dst is improper for vti tunnel
    netlink: fix documentation typo in netlink_set_err()
    be2net: Delete secondary unicast MAC addresses during be_close
    be2net: Fix unconditional enabling of Rx interface options
    net, virtio_net: replace the magic value
    ping: prevent NULL pointer dereference on write to msg_name
    bnx2x: Prevent "timeout waiting for state X"
    bnx2x: prevent CFC attention
    bnx2x: Prevent panic during DMAE timeout
    ...

    Linus Torvalds
     

19 Nov, 2013

2 commits

  • Pull i2c changes from Wolfram Sang:
    - new drivers for exynos5, bcm kona, and st micro
    - bigger overhauls for drivers mxs and rcar
    - typical driver bugfixes, cleanups, improvements
    - got rid of the superfluous 'driver' member in i2c_client struct This
    touches a few drivers in other subsystems. All acked.

    * 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (38 commits)
    i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()
    i2c: i2c-eg20t: do not print error message in syslog if no ACK received
    i2c: bcm-kona: Introduce Broadcom I2C Driver
    i2c: cbus-gpio: Fix device tree binding
    i2c: wmt: add missing clk_disable_unprepare() on error
    i2c: designware: add new ACPI IDs
    i2c: i801: Add Device IDs for Intel Wildcat Point-LP PCH
    i2c: exynos5: Remove incorrect clk_disable_unprepare
    i2c: i2c-st: Add ST I2C controller
    i2c: exynos5: add High Speed I2C controller driver
    i2c: rcar: fixup rcar type naming
    i2c: scmi: remove some bogus NULL checks
    i2c: sh_mobile & rcar: Enable the driver on all ARM platforms
    i2c: sh_mobile: Convert to clk_prepare/unprepare
    i2c: mux: gpio: use reg value for i2c_add_mux_adapter
    i2c: mux: gpio: use gpio_set_value_cansleep()
    i2c: Include linux/of.h header
    i2c: mxs: Fix PIO mode on i.MX23
    i2c: mxs: Rework the PIO mode operation
    i2c: mxs: distinguish i.MX23 and i.MX28 based I2C controller
    ...

    Linus Torvalds
     
  • Pull EDAC updates from Borislav Petkov:
    "Following up on last week's discussion, here's my part of the EDAC
    pile, highlights in the signed tag.

    The last two patches have a date from just now because I've just
    applied them to the tree after Johannes sent them to me earlier. I
    decided to forward them now because they're trivial.

    There's a third one for MPC85xx which adds PCIe error interrupt
    support but since it is not so trivial and hasn't seen any linux-next
    time, I'm deferring it to 3.14

    EDAC update highlights:
    - Support for Calxeda ECX-2000 memory controller, from Robert Richter
    - Misc Calxeda Highbank drivers and EDAC core cleanups, from Rob
    Herring and Robert Richter
    - New maintainer for Freescale's MPC85xx EDAC driver: Johannes
    Thumshirn"

    * tag 'edac_for_3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
    edac/85xx: Remove mpc85xx_pci_err_remove
    EDAC: Add edac-mpc85xx driver to MAINTAINERS
    edac, highbank: Moving error injection to sysfs for edac
    edac, highbank: Add MAINTAINERS entry
    edac: Unify reporting of device info for device, mc and pci
    edac, highbank: Improve and unify naming
    edac, highbank: Add Calxeda ECX-2000 support
    ARM: dts: calxeda: move memory-controller node out of ecx-common.dtsi
    edac, highbank: Fix interrupt setup of mem and l2 controller

    Linus Torvalds
     

18 Nov, 2013

1 commit


17 Nov, 2013

2 commits

  • Pull ARM SoC fixes from Olof Johansson:
    "A first set of batches of fixes for 3.13. The diffstat is large
    mostly because we're adding a defconfig for a family that's been
    lacking it, and there's some missing clock information added for i.MX
    and OMAP.

    The at91 new code is around dealing with RTC/RTT reset at boot to fix
    possible hangs due to pending wakeup interrupts coming in during early
    boot"

    * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (29 commits)
    ARM: OMAP2+: Fix build for dra7xx without omap4 and 5
    ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume
    doc: devicetree: Add bindings documentation for omap-des driver
    ARM: dts: doc: Document missing compatible property for omap-sham driver
    ARM: OMAP3: Beagle: fix return value check in beagle_opp_init()
    ARM: at91: fix hanged boot due to early rtt-interrupt
    ARM: at91: fix hanged boot due to early rtc-interrupt
    video: exynos_mipi_dsim: Remove unused variable
    ARM: highbank: only select errata 764369 if SMP
    ARM: sti: only select errata 764369 if SMP
    ARM: tegra: init fuse before setting reset handler
    ARM: vt8500: add defconfig for v6/v7 chips
    ARM: integrator_cp: Set LCD{0,1} enable lines when turning on CLCD
    ARM: OMAP: devicetree: fix SPI node compatible property syntax items
    pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed
    ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init()
    MAINTAINERS: drop discontinued mailing list
    ARM: dts: i.MX51: Fix OTG PHY clock
    ARM: imx: set up pllv3 POWER and BYPASS sequentially
    ARM: imx: pllv3 needs relock in .set_rate() call
    ...

    Linus Torvalds
     
  • …ierry.reding/linux-pwm

    Pull pwm changes from Thierry Reding:
    "Mostly bug fixes and clean up. There is a new driver, which is
    actually moving a custom PWM driver from drivers/misc.

    The majority of the patches are enhancements to the device tree
    support in the pwm-backlight driver. Backlights can now additionally
    be powered using a regulator and enabled using a GPIO in addition to
    just the PWM input"

    * tag 'pwm/for-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (30 commits)
    Documentation/pwm: Update supported SoC name for pwm-samsung
    pwm: samsung: Fix kernel warning while unexporting a channel
    MAINTAINERS: Move PWM subsystem tree to kernel.org
    Documentation/pwm: Fix trivial typos
    pwm-backlight: Remove unused variable
    pwm_backlight: avoid short blank screen while doing hibernation
    pwm-backlight: Fix brightness adjustment
    pwm: add ep93xx PWM support
    pwm-backlight: Allow for non-increasing brightness levels
    pwm-backlight: Add power supply support
    pwm-backlight: Use new enable_gpio field
    unicore32: Initialize PWM backlight enable_gpio field
    ARM: shmobile: Initialize PWM backlight enable_gpio field
    ARM: SAMSUNG: Initialize PWM backlight enable_gpio field
    ARM: pxa: Initialize PWM backlight enable_gpio field
    ARM: OMAP: Initialize PWM backlight enable_gpio field
    pwm-backlight: Add optional enable GPIO
    pwm-backlight: Track enable state
    pwm-backlight: Refactor backlight power on/off
    pwm-backlight: Improve readability
    ...

    Linus Torvalds
     

16 Nov, 2013

4 commits

  • The diff is against latest 'net' repository;

    Signed-off-by: Petko Manolov
    Signed-off-by: David S. Miller

    Petko Manolov
     
  • Pull hwmon fixes and updates from Jean Delvare:
    "All lm90 driver fixes and improvements"

    * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    Documentation: dt: hwmon: Add OF document for LM90
    hwmon: (lm90) Add power control
    hwmon: (lm90) Add support for TI TMP451
    hwmon: (lm90) Use enums for the indexes of temp8 and temp11
    hwmon: (lm90) Add support to handle IRQ
    hwmon: (lm90) Define status bits
    hwmon: (lm90) Fix max6696 alarm handling

    Linus Torvalds
     
  • …pub/scm/linux/kernel/git/tmlind/linux-omap into fixes

    Few clock fixes, a runtime PM fix, and pinctrl-single fix along
    with few other fixes that popped up during the merge window.

    * tag 'omap-for-v3.13/fixes-for-merge-window-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: OMAP2+: Fix build for dra7xx without omap4 and 5
    ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume
    doc: devicetree: Add bindings documentation for omap-des driver
    ARM: dts: doc: Document missing compatible property for omap-sham driver
    ARM: OMAP3: Beagle: fix return value check in beagle_opp_init()
    ARM: OMAP: devicetree: fix SPI node compatible property syntax items
    pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed
    ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init()
    + sync with newer trunk

    Olof Johansson
     
  • Pull kconfig changes from Michal Marek:
    - xconfig stores its setting in a meaningful path
    (~/.config/kernel.org/qconf.conf)
    - kconfig symbol search fix
    - documentation fixes
    - cleanup & comment update
    - fix warning when a kconfig symbol is defined with two different types
    - Yann is now officially listed as maintainer of kconfig, but he
    prefers me to send pull requests for now

    * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    MAINTAINERS: New kconfig maintainer
    xconfig: Fix the filename for GUI settings
    kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len
    kconfig: remove unused definition from scanner
    kconfig: adjust warning message for conflicting types
    kconfig: fix trivial typos and update mconf documentation
    kconfig: add short explanation to SYMBOL_WRITE
    Documentation/kbuild/kconfig.txt: 'make listnewconfig' replaces: yes "" | make oldconfig

    Linus Torvalds
     

15 Nov, 2013

4 commits

  • Add OF document for LM90 in Documentation/devicetree/.

    [JD: Add this new file to the LM90 MAINTAINERS entry.]

    Signed-off-by: Wei Ni
    Signed-off-by: Jean Delvare

    Wei Ni
     
  • Propagate the file movement effects of the following commits:

    7a6354e241d8 sched: Move wait.c into kernel/sched/
    8eddac3f1037 locking: Move the lockdep code to kernel/locking/

    Signed-off-by: Joe Perches
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1384469985.2897.32.camel@joe-AO722
    Signed-off-by: Ingo Molnar

    Joe Perches
     
  • Pull drm updates from Dave Airlie:
    "This is a combo of -next and some -fixes that came in in the
    intervening time.

    Highlights:

    New drivers:
    ARM Armada driver for Marvell Armada 510 SOCs

    Intel:
    Broadwell initial support under a default off switch,
    Stereo/3D HDMI mode support
    Valleyview improvements
    Displayport improvements
    Haswell fixes
    initial mipi dsi panel support
    CRC support for debugging
    build with CONFIG_FB=n

    Radeon:
    enable DPM on a number of GPUs by default
    secondary GPU powerdown support
    enable HDMI audio by default
    Hawaii support

    Nouveau:
    dynamic pm code infrastructure reworked, does nothing major yet
    GK208 modesetting support
    MSI fixes, on by default again
    PMPEG improvements
    pageflipping fixes

    GMA500:
    minnowboard SDVO support

    VMware:
    misc fixes

    MSM:
    prime, plane and rendernodes support

    Tegra:
    rearchitected to put the drm driver into the drm subsystem.
    HDMI and gr2d support for tegra 114 SoC

    QXL:
    oops fix, and multi-head fixes

    DRM core:
    sysfs lifetime fixes
    client capability ioctl
    further cleanups to device midlayer
    more vblank timestamp fixes"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (789 commits)
    drm/nouveau: do not map evicted vram buffers in nouveau_bo_vma_add
    drm/nvc0-/gr: shift wrapping bug in nvc0_grctx_generate_r406800
    drm/nouveau/pwr: fix missing mutex unlock in a failure path
    drm/nv40/therm: fix slowing down fan when pstate undefined
    drm/nv11-: synchronise flips to vblank, unless async flip requested
    drm/nvc0-: remove nasty fifo swmthd hack for flip completion method
    drm/nv10-: we no longer need to create nvsw object on user channels
    drm/nouveau: always queue flips relative to kernel channel activity
    drm/nouveau: there is no need to reserve/fence the new fb when flipping
    drm/nouveau: when bailing out of a pushbuf ioctl, do not remove previous fence
    drm/nouveau: allow nouveau_fence_ref() to be a noop
    drm/nvc8/mc: msi rearm is via the nvc0 method
    drm/ttm: Fix vma page_prot bit manipulation
    drm/vmwgfx: Fix a couple of compile / sparse warnings and errors
    drm/vmwgfx: Resource evict fixes
    drm/edid: compare actual vrefresh for all modes for quirks
    drm: shmob_drm: Convert to clk_prepare/unprepare
    drm/nouveau: fix 32-bit build
    drm/i915/opregion: fix build error on CONFIG_ACPI=n
    Revert "drm/radeon/audio: don't set speaker allocation on DCE4+"
    ...

    Linus Torvalds
     
  • Pull KVM changes from Paolo Bonzini:
    "Here are the 3.13 KVM changes. There was a lot of work on the PPC
    side: the HV and emulation flavors can now coexist in a single kernel
    is probably the most interesting change from a user point of view.

    On the x86 side there are nested virtualization improvements and a few
    bugfixes.

    ARM got transparent huge page support, improved overcommit, and
    support for big endian guests.

    Finally, there is a new interface to connect KVM with VFIO. This
    helps with devices that use NoSnoop PCI transactions, letting the
    driver in the guest execute WBINVD instructions. This includes some
    nVidia cards on Windows, that fail to start without these patches and
    the corresponding userspace changes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (146 commits)
    kvm, vmx: Fix lazy FPU on nested guest
    arm/arm64: KVM: PSCI: propagate caller endianness to the incoming vcpu
    arm/arm64: KVM: MMIO support for BE guest
    kvm, cpuid: Fix sparse warning
    kvm: Delete prototype for non-existent function kvm_check_iopl
    kvm: Delete prototype for non-existent function complete_pio
    hung_task: add method to reset detector
    pvclock: detect watchdog reset at pvclock read
    kvm: optimize out smp_mb after srcu_read_unlock
    srcu: API for barrier after srcu read unlock
    KVM: remove vm mmap method
    KVM: IOMMU: hva align mapping page size
    KVM: x86: trace cpuid emulation when called from emulator
    KVM: emulator: cleanup decode_register_operand() a bit
    KVM: emulator: check rex prefix inside decode_register()
    KVM: x86: fix emulation of "movzbl %bpl, %eax"
    kvm_host: typo fix
    KVM: x86: emulate SAHF instruction
    MAINTAINERS: add tree for kvm.git
    Documentation/kvm: add a 00-INDEX file
    ...

    Linus Torvalds