04 Nov, 2017

1 commit

  • MIPS will soon not be a part of Imagination Technologies, and as such
    many @imgtec.com email addresses will no longer be valid. This patch
    updates the addresses for those who:

    - Have 10 or more patches in mainline authored using an @imgtec.com
    email address, or any patches dated within the past year.

    - Are still with Imagination but leaving as part of the MIPS business
    unit, as determined from an internal email address list.

    - Haven't already updated their email address (ie. JamesH) or expressed
    a desire to be excluded (ie. Maciej).

    - Acked v2 or earlier of this patch, which leaves Deng-Cheng, Matt &
    myself.

    New addresses are of the form firstname.lastname@mips.com, and all
    verified against an internal email address list. An entry is added to
    .mailmap for each person such that get_maintainer.pl will report the new
    addresses rather than @imgtec.com addresses which will soon be dead.

    Instances of the affected addresses throughout the tree are then
    mechanically replaced with the new @mips.com address.

    Signed-off-by: Paul Burton
    Cc: Deng-Cheng Zhu
    Cc: Deng-Cheng Zhu
    Acked-by: Dengcheng Zhu
    Cc: Matt Redfearn
    Cc: Matt Redfearn
    Acked-by: Matt Redfearn
    Cc: Andrew Morton
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Cc: trivial@kernel.org
    Signed-off-by: Linus Torvalds

    Paul Burton
     

01 Nov, 2017

1 commit

  • This reverts commit 0cc2b4e5a020 (PM / QoS: Fix device resume latency PM
    QoS) as it introduced regressions on multiple systems and the fix-up
    in commit 2a9a86d5c813 (PM / QoS: Fix default runtime_pm device resume
    latency) does not address all of them.

    The original problem that commit 0cc2b4e5a020 was attempting to fix
    will be addressed later.

    Fixes: 0cc2b4e5a020 (PM / QoS: Fix device resume latency PM QoS)
    Reported-by: Geert Uytterhoeven
    Signed-off-by: Rafael J. Wysocki

    Rafael J. Wysocki
     

29 Oct, 2017

1 commit

  • …t/masahiroy/linux-kbuild

    Pull Kbuild fixes from Masahiro Yamada:

    - fix O= building on dash

    - remove unused dependency in Makefile

    - fix default of a choice in Kconfig

    - fix typos and documentation style

    - fix command options unrecognized by sparse

    * tag 'kbuild-fixes-v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
    kbuild: clang: fix build failures with sparse check
    kbuild doc: a bundle of fixes on makefiles.txt
    Makefile: kselftest: fix grammar typo
    kbuild: Fix optimization level choice default
    kbuild: drop unused symverfile in Makefile.modpost
    kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)

    Linus Torvalds
     

24 Oct, 2017

2 commits

  • The special value of 0 for device resume latency PM QoS means
    "no restriction", but there are two problems with that.

    First, device resume latency PM QoS requests with 0 as the
    value are always put in front of requests with positive
    values in the priority lists used internally by the PM QoS
    framework, causing 0 to be chosen as an effective constraint
    value. However, that 0 is then interpreted as "no restriction"
    effectively overriding the other requests with specific
    restrictions which is incorrect.

    Second, the users of device resume latency PM QoS have no
    way to specify that *any* resume latency at all should be
    avoided, which is an artificial limitation in general.

    To address these issues, modify device resume latency PM QoS to
    use S32_MAX as the "no constraint" value and 0 as the "no
    latency at all" one and rework its users (the cpuidle menu
    governor, the genpd QoS governor and the runtime PM framework)
    to follow these changes.

    Also add a special "n/a" value to the corresponding user space I/F
    to allow user space to indicate that it cannot accept any resume
    latencies at all for the given device.

    Fixes: 85dc0b8a4019 (PM / QoS: Make it possible to expose PM QoS latency constraints)
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=197323
    Reported-by: Reinette Chatre
    Tested-by: Reinette Chatre
    Signed-off-by: Rafael J. Wysocki
    Acked-by: Alex Shi
    Cc: All applicable

    Rafael J. Wysocki
     
  • It does several fixes:
    1. move the displaced ld example to its reasonable place.
    2. add new example for command gzip.
    3. fix 2 number errors.
    4. fix format of chapter 7.x, make it looks the same as other chapters.

    Signed-off-by: Cao jin
    Signed-off-by: Masahiro Yamada

    Cao jin
     

23 Oct, 2017

1 commit

  • Pull staging and IIO fixes from Greg KH:
    "Here are a small number of patches to resolve some reported IIO and a
    staging driver problem. Nothing major here, full details are in the
    shortlog below.

    All have been in linux-next with no reported issues"

    * tag 'staging-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
    staging: bcm2835-audio: Fix memory corruption
    iio: adc: at91-sama5d2_adc: fix probe error on missing trigger property
    iio: adc: dln2-adc: fix build error
    iio: dummy: events: Add missing break
    staging: iio: ade7759: fix signed extension bug on shift of a u8
    iio: pressure: zpa2326: Remove always-true check which confuses gcc
    iio: proximity: as3935: noise detection + threshold changes

    Linus Torvalds
     

22 Oct, 2017

1 commit

  • Pull irq fixes from Thomas Gleixner:
    "A set of small fixes mostly in the irq drivers area:

    - Make the tango irq chip work correctly, which requires a new
    function in the generiq irq chip implementation

    - A set of updates to the GIC-V3 ITS driver removing a bogus BUG_ON()
    and parsing the VCPU table size correctly"

    * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    genirq: generic chip: remove irq_gc_mask_disable_reg_and_ack()
    irqchip/tango: Use irq_gc_mask_disable_and_ack_set
    genirq: generic chip: Add irq_gc_mask_disable_and_ack_set()
    irqchip/gic-v3-its: Add missing changes to support 52bit physical address
    irqchip/gic-v3-its: Fix the incorrect parsing of VCPU table size
    irqchip/gic-v3-its: Fix the incorrect BUG_ON in its_init_vpe_domain()
    DT: arm,gic-v3: Update the ITS size in the examples

    Linus Torvalds
     

20 Oct, 2017

1 commit

  • Commit 764f80798b95 ("doc: Add RCU files to docbook-generation files")
    added :external: options for RCU source files in the file
    Documentation/core-api/kernel-api.rst. However, this now means nothing,
    so this commit removes them.

    Reported-by: Randy Dunlap
    Reported-by: Akira Yokosawa
    Signed-off-by: Paul E. McKenney
    Signed-off-by: Linus Torvalds

    Paul E. McKenney
     

16 Oct, 2017

2 commits

  • This adds a short document describing the views of how the Linux kernel
    community feels about enforcing the license of the kernel.

    Acked-by: Al Viro
    Acked-by: Alex Elder (Linaro)
    Acked-by: Andrea Arcangeli
    Acked-by: Andy Gross
    Acked-by: Aneesh Kumar K.V
    Acked-by: Anna Schumaker
    Acked-by: Ard Biesheuvel
    Acked-by: Arnd Bergmann
    Acked-by: Arvind Yadav
    Acked-by: Bart Van Assche
    Acked-by: Bhumika Goyal
    Acked-by: Bjorn Andersson
    Acked-by: Borislav Petkov
    Acked-by: Christian Borntraeger
    Acked-by: Christian König
    Acked-by: Christophe JAILLET
    Acked-by: Chuck Lever
    Acked-by: Colin Ian King
    Acked-by: Daniel Borkmann
    Acked-by: Daniel Lezcano
    Acked-by: Daniel Vetter
    Acked-by: Darrick J. Wong (Oracle)
    Acked-by: Darrick J. Wong
    Acked-by: David Kershner
    Acked-by: David S. Miller
    Acked-by: Dmitry Torokhov
    Acked-by: Doug Ledford
    Acked-by: Fabio Estevam
    Acked-by: Felipe Balbi
    Acked-by: Florian Westphal
    Acked-by: Geert Uytterhoeven
    Acked-by: Guenter Roeck
    Acked-by: Hannes Reinecke
    Acked-by: Hans de Goede
    Acked-by: Heiko Carstens
    Acked-by: Heiko Stuebner
    Acked-by: Heiner Kallweit
    Acked-by: Ingo Molnar
    Acked-by: Ivan Safonov
    Acked-by: Jaegeuk Kim
    Acked-by: Jan Kara (SUSE)
    Acked-by: Javier Martinez Canillas
    Acked-by: Jeff Kirsher
    Acked-by: Jens Axboe
    Acked-by: Jes Sorensen
    Acked-by: Jiri Kosina
    Acked-by: Jiri Pirko
    Acked-by: Joe Perches
    Acked-by: Joerg Roedel (SUSE)
    Acked-by: Johan Hovold
    Acked-by: Josh Poimboeuf
    Acked-by: Juergen Gross
    Acked-by: Julia Lawall
    Acked-by: K. Y. Srinivasan
    Acked-by: Khalid Aziz
    Acked-by: Krzysztof Kozlowski
    Acked-by: Kuninori Morimoto
    Acked-by: Larry Finger
    Acked-by: Laura Abbott
    Acked-by: Lee Jones
    Acked-by: Leon Romanovsky
    Acked-by: Linus Walleij (Linaro)
    Acked-by: Lv Zheng
    Acked-by: Martin K. Petersen (Oracle)
    Acked-by: Masahiro Yamada
    Acked-by: Masami Hiramatsu
    Acked-by: Mel Gorman
    Acked-by: Michael S. Tsirkin
    Acked-by: Michal Hocko
    Acked-by: Mike Marshall
    Acked-by: Namhyung Kim
    Acked-by: Neil Armstrong
    Acked-by: Olof Johansson
    Acked-by: Pablo Neira Ayuso
    Acked-by: Paolo Bonzini
    Acked-by: Paul Burton
    Acked-by: Paul E. McKenney
    Acked-by: Peter Zijlstra
    Acked-by: Rafael J. Wysocki
    Acked-by: Ralf Baechle
    Acked-by: Richard Weinberger
    Acked-by: Rik van Riel
    Acked-by: Rob Clark
    Acked-by: Rob Herring
    Acked-by: Sebastian Reichel (Collabora)
    Acked-by: Shawn Guo
    Acked-by: Shuah Khan
    Acked-by: Simon Horman
    Acked-by: Srinivas Kandagatla
    Acked-by: Steven Rostedt (VMware)
    Acked-by: Sven Eckelmann
    Acked-by: Takashi Iwai (SUSE)
    Acked-by: Tejun Heo
    Acked-by: Thierry Reding
    Acked-by: Tony Luck
    Acked-by: Ulf Hansson
    Acked-by: Vinod Koul
    Acked-by: Viresh Kumar
    Acked-by: Vivien Didelot
    Acked-by: Wei Yongjun
    Acked-by: Xin Long
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • …arm-platforms into irq/urgent

    Pull irqchip updates for 4.14-rc5 from Marc Zyngier:

    - Fix unfortunate mistake in the GICv3 ITS binding example
    - Two fixes for the recently merged GICv4 support
    - GICv3 ITS 52bit PA fixes
    - Generic irqchip mask-ack fix, and its application to the tango irqchip

    Thomas Gleixner
     

15 Oct, 2017

1 commit

  • …/jic23/iio into staging-linus

    Jonathan writes:

    Second set of IIO fixes for the 4.14 cycle.

    * ade7759
    - Fix a signed extension bug.
    * as3935
    - The default noise and watch dog settings were such that the device
    was unusuable in most applications. Add device tree parameters to
    allow it to be configured to something that will actually work.
    * at91-sama5d2 adc
    - Fix handling of legacy device trees that don't provide the new
    trigger edge property.
    * dln2-adc
    - Fix a missing Kconfig dependency on IIO_TRIGGERED_BUFFER.
    * dummy driver
    - Add a missing break so that writing in_voltage0_thresh_rising_en
    doesn't always result in an error.
    * zpa2326
    - Drop a test for an always true condition so that gcc won't spit out
    and unused variable warning.

    Greg Kroah-Hartman
     

14 Oct, 2017

1 commit

  • When the VMA based swap readahead was introduced, a new knob

    /sys/kernel/mm/swap/vma_ra_max_order

    was added as the max window of VMA swap readahead. This is to make it
    possible to use different max window for VMA based readahead and
    original physical readahead. But Minchan Kim pointed out that this will
    cause a regression because setting page-cluster sysctl to zero cannot
    disable swap readahead with the change.

    To fix the regression, the page-cluster sysctl is used as the max window
    of both the VMA based swap readahead and original physical swap
    readahead. If more fine grained control is needed in the future, more
    knobs can be added as the subordinate knobs of the page-cluster sysctl.

    The vma_ra_max_order knob is deleted. Because the knob was introduced
    in v4.14-rc1, and this patch is targeting being merged before v4.14
    releasing, there should be no existing users of this newly added ABI.

    Link: http://lkml.kernel.org/r/20171011070847.16003-1-ying.huang@intel.com
    Fixes: ec560175c0b6fce ("mm, swap: VMA based swap readahead")
    Signed-off-by: "Huang, Ying"
    Reported-by: Minchan Kim
    Acked-by: Minchan Kim
    Acked-by: Michal Hocko
    Cc: Johannes Weiner
    Cc: Rik van Riel
    Cc: Shaohua Li
    Cc: Hugh Dickins
    Cc: Fengguang Wu
    Cc: Tim Chen
    Cc: Dave Hansen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Huang Ying
     

13 Oct, 2017

1 commit


10 Oct, 2017

1 commit

  • Pull networking fixes from David Miller:

    1) Fix object leak on IPSEC offload failure, from Steffen Klassert.

    2) Fix range checks in ipset address range addition operations, from
    Jozsef Kadlecsik.

    3) Fix pernet ops unregistration order in ipset, from Florian Westphal.

    4) Add missing netlink attribute policy for nl80211 packet pattern
    attrs, from Peng Xu.

    5) Fix PPP device destruction race, from Guillaume Nault.

    6) Write marks get lost when BPF verifier processes R1=R2 register
    assignments, causing incorrect liveness information and less state
    pruning. Fix from Alexei Starovoitov.

    7) Fix blockhole routes so that they are marked dead and therefore not
    cached in sockets, otherwise IPSEC stops working. From Steffen
    Klassert.

    8) Fix broadcast handling of UDP socket early demux, from Paolo Abeni.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (37 commits)
    cdc_ether: flag the u-blox TOBY-L2 and SARA-U2 as wwan
    net: thunderx: mark expected switch fall-throughs in nicvf_main()
    udp: fix bcast packet reception
    netlink: do not set cb_running if dump's start() errs
    ipv4: Fix traffic triggered IPsec connections.
    ipv6: Fix traffic triggered IPsec connections.
    ixgbe: incorrect XDP ring accounting in ethtool tx_frame param
    net: ixgbe: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag
    Revert commit 1a8b6d76dc5b ("net:add one common config...")
    ixgbe: fix masking of bits read from IXGBE_VXLANCTRL register
    ixgbe: Return error when getting PHY address if PHY access is not supported
    netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'
    netfilter: SYNPROXY: skip non-tcp packet in {ipv4, ipv6}_synproxy_hook
    tipc: Unclone message at secondary destination lookup
    tipc: correct initialization of skb list
    gso: fix payload length when gso_size is zero
    mlxsw: spectrum_router: Avoid expensive lookup during route removal
    bpf: fix liveness marking
    doc: Fix typo "8023.ad" in bonding documentation
    ipv6: fix net.ipv6.conf.all.accept_dad behaviour for real
    ...

    Linus Torvalds
     

08 Oct, 2017

3 commits

  • Should be "802.3ad" like everywhere else in the document.

    Signed-off-by: Axel Beckert
    Signed-off-by: David S. Miller

    Axel Beckert
     
  • Pull i2c fixes from Wolfram Sang:
    "I2C has three driver fixes for the newly introduced drivers and one ID
    addition for the i801 driver"

    * 'i2c/for-current-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: i2c-stm32f7: make structure stm32f7_setup static const
    i2c: ensure termination of *_device_id tables
    i2c: i801: Add support for Intel Cedar Fork
    i2c: stm32f7: fix setup structure

    Linus Torvalds
     
  • Pull MMC fixes from Ulf Hansson:
    "MMC core:

    - Fix driver strength selection when selecting hs400es

    - Delete bounce buffer handling:

    This change fixes a problem related to how bounce buffers are being
    allocated. However, instead of trying to fix that, let's just
    remove the mmc bounce buffer code altogether, as it has practically
    no use.

    MMC host:

    - meson-gx: A couple of fixes related to clock/phase/tuning

    - sdhci-xenon: Fix clock resource by adding an optional bus clock"

    * tag 'mmc-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
    mmc: sdhci-xenon: Fix clock resource by adding an optional bus clock
    mmc: meson-gx: include tx phase in the tuning process
    mmc: meson-gx: fix rx phase reset
    mmc: meson-gx: make sure the clock is rounded down
    mmc: Delete bounce buffer handling
    mmc: core: add driver strength selection when selecting hs400es

    Linus Torvalds
     

06 Oct, 2017

3 commits

  • Pull overlayfs fixes from Miklos Szeredi:
    "Fix a regression in 4.14 and one in 4.13. The latter is a case when
    Docker is doing something it really shouldn't and gets away with it.
    We now print a warning instead of erroring out.

    There are also fixes to several error paths"

    * 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
    ovl: fix regression caused by exclusive upper/work dir protection
    ovl: fix missing unlock_rename() in ovl_do_copy_up()
    ovl: fix dentry leak in ovl_indexdir_cleanup()
    ovl: fix dput() of ERR_PTR in ovl_cleanup_index()
    ovl: fix error value printed in ovl_lookup_index()
    ovl: fix may_write_real() for overlayfs directories

    Linus Torvalds
     
  • …evice-mapper/linux-dm

    Pull device mapper fixes from Mike Snitzer:

    - a stable fix for the alignment of the event number reported at the
    end of the 'DM_LIST_DEVICES' ioctl.

    - a couple stable fixes for the DM crypt target.

    - a DM raid health status reporting fix.

    * tag 'for-4.14/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
    dm raid: fix incorrect status output at the end of a "recover" process
    dm crypt: reject sector_size feature if device length is not aligned to it
    dm crypt: fix memory leak in crypt_ctr_cipher_old()
    dm ioctl: fix alignment of event number in the device list

    Linus Torvalds
     
  • There are three important fields that indicate the overall health and
    status of an array: dev_health, sync_ratio, and sync_action. They tell
    us the condition of the devices in the array, and the degree to which
    the array is synchronized.

    This commit fixes a condition that is reported incorrectly. When a member
    of the array is being rebuilt or a new device is added, the "recover"
    process is used to synchronize it with the rest of the array. When the
    process is complete, but the sync thread hasn't yet been reaped, it is
    possible for the state of MD to be:
    mddev->recovery = [ MD_RECOVERY_RUNNING MD_RECOVERY_RECOVER MD_RECOVERY_DONE ]
    curr_resync_completed = (but not MaxSector)
    and all rdevs to be In_sync.
    This causes the 'array_in_sync' output parameter that is passed to
    rs_get_progress() to be computed incorrectly and reported as 'false' --
    or not in-sync. This in turn causes the dev_health status characters to
    be reported as all 'a', rather than the proper 'A'.

    This can cause erroneous output for several seconds at a time when tools
    will want to be checking the condition due to events that are raised at
    the end of a sync process. Fix this by properly calculating the
    'array_in_sync' return parameter in rs_get_progress().

    Also, remove an unnecessary intermediate 'recovery_cp' variable in
    rs_get_progress().

    Signed-off-by: Jonathan Brassow
    Signed-off-by: Mike Snitzer

    Jonathan Brassow
     

05 Oct, 2017

5 commits

  • Pull networking fixes from David Miller:

    1) Check iwlwifi 9000 reorder buffer out-of-space condition properly,
    from Sara Sharon.

    2) Fix RCU splat in qualcomm rmnet driver, from Subash Abhinov
    Kasiviswanathan.

    3) Fix session and tunnel release races in l2tp, from Guillaume Nault
    and Sabrina Dubroca.

    4) Fix endian bug in sctp_diag_dump(), from Dan Carpenter.

    5) Several mlx5 driver fixes from the Mellanox folks (max flow counters
    cap check, invalid memory access in IPoIB support, etc.)

    6) tun_get_user() should bail if skb->len is zero, from Alexander
    Potapenko.

    7) Fix RCU lookups in inetpeer, from Eric Dumazet.

    8) Fix locking in packet_do_bund().

    9) Handle cb->start() error properly in netlink dump code, from Jason
    A. Donenfeld.

    10) Handle multicast properly in UDP socket early demux code. From Paolo
    Abeni.

    11) Several erspan bug fixes in ip_gre, from Xin Long.

    12) Fix use-after-free in socket filter code, in order to handle the
    fact that listener lock is no longer taken during the three-way TCP
    handshake. From Eric Dumazet.

    13) Fix infoleak in RTM_GETSTATS, from Nikolay Aleksandrov.

    14) Fix tail call generation in x86-64 BPF JIT, from Alexei Starovoitov.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (77 commits)
    net: 8021q: skip packets if the vlan is down
    bpf: fix bpf_tail_call() x64 JIT
    net: stmmac: dwmac-rk: Add RK3128 GMAC support
    rndis_host: support Novatel Verizon USB730L
    net: rtnetlink: fix info leak in RTM_GETSTATS call
    socket, bpf: fix possible use after free
    mlxsw: spectrum_router: Track RIF of IPIP next hops
    mlxsw: spectrum_router: Move VRF refcounting
    net: hns3: Fix an error handling path in 'hclge_rss_init_hw()'
    net: mvpp2: Fix clock resource by adding an optional bus clock
    r8152: add Linksys USB3GIGV1 id
    l2tp: fix l2tp_eth module loading
    ip_gre: erspan device should keep dst
    ip_gre: set tunnel hlen properly in erspan_tunnel_init
    ip_gre: check packet length and mtu correctly in erspan_xmit
    ip_gre: get key from session_id correctly in erspan_rcv
    tipc: use only positive error codes in messages
    ppp: fix __percpu annotation
    udp: perform source validation for mcast early demux
    IPv4: early demux can return an error code
    ...

    Linus Torvalds
     
  • Enforcing exclusive ownership on upper/work dirs caused a docker
    regression: https://github.com/moby/moby/issues/34672.

    Euan spotted the regression and pointed to the offending commit.
    Vivek has brought the regression to my attention and provided this
    reproducer:

    Terminal 1:

    mount -t overlay -o workdir=work,lowerdir=lower,upperdir=upper none
    merged/

    Terminal 2:

    unshare -m

    Terminal 1:

    umount merged
    mount -t overlay -o workdir=work,lowerdir=lower,upperdir=upper none
    merged/
    mount: /root/overlay-testing/merged: none already mounted or mount point
    busy

    To fix the regression, I replaced the error with an alarming warning.
    With index feature enabled, mount does fail, but logs a suggestion to
    override exclusive dir protection by disabling index.
    Note that index=off mount does take the inuse locks, so a concurrent
    index=off will issue the warning and a concurrent index=on mount will fail.

    Documentation was updated to reflect this change.

    Fixes: 2cac0c00a6cd ("ovl: get exclusive ownership on upper/work dirs")
    Cc: # v4.13
    Reported-by: Euan Kemp
    Reported-by: Vivek Goyal
    Signed-off-by: Amir Goldstein
    Signed-off-by: Miklos Szeredi

    Amir Goldstein
     
  • Add PCI ID for Intel Cedar Fork PCH.

    Signed-off-by: Jarkko Nikula
    Reviewed-by: Jean Delvare
    Signed-off-by: Wolfram Sang

    Jarkko Nikula
     
  • Pull ARM SoC fixes from Olof Johansson:
    "Our first batch of fixes this release cycle, unfortunately a bit
    noisier than usual. Two major groups stand out:

    - Some pinctril dts/dtsi changes for stm32 due to a new driver being
    merged during the merge window, and this aligns the DT contents
    between the old format and the new. This could arguably be moved to
    the next merge window but it also seemed relatively harmless to
    include now.

    - Amlogic/meson had driver changes merged that required devicetree
    changes to avoid functional/performance regressions. I've already
    asked them to be more careful about this going forward, and making
    sure drivers are compatible with older DTs when they make these
    kind of changes. The platform is actively being upstreamed so
    there's a few things in flight, we've seen this happen before and
    sometimes it's hard to catch in time.

    Besides that there is the usual mix of minor fixes"

    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (33 commits)
    ARM: dts: stm32: use right pinctrl compatible for stm32f469
    ARM: dts: stm32: Fix STMPE1600 binding on stm32429i-eval board
    ARM: defconfig: update Gemini defconfig
    ARM: defconfig: FRAMEBUFFER_CONSOLE can no longer be =m
    arm64: dts: rockchip: add the grf clk for dw-mipi-dsi on rk3399
    reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST
    ARM: dts: da850-evm: add serial and ethernet aliases
    ARM: dts: am43xx-epos-evm: Remove extra CPSW EMAC entry
    ARM: dts: am33xx: Add spi alias to match SOC schematics
    ARM: OMAP2+: hsmmc: fix logic to call either omap_hsmmc_init or omap_hsmmc_late_init but not both
    ARM: dts: dra7: Set a default parent to mcasp3_ahclkx_mux
    ARM: OMAP2+: dra7xx: Set OPT_CLKS_IN_RESET flag for gpio1
    ARM: dts: nokia n900: drop unneeded/undocumented parts of the dts
    arm64: dts: rockchip: Correct MIPI DPHY PLL clock on rk3399
    arm64: dt marvell: Fix AP806 system controller size
    MAINTAINERS: add Macchiatobin maintainers entry
    ARC: reset: remove the misleading v1 suffix all over
    ARC: reset: add missing DT binding documentation for HSDKv1 reset driver
    ARC: reset: Only build on archs that have IOMEM
    ARM: at91: Replace uses of virt_to_phys with __pa_symbol
    ...

    Linus Torvalds
     
  • Update my imgtec.com and personal email address to my kernel.org one in
    a few places as MIPS will soon no longer be part of Imagination
    Technologies, and add mappings in .mailcap so get_maintainer.pl reports
    the right address.

    Signed-off-by: James Hogan
    Signed-off-by: Linus Torvalds

    James Hogan
     

04 Oct, 2017

5 commits

  • On Armada 7K/8K we need to explicitly enable the bus clock. The bus clock
    is optional because not all the SoCs need them but at least for Armada
    7K/8K it is actually mandatory.

    The binding documentation is updating accordingly.

    Without this patch the kernel hand during boot if the mvpp2.2 network
    driver was not present in the kernel. Indeed the clock needed by the
    xenon controller was set by the network driver.

    Fixes: 3a3748dba881 ("mmc: sdhci-xenon: Add Marvell Xenon SDHC core
    functionality)"
    CC: Stable
    Tested-by: Zhoujie Wu
    Signed-off-by: Gregory CLEMENT
    Signed-off-by: Ulf Hansson

    Gregory CLEMENT
     
  • Reset controller fixes for v4.14

    - Remove misleading HSDK v1 suffix, as there is no v2 planned
    - Add missing DT binding documentation for HSDK reset driver
    - Fix HSDK reset driver dependencies

    * tag 'reset-fixes-for-4.14' of git://git.pengutronix.de/git/pza/linux:
    reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST
    ARC: reset: remove the misleading v1 suffix all over
    ARC: reset: add missing DT binding documentation for HSDKv1 reset driver
    ARC: reset: Only build on archs that have IOMEM

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • Add constants and callback functions for the dwmac on rk3128 soc.
    As can be seen, the base structure is the same, only registers
    and the bits in them moved slightly.

    Signed-off-by: David Wu
    Signed-off-by: David S. Miller

    David Wu
     
  • Pull workqueue fixlet from Tejun Heo:
    "Minor documentation update"

    * 'for-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
    Documentation: core-api: minor workqueue.rst cleanups

    Linus Torvalds
     
  • Pull tty/serial fixes from Greg KH:
    "Here are a small number (5) of patches for some reported TTY and
    serial issues. Nothing major, a documentation update, timing fix,
    error handling fix, name reporting fix, and a timeout issue resolved.

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'tty-4.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
    serial: sccnxp: Fix error handling in sccnxp_probe()
    tty: serial: lpuart: avoid report NULL interrupt
    serial: bcm63xx: fix timing issue.
    mxser: fix timeout calculation for low rates
    serial: sh-sci: document R8A77970 bindings

    Linus Torvalds
     

03 Oct, 2017

1 commit

  • Pull driver core fixes from Greg KH:
    "Here are a few small fixes for 4.14-rc4.

    The removal of DRIVER_ATTR() was almost completed by 4.14-rc1, but one
    straggler made it in through some other tree (odds are, one of
    mine...) So there's a simple removal of the last user, and then
    finally the macro is removed from the tree.

    There's a fix for old crazy udev instances that insist on reloading a
    module when it is removed from the kernel due to the new uevents for
    bind/unbind. This fixes the reported regression, hopefully some year
    in the future we can drop the workaround, once users update to the
    latest version, but I'm not holding my breath.

    And then there's a build fix for a linker warning, and a buffer
    overflow fix to match the PCI fixes you took through the PCI tree in
    the same area.

    All of these have been in linux-next for a few weeks while I've been
    traveling, sorry for the delay"

    * tag 'driver-core-4.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
    driver core: remove DRIVER_ATTR
    fpga: altera-cvp: remove DRIVER_ATTR() usage
    driver core: platform: Don't read past the end of "driver_override" buffer
    base: arch_topology: fix section mismatch build warnings
    driver core: suppress sending MODALIAS in UNBIND uevents

    Linus Torvalds
     

02 Oct, 2017

1 commit


30 Sep, 2017

1 commit

  • …j.anaszewski/linux-leds

    Pull LED fixes from Jacek Anaszewski:
    "Four fixes for the as3645a LED flash controller and one update to
    MAINTAINERS"

    * tag 'led_fixes-4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
    MAINTAINERS: Add entry for MediaTek PMIC LED driver
    as3645a: Unregister indicator LED on device unbind
    as3645a: Use integer numbers for parsing LEDs
    dt: bindings: as3645a: Use LED number to refer to LEDs
    as3645a: Use ams,input-max-microamp as documented in DT bindings

    Linus Torvalds
     

29 Sep, 2017

1 commit


28 Sep, 2017

1 commit

  • Commit 33fc30b47098 (cpufreq: intel_pstate: Document the current
    behavior and user interface) dropped the intel-pstate.txt file
    from Documentation/cpu-freq/, but it did not update the index.txt
    file in there accordingly, so do that now.

    Fixes: 33fc30b47098 (cpufreq: intel_pstate: Document the current behavior and user interface)
    Signed-off-by: Rafael J. Wysocki

    Rafael J. Wysocki
     

26 Sep, 2017

1 commit

  • Most applications are too noisy to allow the default noise and
    watchdog settings, and thus need to be configurable via DT
    properties.

    Also default settings to POR defaults on a reset, and register
    distuber interrupts as noise since it prevents proper usage.

    Cc: devicetree@vger.kernel.org
    Signed-off-by: Matt Ranostay
    Acked-by: Rob Herring
    Signed-off-by: Jonathan Cameron

    Matt Ranostay
     

25 Sep, 2017

2 commits

  • Pull DeviceTree fixes from Rob Herring:

    - fix build for !OF providing empty of_find_device_by_node

    - fix Abracon vendor prefix

    - sync dtx_diff include paths (again)

    - a stm32h7 clock binding doc fix

    * tag 'devicetree-fixes-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
    dt-bindings: clk: stm32h7: fix clock-cell size
    scripts/dtc: dtx_diff - 2nd update of include dts paths to match build
    dt-bindings: fix vendor prefix for Abracon
    of: provide inline helper for of_find_device_by_node

    Linus Torvalds
     
  • Pull TPM updates from James Morris:
    "Here are the TPM updates from Jarkko for v4.14, which I've placed in
    their own branch (next-tpm). I ended up cherry-picking them as other
    changes had been made in Jarkko's branch after he sent me his original
    pull request.

    I plan on maintaining a separate branch for TPM (and other security
    subsystems) from now on.

    From Jarkko: 'Not much this time except a few fixes'"

    * 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
    tpm: ibmvtpm: simplify crq initialization and document crq format
    tpm: replace msleep() with usleep_range() in TPM 1.2/2.0 generic drivers
    Documentation: tpm: add powered-while-suspended binding documentation
    tpm: tpm_crb: constify acpi_device_id.
    tpm: vtpm: constify vio_device_id

    Linus Torvalds
     

24 Sep, 2017

2 commits

  • Add a new powered-while-suspended property to control the behavior of the
    TPM suspend/resume.

    Signed-off-by: Enric Balletbo i Serra
    Signed-off-by: Sonny Rao
    Reviewed-by: Jason Gunthorpe
    Reviewed-by: Jarkko Sakkinen
    Acked-by: Rob Herring
    Signed-off-by: Jarkko Sakkinen
    Signed-off-by: James Morris

    Enric Balletbo i Serra
     
  • Use integers (reg property) to tell the number of the LED to the driver
    instead of the node name. While both of these approaches are currently
    used by the LED bindings, using integers will require less driver changes
    for ACPI support. Additionally, it will make possible LED naming using
    chip and LED node names, effectively making the label property most useful
    for human-readable names only.

    Signed-off-by: Sakari Ailus
    Acked-by: Rob Herring
    Signed-off-by: Jacek Anaszewski

    Sakari Ailus