Skip to content

Commits

Commits on Feb 3, 2020

  1. input: keyboard: gpio-keys-polled: skip oftree code when CONFIG_OF di…

    …sabled
    
    we don't need to build in oftree probing stuff when oftree isn't
    enabled at all.
    
    Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
    metux committed Feb 3, 2020
    Copy the full SHA
    7030f61 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  2. (submitted) input: keyboard: gpio_keys_polled: use gpio lookup table

    Support the recently introduced gpio lookup tables for
    attaching to gpio lines. So, harcoded gpio numbers aren't
    needed anymore.
    
    changes v4:
        * completely rewritten in a much simpler way, now just adding
          a third case (in the button probe loop), where neither oftree
          nor raw gpio number exists.
    
    changes v3:
        * fix printf string in gpio_keys_polled_get_gpiod()
        * fix unused variable 'error' in gpio_keys_polled_get_gpiod()
        * fix uninitialized variable in gpio_keys_polled_get_gpiod_fwnode()
    
    Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Cc: linux-input@vger.kernel.org
    Signed-off-by: Enrico Weigelt <info@metux.net>
    metux committed Feb 3, 2020
    Copy the full SHA
    0e0239f View commit details
    View at this point in the history
    Browse the repository at this point in the history
  3. input: keyboard: gpio-keys-polled: use input name from pdata if avail…

    …able
    
    Instead of hardcoding the input name to the driver name
    ('gpio-keys-polled'), allow the passing a name via platform data
    ('name' field was already present), but default to old behaviour
    in case of NULL.
    
    Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Cc: linux-input@vger.kernel.org
    Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
    metux committed Feb 3, 2020
    Copy the full SHA
    01c597f View commit details
    View at this point in the history
    Browse the repository at this point in the history

Commits on Jan 26, 2020

  1. Merge tag 'block-5.5-2020-01-26' of git://git.kernel.dk/linux-block

    Pull block fix from Jens Axboe:
     "Unfortunately this weekend we had a few last minute reports, one was
      for block.
    
      The partition disable for zoned devices was overly restrictive, it can
      work (and be supported) just fine for host-aware variants.
    
      Here's a fix ensuring that's the case so we don't break existing users
      of that"
    
    * tag 'block-5.5-2020-01-26' of git://git.kernel.dk/linux-block:
      block: allow partitions on host aware zone devices
    torvalds committed Jan 26, 2020
    Copy the full SHA
    9dbca16 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  2. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fixes from James Bottomley:
     "Two last minute fixes, both in drivers.
    
      The fnic one is a highly unlikely condition, but the RDMA one is a
      recently introduced regression that causes a kernel warning to trigger
      in every RDMA logon, which would be unsightly if it got into the final
      release"
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      scsi: RDMA/isert: Fix a recently introduced regression related to logout
      scsi: fnic: do not queue commands during fwreset
    torvalds committed Jan 26, 2020
    Copy the full SHA
    54343d9 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  3. block: allow partitions on host aware zone devices

    Host-aware SMR drives can be used with the commands to explicitly manage
    zone state, but they can also be used as normal disks.  In the former
    case it makes perfect sense to allow partitions on them, in the latter
    it does not, just like for host managed devices.  Add a check to
    add_partition to allow partitions on host aware devices, but give
    up any zone management capabilities in that case, which also catches
    the previously missed case of adding a partition vs just scanning it.
    
    Because sd can rescan the attribute at runtime it needs to check if
    a disk has partitions, for which a new helper is added to genhd.h.
    
    Fixes: 5eac3eb ("block: Remove partition support for zoned block devices")
    Reported-by: Borislav Petkov <bp@suse.de>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Tested-by: Damien Le Moal <damien.lemoal@wdc.com>
    Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    Christoph Hellwig authored and axboe committed Jan 26, 2020
    Copy the full SHA
    b720530 View commit details
    View at this point in the history
    Browse the repository at this point in the history

Commits on Jan 25, 2020

  1. Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

    Pull networking fixes from David Miller:
    
     1) Off by one in mt76 airtime calculation, from Dan Carpenter.
    
     2) Fix TLV fragment allocation loop condition in iwlwifi, from Luca
        Coelho.
    
     3) Don't confirm neigh entries when doing ipsec pmtu updates, from Xu
        Wang.
    
     4) More checks to make sure we only send TSO packets to lan78xx chips
        that they can actually handle. From James Hughes.
    
     5) Fix ip_tunnel namespace move, from William Dauchy.
    
     6) Fix unintended packet reordering due to cooperation between
        listification done by GRO and non-GRO paths. From Maxim
        Mikityanskiy.
    
     7) Add Jakub Kicincki formally as networking co-maintainer.
    
     8) Info leak in airo ioctls, from Michael Ellerman.
    
     9) IFLA_MTU attribute needs validation during rtnl_create_link(), from
        Eric Dumazet.
    
    10) Use after free during reload in mlxsw, from Ido Schimmel.
    
    11) Dangling pointers are possible in tp->highest_sack, fix from Eric
        Dumazet.
    
    12) Missing *pos++ in various networking seq_next handlers, from Vasily
        Averin.
    
    13) CHELSIO_GET_MEM operation neds CAP_NET_ADMIN check, from Michael
        Ellerman.
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (109 commits)
      firestream: fix memory leaks
      net: cxgb3_main: Add CAP_NET_ADMIN check to CHELSIO_GET_MEM
      net: bcmgenet: Use netif_tx_napi_add() for TX NAPI
      tipc: change maintainer email address
      net: stmmac: platform: fix probe for ACPI devices
      net/mlx5e: kTLS, Do not send decrypted-marked SKBs via non-accel path
      net/mlx5e: kTLS, Remove redundant posts in TX resync flow
      net/mlx5e: kTLS, Fix corner-case checks in TX resync flow
      net/mlx5e: Clear VF config when switching modes
      net/mlx5: DR, use non preemptible call to get the current cpu number
      net/mlx5: E-Switch, Prevent ingress rate configuration of uplink rep
      net/mlx5: DR, Enable counter on non-fwd-dest objects
      net/mlx5: Update the list of the PCI supported devices
      net/mlx5: Fix lowest FDB pool size
      net: Fix skb->csum update in inet_proto_csum_replace16().
      netfilter: nf_tables: autoload modules from the abort path
      netfilter: nf_tables: add __nft_chain_type_get()
      netfilter: nf_tables_offload: fix check the chain offload flag
      netfilter: conntrack: sctp: use distinct states for new SCTP connections
      ipv6_route_seq_next should increase position index
      ...
    torvalds committed Jan 25, 2020
    Copy the full SHA
    84809aa View commit details
    View at this point in the history
    Browse the repository at this point in the history
  2. Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/soc/soc
    
    Pull ARM SoC fixes from Olof Johansson:
     "A couple of fixes have come in that would be good to include in this
      release:
    
       - A fix for amount of memory on Beaglebone Black. Surfaced now since
         GRUB2 doesn't update memory size in the booted kernel.
    
       - A fix to make SPI interfaces work on am43x-epos-evm.
    
       - Small Kconfig fix for OPTEE (adds a depend on MMU) to avoid build
         failures"
    
    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
      ARM: dts: am43x-epos-evm: set data pin directions for spi0 and spi1
      tee: optee: Fix compilation issue with nommu
      ARM: dts: am335x-boneblack-common: fix memory size
    torvalds committed Jan 25, 2020
    Copy the full SHA
    f041ead View commit details
    View at this point in the history
    Browse the repository at this point in the history
  3. firestream: fix memory leaks

    In fs_open(), 'vcc' is allocated through kmalloc() and assigned to
    'atm_vcc->dev_data.' In the following execution, if an error occurs, e.g.,
    there is no more free channel, an error code EBUSY or ENOMEM will be
    returned. However, 'vcc' is not deallocated, leading to memory leaks. Note
    that, in normal cases where fs_open() returns 0, 'vcc' will be deallocated
    in fs_close(). But, if fs_open() fails, there is no guarantee that
    fs_close() will be invoked.
    
    To fix this issue, deallocate 'vcc' before the error code is returned.
    
    Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    wenwenwang1 authored and davem330 committed Jan 25, 2020
    Copy the full SHA
    fa865ba View commit details
    View at this point in the history
    Browse the repository at this point in the history
  4. Merge tag 'pinctrl-v5.5-5' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/linusw/linux-pinctrl
    
    Pull pin control fix from Linus Walleij:
     "A single fix for the Intel Sunrisepoint pin controller that makes the
      interrupts work properly on it"
    
    * tag 'pinctrl-v5.5-5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
      pinctrl: sunrisepoint: Add missing Interrupt Status register offset
    torvalds committed Jan 25, 2020
    Copy the full SHA
    93d1a05 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  5. Merge tag 'mlx5-fixes-2020-01-24' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/saeed/linux
    
    Saeed Mahameed says:
    
    ====================
    Mellanox, mlx5 fixes 2020-01-24
    
    This series introduces some fixes to mlx5 driver.
    
    Please pull and let me know if there is any problem.
    
    Merge conflict: once merge with net-next, a contextual conflict will
    appear in drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
    since the code moved in net-next.
    To resolve, just delete ALL of the conflicting hunk from net.
    So sorry for the small mess ..
    
    For -stable v5.4:
     ('net/mlx5: Update the list of the PCI supported devices')
     ('net/mlx5: Fix lowest FDB pool size')
     ('net/mlx5e: kTLS, Fix corner-case checks in TX resync flow')
     ('net/mlx5e: kTLS, Do not send decrypted-marked SKBs via non-accel path')
     ('net/mlx5: Eswitch, Prevent ingress rate configuration of uplink rep')
     ('net/mlx5e: kTLS, Remove redundant posts in TX resync flow')
     ('net/mlx5: DR, Enable counter on non-fwd-dest objects')
     ('net/mlx5: DR, use non preemptible call to get the current cpu number')
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Jan 25, 2020
    Copy the full SHA
    722943a View commit details
    View at this point in the history
    Browse the repository at this point in the history
  6. net: cxgb3_main: Add CAP_NET_ADMIN check to CHELSIO_GET_MEM

    The cxgb3 driver for "Chelsio T3-based gigabit and 10Gb Ethernet
    adapters" implements a custom ioctl as SIOCCHIOCTL/SIOCDEVPRIVATE in
    cxgb_extension_ioctl().
    
    One of the subcommands of the ioctl is CHELSIO_GET_MEM, which appears
    to read memory directly out of the adapter and return it to userspace.
    It's not entirely clear what the contents of the adapter memory
    contains, but the assumption is that it shouldn't be accessible to all
    users.
    
    So add a CAP_NET_ADMIN check to the CHELSIO_GET_MEM case. Put it after
    the is_offload() check, which matches two of the other subcommands in
    the same function which also check for is_offload() and CAP_NET_ADMIN.
    
    Found by Ilja by code inspection, not tested as I don't have the
    required hardware.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    mpe authored and davem330 committed Jan 25, 2020
    Copy the full SHA
    3546d8f View commit details
    View at this point in the history
    Browse the repository at this point in the history
  7. net: bcmgenet: Use netif_tx_napi_add() for TX NAPI

    Before commit 7587935 ("net: bcmgenet: move NAPI initialization to
    ring initialization") moved the code, this used to be
    netif_tx_napi_add(), but we lost that small semantic change in the
    process, restore that.
    
    Fixes: 7587935 ("net: bcmgenet: move NAPI initialization to ring initialization")
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Acked-by: Doug Berger <opendmb@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    ffainelli authored and davem330 committed Jan 25, 2020
    Copy the full SHA
    148965d View commit details
    View at this point in the history
    Browse the repository at this point in the history
  8. net: stmmac: platform: fix probe for ACPI devices

    Use generic device API to get phy mode to fix probe failure
    with ACPI based devices.
    
    Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Ajay Gupta authored and davem330 committed Jan 25, 2020
    Copy the full SHA
    b9f0b2f View commit details
    View at this point in the history
    Browse the repository at this point in the history
  9. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    Pull input fixes from Dmitry Torokhov:
    
     - add sanity checks to USB endpoints in various dirvers
    
     - max77650-onkey was missing an OF table which was preventing module
       autoloading
    
     - a revert and a different fix for F54 handling in Synaptics dirver
    
     - a fixup for handling register in pm8xxx vibrator driver
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: pm8xxx-vib - fix handling of separate enable register
      Input: keyspan-remote - fix control-message timeouts
      Input: max77650-onkey - add of_match table
      Input: rmi_f54 - read from FIFO in 32 byte blocks
      Revert "Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers"
      Input: sur40 - fix interface sanity checks
      Input: gtco - drop redundant variable reinit
      Input: gtco - fix extra-descriptor debug message
      Input: gtco - fix endpoint sanity check
      Input: aiptek - use descriptors of current altsetting
      Input: aiptek - fix endpoint sanity check
      Input: pegasus_notetaker - fix endpoint sanity check
      Input: sun4i-ts - add a check for devm_thermal_zone_of_sensor_register
      Input: evdev - convert kzalloc()/vzalloc() to kvzalloc()
    torvalds committed Jan 25, 2020
    Copy the full SHA
    d5d359b View commit details
    View at this point in the history
    Browse the repository at this point in the history

Commits on Jan 24, 2020

  1. Merge tag 'tee-optee-fix2-for-5.5' of https://git.linaro.org:/people/…

    …jens.wiklander/linux-tee into arm/fixes
    
    Fix OP-TEE compile error with nommu
    
    * tag 'tee-optee-fix2-for-5.5' of https://git.linaro.org:/people/jens.wiklander/linux-tee:
      tee: optee: Fix compilation issue with nommu
    
    Link: https://lore.kernel.org/r/20200123101310.GA10320@jax
    Signed-off-by: Olof Johansson <olof@lixom.net>
    olofj committed Jan 24, 2020
    Copy the full SHA
    088307d View commit details
    View at this point in the history
    Browse the repository at this point in the history
  2. net/mlx5e: kTLS, Do not send decrypted-marked SKBs via non-accel path

    When TCP out-of-order is identified (unexpected tcp seq mismatch), driver
    analyzes the packet and decides what handling should it get:
    1. go to accelerated path (to be encrypted in HW),
    2. go to regular xmit path (send w/o encryption),
    3. drop.
    
    Packets marked with skb->decrypted by the TLS stack in the TX flow skips
    SW encryption, and rely on the HW offload.
    Verify that such packets are never sent un-encrypted on the wire.
    Add a WARN to catch such bugs, and prefer dropping the packet in these cases.
    
    Fixes: 46a3ea9 ("net/mlx5e: kTLS, Enhance TX resync flow")
    Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
    Signed-off-by: Boris Pismenny <borisp@mellanox.com>
    Reviewed-by: Boris Pismenny <borisp@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    Tariq Toukan authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    342508c View commit details
    View at this point in the history
    Browse the repository at this point in the history
  3. net/mlx5e: kTLS, Remove redundant posts in TX resync flow

    The call to tx_post_resync_params() is done earlier in the flow,
    the post of the control WQEs is unnecessarily repeated. Remove it.
    
    Fixes: 700ec49 ("net/mlx5e: kTLS, Fix missing SQ edge fill")
    Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
    Signed-off-by: Boris Pismenny <borisp@mellanox.com>
    Reviewed-by: Boris Pismenny <borisp@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    Tariq Toukan authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    1e92899 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  4. net/mlx5e: kTLS, Fix corner-case checks in TX resync flow

    There are the following cases:
    
    1. Packet ends before start marker: bypass offload.
    2. Packet starts before start marker and ends after it: drop,
       not supported, breaks contract with kernel.
    3. packet ends before tls record info starts: drop,
       this packet was already acknowledged and its record info
       was released.
    
    Add the above as comment in code.
    
    Mind possible wraparounds of the TCP seq, replace the simple comparison
    with a call to the TCP before() method.
    
    In addition, remove logic that handles negative sync_len values,
    as it became impossible.
    
    Fixes: d2ead1f ("net/mlx5e: Add kTLS TX HW offload support")
    Fixes: 46a3ea9 ("net/mlx5e: kTLS, Enhance TX resync flow")
    Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
    Signed-off-by: Boris Pismenny <borisp@mellanox.com>
    Reviewed-by: Boris Pismenny <borisp@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    Tariq Toukan authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    ffbd9ca View commit details
    View at this point in the history
    Browse the repository at this point in the history
  5. net/mlx5e: Clear VF config when switching modes

    Currently VF in LEGACY mode are not able to go up. Also in OFFLOADS
    mode, when switching to it first time, VF can go up independently to
    his representor, which is not expected.
    Perform clearing of VF config when switching modes and set link state
    to AUTO as default value. Also, when switching to OFFLOADS mode set
    link state to DOWN, which allow VF link state to be controlled by its
    REP.
    
    Fixes: 1ab2068 ("net/mlx5: Implement vports admin state backup/restore")
    Fixes: 556b9d1 ("net/mlx5: Clear VF's configuration on disabling SRIOV")
    Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com>
    Signed-off-by: Roi Dayan <roid@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    DmytroLinkin authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    3b83b6c View commit details
    View at this point in the history
    Browse the repository at this point in the history
  6. net/mlx5: DR, use non preemptible call to get the current cpu number

    Use raw_smp_processor_id instead of smp_processor_id() otherwise we will
    get the following trace in debug-kernel:
    	BUG: using smp_processor_id() in preemptible [00000000] code: devlink
    	caller is dr_create_cq.constprop.2+0x31d/0x970 [mlx5_core]
    	Call Trace:
    	dump_stack+0x9a/0xf0
    	debug_smp_processor_id+0x1f3/0x200
    	dr_create_cq.constprop.2+0x31d/0x970
    	genl_family_rcv_msg+0x5fd/0x1170
    	genl_rcv_msg+0xb8/0x160
    	netlink_rcv_skb+0x11e/0x340
    
    Fixes: 297ccce ("net/mlx5: DR, Expose an internal API to issue RDMA operations")
    Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    Erez Shitrit authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    c0702a4 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  7. net/mlx5: E-Switch, Prevent ingress rate configuration of uplink rep

    Since the implementation relies on limiting the VF transmit rate to
    simulate ingress rate limiting, and since either uplink representor or
    ecpf are not associated with a VF, we limit the rate limit configuration
    for those ports.
    
    Fixes: fcb64c0 ("net/mlx5: E-Switch, add ingress rate support")
    Signed-off-by: Eli Cohen <eli@mellanox.com>
    Reviewed-by: Roi Dayan <roid@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    Eli Cohen authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    e401a18 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  8. net/mlx5: DR, Enable counter on non-fwd-dest objects

    The current code handles only counters that attached to dest, we still
    have the cases where we have counter on non-dest, like over drop etc.
    
    Fixes: 6a48fae ("net/mlx5: Add direct rule fs_cmd implementation")
    Signed-off-by: Hamdan Igbaria <hamdani@mellanox.com>
    Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
    Reviewed-by: Alex Vesker <valex@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    Erez Shitrit authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    b850a82 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  9. net/mlx5: Update the list of the PCI supported devices

    Add the upcoming ConnectX-7 device ID.
    
    Fixes: 85327a9 ("net/mlx5: Update the list of the PCI supported devices")
    Signed-off-by: Meir Lichtinger <meirl@mellanox.com>
    Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    meir-lichtinger authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    505a7f5 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  10. net/mlx5: Fix lowest FDB pool size

    The pool sizes represent the pool sizes in the fw. when we request
    a pool size from fw, it will return the next possible group.
    We track how many pools the fw has left and start requesting groups
    from the big to the small.
    When we start request 4k group, which doesn't exists in fw, fw
    wants to allocate the next possible size, 64k, but will fail since
    its exhausted. The correct smallest pool size in fw is 128 and not 4k.
    
    Fixes: e52c280 ("net/mlx5: E-Switch, Add chains and priorities")
    Signed-off-by: Paul Blakey <paulb@mellanox.com>
    Reviewed-by: Roi Dayan <roid@mellanox.com>
    Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
    Paul Blakey authored and Saeed Mahameed committed Jan 24, 2020
    Copy the full SHA
    93b8a7e View commit details
    View at this point in the history
    Browse the repository at this point in the history
  11. Merge tag 'iommu-fixes-v5.5-rc7' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/joro/iommu
    
    Pull iommu fixes from Joerg Roedel:
     "Two fixes:
    
       - Fix NULL-ptr dereference bug in Intel IOMMU driver
    
       - Properly save and restore AMD IOMMU performance counter registers
         when testing if they are writable"
    
    * tag 'iommu-fixes-v5.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
      iommu/amd: Fix IOMMU perf counter clobbering during init
      iommu/vt-d: Call __dmar_remove_one_dev_info with valid pointer
    torvalds committed Jan 24, 2020
    Copy the full SHA
    6381b44 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  12. Merge tag 'drm-fixes-2020-01-24' of git://anongit.freedesktop.org/drm…

    …/drm
    
    Pull drm fixes from Dave Airlie:
     "This one has a core mst fix and two i915 fixes. amdgpu just enables
      some hw outside experimental.
    
      The panfrost fix is a little bigger than I'd like at this stage but it
      fixes a fairly fundamental problem with global shared buffers in that
      driver, and since it's confined to that driver and I've taken a look
      at it, I think it's fine to get into the tree now, so it can get
      stable propagated as well.
    
      core/mst:
       - Fix SST branch device handling
    
      amdgpu:
       - enable renoir outside experimental
    
      i915:
       - Avoid overflow with huge userptr objects
       - uAPI fix to correctly handle negative values in
         engine->uabi_class/instance (cc: stable)
    
      panfrost:
       - Fix mapping of globally visible BO's (Boris)"
    
    * tag 'drm-fixes-2020-01-24' of git://anongit.freedesktop.org/drm/drm:
      drm/amdgpu: remove the experimental flag for renoir
      drm/panfrost: Add the panfrost_gem_mapping concept
      drm/i915: Align engine->uabi_class/instance with i915_drm.h
      drm/i915/userptr: fix size calculation
      drm/dp_mst: Handle SST-only branch device case
    torvalds committed Jan 24, 2020
    Copy the full SHA
    274adbf View commit details
    View at this point in the history
    Browse the repository at this point in the history
  13. iommu/amd: Fix IOMMU perf counter clobbering during init

    init_iommu_perf_ctr() clobbers the register when it checks write access
    to IOMMU perf counters and fails to restore when they are writable.
    
    Add save and restore to fix it.
    
    Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
    Fixes: 30861dd ("perf/x86/amd: Add IOMMU Performance Counter resource management")
    Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
    Tested-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
    Signed-off-by: Joerg Roedel <jroedel@suse.de>
    shuahkh authored and joergroedel committed Jan 24, 2020
    Copy the full SHA
    8c17bbf View commit details
    View at this point in the history
    Browse the repository at this point in the history
  14. iommu/vt-d: Call __dmar_remove_one_dev_info with valid pointer

    It is possible for archdata.iommu to be set to
    DEFER_DEVICE_DOMAIN_INFO or DUMMY_DEVICE_DOMAIN_INFO so check for
    those values before calling __dmar_remove_one_dev_info. Without a
    check it can result in a null pointer dereference. This has been seen
    while booting a kdump kernel on an HP dl380 gen9.
    
    Cc: Joerg Roedel <joro@8bytes.org>
    Cc: Lu Baolu <baolu.lu@linux.intel.com>
    Cc: David Woodhouse <dwmw2@infradead.org>
    Cc: stable@vger.kernel.org # 5.3+
    Cc: linux-kernel@vger.kernel.org
    Fixes: ae23bfb ("iommu/vt-d: Detach domain before using a private one")
    Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
    Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
    Signed-off-by: Joerg Roedel <jroedel@suse.de>
    snits authored and joergroedel committed Jan 24, 2020
    Copy the full SHA
    bf708cf View commit details
    View at this point in the history
    Browse the repository at this point in the history
  15. l2t_seq_next should increase position index

    if seq_file .next fuction does not change position index,
    read after some lseek can generate unexpected output.
    
    https://bugzilla.kernel.org/show_bug.cgi?id=206283
    Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    vaverin authored and davem330 committed Jan 24, 2020
    Copy the full SHA
    66018a1 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  16. seq_tab_next() should increase position index

    if seq_file .next fuction does not change position index,
    read after some lseek can generate unexpected output.
    
    https://bugzilla.kernel.org/show_bug.cgi?id=206283
    Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    vaverin authored and davem330 committed Jan 24, 2020
    Copy the full SHA
    70a8728 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  17. i40e: fix spelling mistake "to" -> "too"

    There is a spelling mistake in a hw_dbg message. Fix it.
    
    Signed-off-by: Colin Ian King <colin.king@canonical.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Colin Ian King authored and davem330 committed Jan 24, 2020
    Copy the full SHA
    959b182 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  18. Merge tag 'mmc-v5.5-rc2-2' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/ulfh/mmc
    
    Pull MMC fixes from Ulf Hansson:
     "A couple of MMC host fixes:
    
       - sdhci: Fix minimum clock rate for v3 controllers
    
       - sdhci-tegra: Fix SDR50 tuning override
    
       - sdhci_am654: Fixup tuning issues and support for CQHCI
    
       - sdhci_am654: Remove wrong write protect flag"
    
    * tag 'mmc-v5.5-rc2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
      mmc: sdhci: fix minimum clock rate for v3 controller
      mmc: tegra: fix SDR50 tuning override
      mmc: sdhci_am654: Fix Command Queuing in AM65x
      mmc: sdhci_am654: Reset Command and Data line after tuning
      mmc: sdhci_am654: Remove Inverted Write Protect flag
    torvalds committed Jan 24, 2020
    Copy the full SHA
    838a860 View commit details
    View at this point in the history
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. Merge tag 'amd-drm-fixes-5.5-2020-01-23' of git://people.freedesktop.…

    …org/~agd5f/linux into drm-fixes
    
    amd-drm-fixes-5.5-2020-01-23:
    
    amdgpu:
    - remove the experimental flag from renoir
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    From: Alex Deucher <alexdeucher@gmail.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200123191424.3849-1-alexander.deucher@amd.com
    airlied committed Jan 23, 2020
    Copy the full SHA
    49412f6 View commit details
    View at this point in the history
    Browse the repository at this point in the history
  2. Merge tag 'drm-intel-fixes-2020-01-23' of git://anongit.freedesktop.o…

    …rg/drm/drm-intel into drm-fixes
    
    - Avoid overflow with huge userptr objects
    - uAPI fix to correctly handle negative values in
      engine->uabi_class/instance (cc: stable)
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200123135045.GA12584@jlahtine-desk.ger.corp.intel.com
    airlied committed Jan 23, 2020
    Copy the full SHA
    b529371 View commit details
    View at this point in the history
    Browse the repository at this point in the history
Older