14 Dec, 2020

1 commit

  • Pull block fixes from Jens Axboe:
    "This should be it for 5.10.

    Mike and Song looked into the warning case, and thankfully it appears
    the fix was pretty trivial - we can just change the md device chunk
    type to unsigned int to get rid of it. They cannot currently be < 0,
    and nobody is checking for that either.

    We're reverting the discard changes as the corruption reports came in
    very late, and there's just no time to attempt to deal with it at this
    point. Reverting the changes in question is the right call for 5.10"

    * tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block:
    md: change mddev 'chunk_sectors' from int to unsigned
    Revert "md: add md_submit_discard_bio() for submitting discard bio"
    Revert "md/raid10: extend r10bio devs to raid disks"
    Revert "md/raid10: pull codes that wait for blocked dev into one function"
    Revert "md/raid10: improve raid10 discard request"
    Revert "md/raid10: improve discard request for far layout"
    Revert "dm raid: remove unnecessary discard limits for raid10"

    Linus Torvalds
     

13 Dec, 2020

5 commits

  • Pull SCSI fixes from James Bottomley:
    "Five small fixes. Four in drivers:

    - hisi_sas: fix internal queue timeout

    - be2iscsi: revert a prior fix causing problems

    - bnx2i: add missing dependency

    - storvsc: late arriving revert of a problem fix

    and one in the core.

    The core one is a minor change to stop paying attention to the busy
    count when returning out of resources because there's a race window
    where the queue might not restart due to missing returning I/O"

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    Revert "scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()"
    scsi: hisi_sas: Select a suitable queue for internal I/Os
    scsi: core: Fix race between handling STS_RESOURCE and completion
    scsi: be2iscsi: Revert "Fix a theoretical leak in beiscsi_create_eqs()"
    scsi: bnx2i: Requires MMU

    Linus Torvalds
     
  • Pull i2c fix from Wolfram Sang:
    "Bugfix for the AT24 EEPROM driver"

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    misc: eeprom: at24: fix NVMEM name with custom AT24 device name

    Linus Torvalds
     
  • Pull xen fixes from Juergen Gross:
    "A short series fixing a regression introduced in 5.9 for running as
    Xen dom0 on a system with NVMe backed storage"

    * tag 'for-linus-5.10c-rc8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen: don't use page->lru for ZONE_DEVICE memory
    xen: add helpers for caching grant mapping pages

    Linus Torvalds
     
  • Pull input fixes from Dmitry Torokhov:

    - a fix for cm109 stomping on its own control URB if it tries to toggle
    buzzer immediately after userspace opens input device (found by
    syzcaller)

    - another fix for Raydium touchscreens that do not like splitting
    command transfers

    - quirks for i8042, soc_button_array, and goodix drivers to make them
    work better with certain hardware.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
    Input: cm109 - do not stomp on control URB
    Input: i8042 - add Acer laptops to the i8042 reset list
    Input: cros_ec_keyb - send 'scancodes' in addition to key events
    Input: soc_button_array - add Lenovo Yoga Tablet2 1051L to the dmi_use_low_level_irq list
    Input: raydium_ts_i2c - do not split tx transactions

    Linus Torvalds
     
  • Commit e2782f560c29 ("Revert "dm raid: remove unnecessary discard
    limits for raid10"") exposed compiler warnings introduced by commit
    e0910c8e4f87 ("dm raid: fix discard limits for raid1 and raid10"):

    In file included from ./include/linux/kernel.h:14,
    from ./include/asm-generic/bug.h:20,
    from ./arch/x86/include/asm/bug.h:93,
    from ./include/linux/bug.h:5,
    from ./include/linux/mmdebug.h:5,
    from ./include/linux/gfp.h:5,
    from ./include/linux/slab.h:15,
    from drivers/md/dm-raid.c:8:
    drivers/md/dm-raid.c: In function ‘raid_io_hints’:
    ./include/linux/minmax.h:18:28: warning: comparison of distinct pointer types lacks a cast
    (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
    ^~
    ./include/linux/minmax.h:32:4: note: in expansion of macro ‘__typecheck’
    (__typecheck(x, y) && __no_side_effects(x, y))
    ^~~~~~~~~~~
    ./include/linux/minmax.h:42:24: note: in expansion of macro ‘__safe_cmp’
    __builtin_choose_expr(__safe_cmp(x, y), \
    ^~~~~~~~~~
    ./include/linux/minmax.h:51:19: note: in expansion of macro ‘__careful_cmp’
    #define min(x, y) __careful_cmp(x, y, max_discard_sectors = min_not_zero(rs->md.chunk_sectors,
    ^~~~~~~~~~~~

    Fix this by changing the chunk_sectors member of 'struct mddev' from
    int to 'unsigned int' to match the type used for the 'chunk_sectors'
    member of 'struct queue_limits'. Various MD code still uses 'int' but
    none of it appears to ever make use of signed int; and storing
    positive signed int in unsigned is perfectly safe.

    Reported-by: Song Liu
    Fixes: e2782f560c29 ("Revert "dm raid: remove unnecessary discard limits for raid10"")
    Fixes: e0910c8e4f87 ("dm raid: fix discard limits for raid1 and raid10")
    Cc: stable@vger,kernel.org # e0910c8e4f87 was marked for stable@
    Signed-off-by: Mike Snitzer
    Reviewed-by: Song Liu
    Signed-off-by: Jens Axboe

    Mike Snitzer
     

12 Dec, 2020

17 commits

  • The touchscreen on the Teclast x98 Pro is also mounted upside-down in
    relation to the display orientation.

    Signed-off-by: Simon Beginn
    Signed-off-by: Bastien Nocera
    Link: https://lore.kernel.org/r/20201117004253.27A5A27EFD@localhost
    Signed-off-by: Dmitry Torokhov

    Simon Beginn
     
  • Pull mtd fixes from Miquel Raynal:
    "Second series of fixes for raw NAND drivers initiated because of a
    rework of the ECC engine subsystem.

    The location of the DT parsing logic got moved, breaking several
    drivers which in fact were not doing the ECC engine initialization at
    the right place.

    These drivers have been fixed by enforcing a particular ECC engine
    type and algorithm, software Hamming, while the algorithm may be
    overwritten by a DT property. This merge request fixes this in the
    xway, socrates, plat_nand, pasemi, orion, mpc5121, gpio, au1550 and
    ams-delta controller drivers"

    * tag 'mtd/fixes-for-5.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
    mtd: rawnand: xway: Do not force a particular software ECC engine
    mtd: rawnand: socrates: Do not force a particular software ECC engine
    mtd: rawnand: plat_nand: Do not force a particular software ECC engine
    mtd: rawnand: pasemi: Do not force a particular software ECC engine
    mtd: rawnand: orion: Do not force a particular software ECC engine
    mtd: rawnand: mpc5121: Do not force a particular software ECC engine
    mtd: rawnand: gpio: Do not force a particular software ECC engine
    mtd: rawnand: au1550: Do not force a particular software ECC engine
    mtd: rawnand: ams-delta: Do not force a particular software ECC engine

    Linus Torvalds
     
  • Pull MMC fixes from Ulf Hansson:
    "A couple of MMC fixes:

    MMC core:
    - Fixup condition for CMD13 polling for RPMB requests

    MMC host:
    - mtk-sd: Fix system suspend/resume support for CQHCI
    - mtd-sd: Extend SDIO IRQ fix to more variants
    - sdhci-of-arasan: Fix clock registration error for Keem Bay SOC
    - tmio: Bring HW to a sane state after a power off"

    * tag 'mmc-v5.10-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
    mmc: mediatek: mark PM functions as __maybe_unused
    mmc: block: Fixup condition for CMD13 polling for RPMB requests
    mmc: tmio: improve bringing HW to a sane state with MMC_POWER_OFF
    mmc: sdhci-of-arasan: Fix clock registration error for Keem Bay SOC
    mmc: mediatek: Extend recheck_sdio_irq fix to more variants
    mmc: mediatek: Fix system suspend/resume support for CQHCI

    Linus Torvalds
     
  • …t/brgl/linux into i2c/for-current

    at24 fixes for v5.10

    - fix NVMEM name with custom AT24 device name

    Wolfram Sang
     
  • We need to make sure we are not stomping on the control URB that was
    issued when opening the device when attempting to toggle buzzer.
    To do that we need to mark it as pending in cm109_open().

    Reported-and-tested-by: syzbot+150f793ac5bc18eee150@syzkaller.appspotmail.com
    Cc: stable@vger.kernel.org
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: d525914b5bd8 ("mtd: rawnand: xway: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-10-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: b36bf0a0fe5d ("mtd: rawnand: socrates: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-9-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: 612e048e6aab ("mtd: rawnand: plat_nand: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-8-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: 8fc6f1f042b2 ("mtd: rawnand: pasemi: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-7-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Reported-by: Chris Packham
    Fixes: 553508cec2e8 ("mtd: rawnand: orion: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Tested-by: Chris Packham
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-6-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: 6dd09f775b72 ("mtd: rawnand: mpc5121: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-5-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: f6341f6448e0 ("mtd: rawnand: gpio: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-4-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: dbffc8ccdf3a ("mtd: rawnand: au1550: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-3-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Originally, commit d7157ff49a5b ("mtd: rawnand: Use the ECC framework
    user input parsing bits") kind of broke the logic around the
    initialization of several ECC engines.

    Unfortunately, the fix (which indeed moved the ECC initialization to
    the right place) did not take into account the fact that a different
    ECC algorithm could have been used thanks to a DT property,
    considering the "Hamming" algorithm entry a configuration while it was
    only a default.

    Add the necessary logic to be sure Hamming keeps being only a default.

    Fixes: 59d93473323a ("mtd: rawnand: ams-delta: Move the ECC initialization to ->attach_chip()")
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20201203190340.15522-2-miquel.raynal@bootlin.com

    Miquel Raynal
     
  • Pull pin control fixes from Linus Walleij:
    "Here is a late set of pin control fixes for v5.10, most concern some
    minor and major issues found in the Intel drivers. Some are so hairy
    that I have no idea what is going on there, but luckily the maintainer
    knows what's up.

    We also have an interesting fix for AMD, which makes AMD-based laptops
    more stable IIUC.

    Summary:

    - Fix up some SPI group and a register offset on Intel Jasperlake

    - Set default bias on Intel Merrifield

    - Preserve debouncing on Intel Baytrail

    - Stop .set_type() irqchip callback in the AMD driver from fiddling
    with the debounce filter

    - Fix access to GPIO banks that are pass-thru on the Aspeed

    - Fix a fix for the Intel pin control driver to disable Rx/Tx when
    requesting a UART line as GPIO"

    * tag 'pinctrl-v5.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
    pinctrl: intel: Actually disable Tx and Rx buffers on GPIO request
    pinctrl: aspeed: Fix GPIO requests on pass-through banks
    pinctrl: amd: remove debounce filter setting in IRQ type setting
    pinctrl: baytrail: Avoid clearing debounce value when turning it off
    pinctrl: merrifield: Set default bias in case no particular value given
    pinctrl: jasperlake: Fix HOSTSW_OWN offset
    pinctrl: jasperlake: Unhide SPI group of pins

    Linus Torvalds
     
  • Pull GPIO fixes from Linus Walleij:
    "These are hopefully the last GPIO fixes for this cycle.

    All are driver fixes except a small resource leak for pin ranges in
    the gpiolib. Two are PM related, which is nice because when developers
    start to find PM bugs it is usually because they have smoked out the
    bugs of more severe nature.

    Summary:

    - Fix runtime PM balancing on the errorpath of the Arizona driver

    - Fix a suspend NULL pointer reference in the dwapb driver

    - Balance free:ing in gpiochip_generic_free()

    - Fix runtime PM balancing on the errorpath of the zynq driver

    - Fix irqdomain use-after-free in the mvebu driver

    - Break an eternal loop in the spreadtrum EIC driver"

    * tag 'v5.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
    gpio: eic-sprd: break loop when getting NULL device resource
    gpio: mvebu: fix potential user-after-free on probe
    gpio: zynq: fix reference leak in zynq_gpio functions
    gpiolib: Don't free if pin ranges are not defined
    gpio: dwapb: fix NULL pointer dereference at dwapb_gpio_suspend()
    gpio: arizona: disable pm_runtime in case of failure

    Linus Torvalds
     
  • Pull clk fixes from Stephen Boyd:
    "Two small clk driver build fixes

    - Remove __packed from a Renesas struct to improve portability

    - Fix a linking problem with i.MX when config options don't agree"

    * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
    clk: renesas: r9a06g032: Drop __packed for portability
    clk: imx: scu: fix MXC_CLK_SCU module build break

    Linus Torvalds
     

11 Dec, 2020

8 commits

  • This reverts commit 3b8c72d076c42bf27284cda7b2b2b522810686f8.

    Dexuan reported a regression where StorVSC fails to probe a device (and
    where, consequently, the VM may fail to boot). The root-cause analysis led
    to a long-standing race condition that is exposed by the validation /commit
    in question. Let's put the new validation aside until a proper solution
    for that race condition is in place.

    Link: https://lore.kernel.org/r/20201211131404.21359-1-parri.andrea@gmail.com
    Fixes: 3b8c72d076c4 ("scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()")
    Cc: Dexuan Cui
    Cc: "James E.J. Bottomley"
    Cc: "Martin K. Petersen"
    Cc: linux-scsi@vger.kernel.org
    Signed-off-by: Andrea Parri (Microsoft)
    Signed-off-by: Martin K. Petersen

    Andrea Parri (Microsoft)
     
  • Pull drm fixes from Dave Airlie:
    "Last week of fixes, just amdgpu and i915 collections. We had a i915
    regression reported by HJ Lu reported this morning, and this contains
    a fix for that he has tested.

    There are a fair few other fixes, but they are spread across the two
    drivers, and all fairly self contained.

    amdgpu:
    - Fan fix for CI asics
    - Fix a warning in possible_crtcs
    - Build fix for when debugfs is disabled
    - Display overflow fix
    - Display watermark fixes for Renoir
    - SDMA 5.2 fix
    - Stolen vga memory regression fix
    - Power profile fixes
    - Fix a regression from removal of GEM and PRIME callbacks

    amdkfd:
    - Fix a memory leak in dmabuf import

    i915:
    - rc7 regression fix for modesetting
    - vdsc/dp slice fixes
    - gen9 mocs entries fix
    - preemption timeout fix
    - unsigned compare against 0 fix
    - selftest fix
    - submission error propogatig fix
    - request flow suspend fix"

    * tag 'drm-fixes-2020-12-11' of git://anongit.freedesktop.org/drm/drm:
    drm/i915/display: Go softly softly on initial modeset failure
    drm/amd/pm: typo fix (CUSTOM -> COMPUTE)
    drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs
    drm/amdgpu: fix size calculation with stolen vga memory
    drm/amd/pm: update smu10.h WORKLOAD_PPLIB setting for raven
    drm/amdkfd: Fix leak in dmabuf import
    drm/amdgpu: fix sdma instance fw version and feature version init
    drm/amd/display: Add wm table for Renoir
    drm/amd/display: Prevent bandwidth overflow
    drm/amdgpu: fix debugfs creation/removal, again
    drm/amdgpu/disply: set num_crtc earlier
    drm/amdgpu/powerplay: parse fan table for CI asics
    drm/i915/gt: Declare gen9 has 64 mocs entries!
    drm/i915/display/dp: Compute the correct slice count for VDSC on DP
    drm/i915: fix size_t greater or equal to zero comparison
    drm/i915/gt: Cancel the preemption timeout on responding to it
    drm/i915/gt: Ignore repeated attempts to suspend request flow across reset
    drm/i915/gem: Propagate error from cancelled submit due to context closure
    drm/i915/gem: Check the correct variable in selftest

    Linus Torvalds
     
  • Reduce the module/device probe error into a mere debug to hide issues
    where the initial modeset is failing (after lies told by hw probe) and
    the system hangs with a livelock in cleaning up the failed commit.

    Reported-by: H.J. Lu
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=210619
    Fixes: b3bf99daaee9 ("drm/i915/display: Defer initial modeset until after GGTT is initialised")
    Fixes: ccc9e67ab26f ("drm/i915/display: Defer initial modeset until after GGTT is initialised")
    Signed-off-by: Chris Wilson
    Cc: "Ville Syrjälä"
    Cc: Rodrigo Vivi
    Cc: H.J. Lu
    Cc: Dave Airlie
    Reviewed-by: Rodrigo Vivi
    Signed-off-by: Dave Airlie
    Link: https://patchwork.freedesktop.org/patch/msgid/20201210230741.17140-1-chris@chris-wilson.co.uk

    Chris Wilson
     
  • Fixes for VDSC/DP, selftests, shmem_utils, preemption, submission, and gt reset:

    - Check the correct variable in selftest (Dan)
    - Propagate error from canceled submit due to context closure (Chris)
    - Ignore repeated attempts to suspend request flow across reset (Chris)
    - Cancel the preemption timeout on responding to it (Chris)
    - Fix unsigned compared against 0 (Colin)
    - Compute the correct slice count for VDSC on DP (Manasi)
    - Declar gen9 has 64 mocs entries (Chris)

    Signed-off-by: Dave Airlie

    From: Rodrigo Vivi
    Link: https://patchwork.freedesktop.org/patch/msgid/20201209235010.GA10554@intel.com

    Dave Airlie
     
  • Pull networking fixes from David Miller:

    1) IPsec compat fixes, from Dmitry Safonov.

    2) Fix memory leak in xfrm_user_policy(). Fix from Yu Kuai.

    3) Fix polling in xsk sockets by using sk_poll_wait() instead of
    datagram_poll() which keys off of sk_wmem_alloc and such which xsk
    sockets do not update. From Xuan Zhuo.

    4) Missing init of rekey_data in cfgh80211, from Sara Sharon.

    5) Fix destroy of timer before init, from Davide Caratti.

    6) Missing CRYPTO_CRC32 selects in ethernet driver Kconfigs, from Arnd
    Bergmann.

    7) Missing error return in rtm_to_fib_config() switch case, from Zhang
    Changzhong.

    8) Fix some src/dest address handling in vrf and add a testcase. From
    Stephen Suryaputra.

    9) Fix multicast handling in Seville switches driven by mscc-ocelot
    driver. From Vladimir Oltean.

    10) Fix proto value passed to skb delivery demux in udp, from Xin Long.

    11) HW pkt counters not reported correctly in enetc driver, from Claudiu
    Manoil.

    12) Fix deadlock in bridge, from Joseph Huang.

    13) Missing of_node_pur() in dpaa2 driver, fromn Christophe JAILLET.

    14) Fix pid fetching in bpftool when there are a lot of results, from
    Andrii Nakryiko.

    15) Fix long timeouts in nft_dynset, from Pablo Neira Ayuso.

    16) Various stymmac fixes, from Fugang Duan.

    17) Fix null deref in tipc, from Cengiz Can.

    18) When mss is biog, coose more resonable rcvq_space in tcp, fromn Eric
    Dumazet.

    19) Revert a geneve change that likely isnt necessary, from Jakub
    Kicinski.

    20) Avoid premature rx buffer reuse in various Intel driversm from Björn
    Töpel.

    21) retain EcT bits during TIS reflection in tcp, from Wei Wang.

    22) Fix Tso deferral wrt. cwnd limiting in tcp, from Neal Cardwell.

    23) MPLS_OPT_LSE_LABEL attribute is 342 ot 8 bits, from Guillaume Nault

    24) Fix propagation of 32-bit signed bounds in bpf verifier and add test
    cases, from Alexei Starovoitov.

    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (81 commits)
    selftests: fix poll error in udpgro.sh
    selftests/bpf: Fix "dubious pointer arithmetic" test
    selftests/bpf: Fix array access with signed variable test
    selftests/bpf: Add test for signed 32-bit bound check bug
    bpf: Fix propagation of 32-bit signed bounds from 64-bit bounds.
    MAINTAINERS: Add entry for Marvell Prestera Ethernet Switch driver
    net: sched: Fix dump of MPLS_OPT_LSE_LABEL attribute in cls_flower
    net/mlx4_en: Handle TX error CQE
    net/mlx4_en: Avoid scheduling restart task if it is already running
    tcp: fix cwnd-limited bug for TSO deferral where we send nothing
    net: flow_offload: Fix memory leak for indirect flow block
    tcp: Retain ECT bits for tos reflection
    ethtool: fix stack overflow in ethnl_parse_bitset()
    e1000e: fix S0ix flow to allow S0i3.2 subset entry
    ice: avoid premature Rx buffer reuse
    ixgbe: avoid premature Rx buffer reuse
    i40e: avoid premature Rx buffer reuse
    igb: avoid transmit queue timeout in xdp path
    igb: use xdp_do_flush
    igb: skb add metasize for xdp
    ...

    Linus Torvalds
     
  • Alexei Starovoitov says:

    ====================
    pull-request: bpf 2020-12-10

    The following pull-request contains BPF updates for your *net* tree.

    We've added 21 non-merge commits during the last 12 day(s) which contain
    a total of 21 files changed, 163 insertions(+), 88 deletions(-).

    The main changes are:

    1) Fix propagation of 32-bit signed bounds from 64-bit bounds, from Alexei.

    2) Fix ring_buffer__poll() return value, from Andrii.

    3) Fix race in lwt_bpf, from Cong.

    4) Fix test_offload, from Toke.

    5) Various xsk fixes.

    Please consider pulling these changes from:

    git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

    Thanks a lot!

    Also thanks to reporters, reviewers and testers of commits in this pull-request:

    Cong Wang, Hulk Robot, Jakub Kicinski, Jean-Philippe Brucker, John
    Fastabend, Magnus Karlsson, Maxim Mikityanskiy, Yonghong Song
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Pull rdma fixes from Jason Gunthorpe:
    "Two user triggerable crashers and a some EFA related regressions:

    - Syzkaller found a bug in CM

    - Restore access to the GID table and fix modify_qp for EFA

    - Crasher in qedr"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
    RDMA/cm: Fix an attempt to use non-valid pointer when cleaning timewait
    RDMA/core: Fix empty gid table for non IB/RoCE devices
    RDMA/efa: Use the correct current and new states in modify QP
    RDMA/qedr: iWARP invalid(zero) doorbell address fix

    Linus Torvalds
     
  • Pull media fixes from Mauro Carvalho Chehab:
    "A couple of fixes:

    - videobuf2: fix a DMABUF bug, preventing it to properly handle cache
    sync/flush

    - vidtv: an usage after free and a few sparse/smatch warning fixes

    - pulse8-cec: a duplicate free and a bug related to new firmware
    usage

    - mtk-cir: fix a regression on a clock setting"

    * tag 'media/v5.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
    media: vidtv: fix some warnings
    media: vidtv: fix kernel-doc markups
    media: [next] media: vidtv: fix a read from an object after it has been freed
    media: vb2: set cache sync hints when init buffers
    media: pulse8-cec: add support for FW v10 and up
    media: pulse8-cec: fix duplicate free at disconnect or probe error
    media: mtk-cir: fix calculation of chk period

    Linus Torvalds
     

10 Dec, 2020

9 commits

  • The touchpad operates in Basic Mode by default in the Acer BIOS
    setup, but some Aspire/TravelMate models require the i8042 to be
    reset in order to be correctly detected.

    Signed-off-by: Chris Chiu
    Link: https://lore.kernel.org/r/20201207071250.15021-1-chiu@endlessos.org
    Cc: stable@vger.kernel.org
    Signed-off-by: Dmitry Torokhov

    Chris Chiu
     
  • This reverts commit 2628089b74d5a64bd0bcb5d247a18f78d7b6f4d0.

    Matthew Ruffell reported data corruption in raid10 due to the changes
    in discard handling [1]. Revert these changes before we find a proper fix.

    [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1907262/
    Cc: Matthew Ruffell
    Cc: Xiao Ni
    Signed-off-by: Song Liu

    Song Liu
     
  • This reverts commit 8650a889017cb1f6ea6813ccf83a2e9f6fa49dd3.

    Matthew Ruffell reported data corruption in raid10 due to the changes
    in discard handling [1]. Revert these changes before we find a proper fix.

    [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1907262/
    Cc: Matthew Ruffell
    Cc: Xiao Ni
    Signed-off-by: Song Liu

    Song Liu
     
  • This reverts commit f046f5d0d79cdb968f219ce249e497fd1accf484.

    Matthew Ruffell reported data corruption in raid10 due to the changes
    in discard handling [1]. Revert these changes before we find a proper fix.

    [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1907262/
    Cc: Matthew Ruffell
    Cc: Xiao Ni
    Signed-off-by: Song Liu

    Song Liu
     
  • This reverts commit bcc90d280465ebd51ab8688be86e1f00c62dccf9.

    Matthew Ruffell reported data corruption in raid10 due to the changes
    in discard handling [1]. Revert these changes before we find a proper fix.

    [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1907262/
    Cc: Matthew Ruffell
    Cc: Xiao Ni
    Signed-off-by: Song Liu

    Song Liu
     
  • This reverts commit d3ee2d8415a6256c1c41e1be36e80e640c3e6359.

    Matthew Ruffell reported data corruption in raid10 due to the changes
    in discard handling [1]. Revert these changes before we find a proper fix.

    [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1907262/
    Cc: Matthew Ruffell
    Cc: Xiao Ni
    Signed-off-by: Song Liu

    Song Liu
     
  • This reverts commit f0e90b6c663a7e3b4736cb318c6c7c589f152c28.

    Matthew Ruffell reported data corruption in raid10 due to the changes
    in discard handling [1]. Revert these changes before we find a proper fix.

    [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1907262/
    Cc: Matthew Ruffell
    Cc: Xiao Ni
    Cc: Mike Snitzer
    Acked-by: Mike Snitzer
    Signed-off-by: Song Liu

    Song Liu
     
  • The "COMPUTE" was wrongly spelled as "CUSTOM".

    Signed-off-by: Evan Quan
    Reviewed-by: Alex Deucher
    Signed-off-by: Alex Deucher
    Cc: stable@vger.kernel.org # 5.9.x

    Evan Quan
     
  • Tony Nguyen says:

    ====================
    Intel Wired LAN Driver Updates 2020-12-09

    This series contains updates to igb, ixgbe, i40e, and ice drivers.

    Sven Auhagen fixes issues with igb XDP: return correct error value in XDP
    xmit back, increase header padding to include space for double VLAN, add
    an extack error when Rx buffer is too small for frame size, set metasize if
    it is set in xdp, change xdp_do_flush_map to xdp_do_flush, and update
    trans_start to avoid possible Tx timeout.

    Björn fixes an issue where an Rx buffer can be reused prematurely with
    XDP redirect for ixgbe, i40e, and ice drivers.

    The following are changes since commit 323a391a220c4a234cb1e678689d7f4c3b73f863:
    can: isotp: isotp_setsockopt(): block setsockopt on bound sockets
    and are available in the git repository at:
    git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 1GbE
    ====================

    Signed-off-by: David S. Miller

    David S. Miller