Re: [PATCH v1 5/9] firmware: keembay: Add support for Trusted Firmware Service call

2021-01-18 Thread Sudeep Holla
On Mon, Jan 18, 2021 at 10:28:33AM +, Zulkifli, Muhammad Husaini wrote: > Hi Sudeep and Mark, > > Thanks for the review. I replied inline. > > >-Original Message- > >From: Sudeep Holla > >Sent: Saturday, January 16, 2021 2:58 AM > >To: Mark Brown > >Cc: Zulkifli, Muhammad Husaini ;

Re: [PATCH] usb: bdc: Remove the BDC PCI driver

2021-01-18 Thread Greg Kroah-Hartman
On Mon, Jan 18, 2021 at 01:30:36PM +0200, Felipe Balbi wrote: > > Hi, > > Al Cooper writes: > > The BDC PCI driver was only used for design verification with > > an PCI/FPGA board. The board no longer exists and is not in use > > anywhere. All instances of this core now exist as a memory mapped

Re: [PATCH v2 02/12] ASoC: arizona-jack: Add arizona-jack.c

2021-01-18 Thread Andy Shevchenko
On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: > > Add an unmodified copy of drivers/extcon/extcon-arizona.c as > sound/soc/codecs/arizona-jack.c . Usually adding -M -C to `git format-patch` helps a lot of rename detections. I think in the next version we easily see the evidence of the abov

re: GTP: add support for flow based tunneling API

2021-01-18 Thread Colin Ian King
Hi, Static analysis of today's linux-next using Coverity has found a potential memory leak issue in the following commit: commit 9ab7e76aefc97a9aa664accb59d6e8dc5e52514a Author: Pravin B Shelar Date: Sat Jan 9 23:00:21 2021 -0800 GTP: add support for flow based tunneling API The analysis

Re: [PATCH v1 5/9] firmware: keembay: Add support for Trusted Firmware Service call

2021-01-18 Thread Cristian Marussi
Hi sorry I'm a bit late on this. On Mon, Jan 18, 2021 at 10:28:33AM +, Zulkifli, Muhammad Husaini wrote: > Hi Sudeep and Mark, > > Thanks for the review. I replied inline. > > >-Original Message- > >From: Sudeep Holla > >Sent: Saturday, January 16, 2021 2:58 AM > >To: Mark Brown

Re: [PATCH v3 3/3] ASoC: rt715:add micmute led state control supports

2021-01-18 Thread Mark Brown
On Sat, Jan 16, 2021 at 11:50:31PM +0800, Perry Yuan wrote: > On 2021/1/13 1:54, Mark Brown wrote: > > > + bool micmute_led; > > What is this for, it never seems to be read except for in the function > > where it's set? > Do you mean i can use a local micmute_led var in the function? Yes. sig

RE: [PATCH v17 05/10] fs/ntfs3: Add attrib operations

2021-01-18 Thread Konstantin Komarov
From: Kari Argillander Sent: Monday, January 4, 2021 3:26 AM > To: Konstantin Komarov > Cc: linux-fsde...@vger.kernel.org; v...@zeniv.linux.org.uk; > linux-kernel@vger.kernel.org; p...@kernel.org; dste...@suse.cz; > aap...@suse.com; wi...@infradead.org; rdun...@infradead.org; > j...@perches.com

Re: [PATCH v3 1/7] regulator: qcom-labibb: Implement voltage selector ops

2021-01-18 Thread Mark Brown
On Sun, Jan 17, 2021 at 11:08:24PM +0100, AngeloGioacchino Del Regno wrote: > Implement {get,set}_voltage_sel, list_voltage, map_voltage with > the useful regulator regmap helpers in order to be able to manage > the voltage of LAB (positive) and IBB (negative) regulators. Please do not submit new

Re: [PATCH v3 18/21] dt-bindings: allwinner: Add H616 compatible strings

2021-01-18 Thread Mark Brown
On Mon, Jan 18, 2021 at 02:08:45AM +, Andre Przywara wrote: > Add simple "allwinner,sun50i-h616-xxx" compatible names to existing > bindings, and pair them with an existing fallback compatible string, > as the devices are compatible. > This covers I2C, infrared, RTC and SPI. > > Use enums to g

Re: [PATCH v2 06/12] ASoC: arizona-jack: Move jack-detect variables to struct arizona_priv

2021-01-18 Thread Andy Shevchenko
On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: > > Move all the jack-detect variables from struct arizona_extcon_info to > struct arizona_priv. > > This is part of a patch series converting the arizona extcon driver into > a helper library for letting the arizona codec-drivers directly repor

Re: [PATCH] openrisc: add arch/openrisc/Kbuild

2021-01-18 Thread Stafford Horne
On Sun, Jan 17, 2021 at 05:03:32PM +0900, Masahiro Yamada wrote: > Describe the subdirectories under arch/openrisc/ in arch/openrisc/Kbuild > so you can use the standard obj-y syntax. > > I removed the CONFIG_OPENRISC_BUILTIN_DTB conditional because it is > already controlled by arch/openrisc/boot

[PATCH 5.10 037/152] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-18 Thread Greg Kroah-Hartman
From: Will Deacon commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream. GCC versions >= 4.9 and < 5.1 have been shown to emit memory references beyond the stack pointer, resulting in memory corruption if an interrupt is taken after the stack pointer has been adjusted but before the reference

Re: [PATCH v2 07/12] ASoC: arizona-jack: Use arizona->dev for runtime-pm

2021-01-18 Thread Andy Shevchenko
On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: > > Use arizona->dev for runtime-pm as the main shared/libray code from > sound/soc/codecs/arizona.c does. Can you elaborate switchings from get() to get_sync() in few places along with moving disable()? -- With Best Regards, Andy Shevchenko

Re: [PATCH v4 net-next] net: bridge: check vlan with eth_type_vlan() method

2021-01-18 Thread Nikolay Aleksandrov
On 17/01/2021 10:09, menglong8.d...@gmail.com wrote: > From: Menglong Dong > > Replace some checks for ETH_P_8021Q and ETH_P_8021AD with > eth_type_vlan(). > > Signed-off-by: Menglong Dong > --- > v4: > - remove unnecessary brackets. > > v3: > - fix compile warning in br_vlan_set_proto() by ca

[PATCH 5.10 043/152] dm integrity: fix flush with external metadata device

2021-01-18 Thread Greg Kroah-Hartman
From: Mikulas Patocka commit 9b5948267adc9e689da609eb61cf7ed49cae5fa8 upstream. With external metadata device, flush requests are not passed down to the data device. Fix this by submitting the flush request in dm_integrity_flush_buffers. In order to not degrade performance, we overlap the data

[PATCH 5.10 009/152] drm/amdgpu: fix DRM_INFO flood if display core is not supported (bug 210921)

2021-01-18 Thread Greg Kroah-Hartman
From: Alexandre Demers commit ff9346dbabbb6595c5c20d90d88ae4a2247487a9 upstream. This fix bug 210921 where DRM_INFO floods log when hitting an unsupported ASIC in amdgpu_device_asic_has_dc_support(). This info should be only called once. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=210921

Re: [PATCH v2 12/12] extcon: arizona: Drop the arizona extcon driver

2021-01-18 Thread Andy Shevchenko
On Sun, Jan 17, 2021 at 6:06 PM Hans de Goede wrote: > > The codec drivers for arizona codecs now take care of jack-detect > handling themselves; and drivers/mfd/arizona-core.c no longer > instantiates a "arizona-extcon" child-device for these. > > This means that the "arizona-extcon" driver is no

Re: [PATCH v3 2/5] mfd: arizona: Replace arizona_of_get_type() with device_get_match_data()

2021-01-18 Thread Andy Shevchenko
On Sun, Jan 17, 2021 at 11:23 PM Hans de Goede wrote: > > Replace the custom arizona_of_get_type() function with the generic > device_get_match_data() helper. Besides being a nice cleanup this > also makes it easier to add support for binding to ACPI enumerated > devices. > > While at it also fix

[PATCH 5.4 68/76] mm, slub: consider rest of partial list if acquire_slab() fails

2021-01-18 Thread Greg Kroah-Hartman
From: Jann Horn commit 8ff60eb052eeba95cfb3efe16b08c9199f8121cf upstream. acquire_slab() fails if there is contention on the freelist of the page (probably because some other CPU is concurrently freeing an object from the page). In that case, it might make sense to look for a different page (si

Re: [PATCH] x86/perf: Use static_call for x86_pmu.guest_get_msrs

2021-01-18 Thread kernel test robot
Hi Like, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on v5.11-rc4 next-20210118] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as doc

[PATCH 5.4 30/76] btrfs: fix transaction leak and crash after RO remount caused by qgroup rescan

2021-01-18 Thread Greg Kroah-Hartman
From: Filipe Manana [ Upstream commit cb13eea3b49055bd78e6ddf39defd6340f7379fc ] If we remount a filesystem in RO mode while the qgroup rescan worker is running, we can end up having it still running after the remount is done, and at unmount time we may end up with an open transaction that ends

[PATCH 5.4 55/76] NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock

2021-01-18 Thread Greg Kroah-Hartman
From: Dave Wysochanski commit 3d1a90ab0ed93362ec8ac85cf291243c87260c21 upstream. It is only safe to call the tracepoint before rpc_put_task() because 'data' is freed inside nfs4_lock_release (rpc_release). Fixes: 48c9579a1afe ("Adding stateid information to tracepoints") Signed-off-by: Dave Wys

[tip: x86/misc] selftests/fpu: Fix debugfs_simple_attr.cocci warning

2021-01-18 Thread tip-bot2 for kernel test robot
The following commit has been merged into the x86/misc branch of tip: Commit-ID: 443121b3ebb9025fd99ff11851d3537cb756d456 Gitweb: https://git.kernel.org/tip/443121b3ebb9025fd99ff11851d3537cb756d456 Author:kernel test robot AuthorDate:Sun, 25 Oct 2020 11:20:04 +01:00 Commit

Re: [PATCH 3/4] x86/fpu: Make the EFI FPU calling convention explicit

2021-01-18 Thread Borislav Petkov
On Sun, Jan 17, 2021 at 10:20:40PM -0800, Andy Lutomirski wrote: > EFI uses kernel_fpu_begin() to conform to the UEFI calling convention. > This specifically requires initializing FCW, whereas no sane 64-bit kernel > code should use legacy 387 operations that reference FCW. > > Add KFPU_EFI to mak

[PATCH 5.4 32/76] ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram

2021-01-18 Thread Greg Kroah-Hartman
From: Rasmus Villemoes [ Upstream commit 887078de2a23689e29d6fa1b75d7cbc544c280be ] Table 8-53 in the QUICC Engine Reference manual shows definitions of fields up to a size of 192 bytes, not just 128. But in table 8-111, one does find the text Base Address of the Global Transmitter Parameter

[PATCH 5.10 136/152] RDMA/mlx5: Fix wrong free of blue flame register on error

2021-01-18 Thread Greg Kroah-Hartman
From: Mark Bloch commit 1c3aa6bd0b823105c2030af85d92d158e815d669 upstream. If the allocation of the fast path blue flame register fails, the driver should free the regular blue flame register allocated a statement above, not the one that it just failed to allocate. Fixes: 16c1975f1032 ("IB/mlx5

[PATCH 5.10 148/152] dm: eliminate potential source of excessive kernel log noise

2021-01-18 Thread Greg Kroah-Hartman
From: Mike Snitzer commit 0378c625afe80eb3f212adae42cc33c9f6f31abf upstream. There wasn't ever a real need to log an error in the kernel log for ioctls issued with insufficient permissions. Simply return an error and if an admin/user is sufficiently motivated they can enable DM's dynamic debuggi

[PATCH 5.10 147/152] selftests: netfilter: Pass family parameter "-f" to conntrack tool

2021-01-18 Thread Greg Kroah-Hartman
From: Chen Yi commit fab336b42441e0b2eb1d81becedb45fbdf99606e upstream. Fix nft_conntrack_helper.sh false fail report: 1) Conntrack tool need "-f ipv6" parameter to show out ipv6 traffic items. 2) Sleep 1 second after background nc send packet, to make sure check is after this statement execut

[PATCH 5.10 149/152] ALSA: fireface: Fix integer overflow in transmit_midi_msg()

2021-01-18 Thread Greg Kroah-Hartman
From: Geert Uytterhoeven commit e7c22eeaff8565d9a8374f320238c251ca31480b upstream. As snd_ff.rx_bytes[] is unsigned int, and NSEC_PER_SEC is 10L, the second multiplication in ff->rx_bytes[port] * 8 * NSEC_PER_SEC / 31250 always overflows on 32-bit platforms, truncating the result.

[PATCH 5.10 146/152] net: sunrpc: interpret the return value of kstrtou32 correctly

2021-01-18 Thread Greg Kroah-Hartman
From: j.nixd...@avm.de commit 86b53fbf08f48d353a86a06aef537e78e82ba721 upstream. A return value of 0 means success. This is documented in lib/kstrtox.c. This was found by trying to mount an NFS share from a link-local IPv6 address with the interface specified by its index: mount("[fe80::1%1]

[PATCH 5.10 109/152] mm: fix clear_refs_write locking

2021-01-18 Thread Greg Kroah-Hartman
From: Linus Torvalds [ Upstream commit 29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb ] Turning page table entries read-only requires the mmap_sem held for writing. So stop doing the odd games with turning things from read locks to write locks and back. Just get the write lock. Signed-off-by: Linus

[PATCH 5.10 145/152] iommu/vt-d: Fix unaligned addresses for intel_flush_svm_range_dev()

2021-01-18 Thread Greg Kroah-Hartman
From: Lu Baolu commit 2d6ffc63f12417b979955a5b22ad9a76d2af5de9 upstream. The VT-d hardware will ignore those Addr bits which have been masked by the AM field in the PASID-based-IOTLB invalidation descriptor. As the result, if the starting address in the descriptor is not aligned with the address

[PATCH 5.10 100/152] bpf: Save correct stopping point in file seq iteration

2021-01-18 Thread Greg Kroah-Hartman
From: Jonathan Lemon [ Upstream commit 69ca310f34168eae0ada434796bfc22fb4a0fa26 ] On some systems, some variant of the following splat is repeatedly seen. The common factor in all traces seems to be the entry point to task_file_seq_next(). With the patch, all warnings go away. rcu: INFO:

YOU HAVE WON

2021-01-18 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

[PATCH 5.10 144/152] riscv: Trace irq on only interrupt is enabled

2021-01-18 Thread Greg Kroah-Hartman
From: Atish Patra commit 7cd1af107a92eb63b93a96dc07406dcbc5269436 upstream. We should call irq trace only if interrupt is going to be enabled during excecption handling. Otherwise, it results in following warning during boot with lock debugging enabled. [0.00] [ cut here ]--

[PATCH 5.10 134/152] RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp

2021-01-18 Thread Greg Kroah-Hartman
From: Dinghao Liu commit a306aba9c8d869b1fdfc8ad9237f1ed718ea55e6 upstream. If usnic_ib_qp_grp_create() fails at the first call, dev_list will not be freed on error, which leads to memleak. Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware driver") Link: https://lore.kernel.org/r

[PATCH 5.10 143/152] mm, slub: consider rest of partial list if acquire_slab() fails

2021-01-18 Thread Greg Kroah-Hartman
From: Jann Horn commit 8ff60eb052eeba95cfb3efe16b08c9199f8121cf upstream. acquire_slab() fails if there is contention on the freelist of the page (probably because some other CPU is concurrently freeing an object from the page). In that case, it might make sense to look for a different page (si

Re: [PATCH net v2] udp: ipv4: manipulate network header of NATed UDP GRO fraglist

2021-01-18 Thread Alexander Lobakin
> From: Steffen Klassert > Date: Mon, 18 Jan 2021 07:37:59 +0100 > > On Fri, Jan 15, 2021 at 05:12:33PM +, Alexander Lobakin wrote: >> From: Dongseok Yi >> Date: Fri, 15 Jan 2021 22:20:35 +0900 >> >>> UDP/IP header of UDP GROed frag_skbs are not updated even after NAT >>> forwarding. Only the

Re: [PATCH v2 bpf-next 2/2] selftests: bpf: Add a new test for bare tracepoints

2021-01-18 Thread Qais Yousef
On 01/16/21 18:11, Yonghong Song wrote: > > > On 1/16/21 10:21 AM, Qais Yousef wrote: > > Reuse module_attach infrastructure to add a new bare tracepoint to check > > we can attach to it as a raw tracepoint. > > > > Signed-off-by: Qais Yousef > > --- > > .../bpf/bpf_testmod/bpf_testmod-events

Re: [PATCH] drm/panel: panel-simple: add bus-format and connector-type to Innolux n116bge

2021-01-18 Thread Heiko Stuebner
On Sat, 9 Jan 2021 14:09:51 +0100, Heiko Stuebner wrote: > The Innolux n116bge panel has an eDP connector and 3*6 bits bus format. Applied, thanks! [1/1] drm/panel: panel-simple: add bus-format and connector-type to Innolux n116bge commit: 87969bcd49480508568070fd93d7367f03316aa9 Best reg

Re: [PATCH] media: zr364xx: fix memory leaks in probe()

2021-01-18 Thread Dan Carpenter
On Wed, Jan 13, 2021 at 05:13:41PM +0100, Hans Verkuil wrote: > Hi Dan, > > On 06/01/2021 11:10, Dan Carpenter wrote: > > Syzbot discovered that the probe error handling doesn't clean up the > > resources allocated in zr364xx_board_init(). There are several > > related bugs in this code so I have

[PATCH V2] mm/compaction: correct deferral logic for proactive compaction

2021-01-18 Thread Charan Teja Reddy
should_proactive_compact_node() returns true when sum of the weighted fragmentation score of all the zones in the node is greater than the wmark_high of compaction, which then triggers the proactive compaction that operates on the individual zones of the node. But proactive compaction runs on the z

Re: [PATCH 1/4] x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state

2021-01-18 Thread Peter Zijlstra
On Sun, Jan 17, 2021 at 10:20:38PM -0800, Andy Lutomirski wrote: > - Code that wants MMX doesn't want need MXCSR or FCW initialized. >_mmx_memcpy(), for example, can run before CR4.OSFXSR gets set, and >initializing MXCSR will fail. > +#define KFPU_MMX 0 /* nothing gets

Re: [PATCH v3] Documentation: livepatch: document reliable stacktrace

2021-01-18 Thread Mark Rutland
On Fri, Jan 15, 2021 at 10:20:14AM -0700, Jonathan Corbet wrote: > On Fri, 15 Jan 2021 17:12:51 + > Mark Brown wrote: > > > On Fri, Jan 15, 2021 at 04:47:18PM +, Mark Rutland wrote: > > > On Fri, Jan 15, 2021 at 02:24:46PM +, Mark Brown wrote: > > > > > > +3. Considerations > >

Re: [PATCH] usb: bdc: Remove the BDC PCI driver

2021-01-18 Thread Felipe Balbi
Hi, Greg Kroah-Hartman writes: >> Al Cooper writes: >> > The BDC PCI driver was only used for design verification with >> > an PCI/FPGA board. The board no longer exists and is not in use >> > anywhere. All instances of this core now exist as a memory mapped >> > device on the platform bus. >>

[PATCH 5.10 108/152] blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED

2021-01-18 Thread Greg Kroah-Hartman
From: John Garry [ Upstream commit 02f938e9fed1681791605ca8b96c2d9da9355f6a ] Showing the hctx flags for when BLK_MQ_F_TAG_HCTX_SHARED is set gives something like: root@debian:/home/john# more /sys/kernel/debug/block/sda/hctx0/flags alloc_policy=FIFO SHOULD_MERGE|TAG_QUEUE_SHARED|3 Add the dec

[PATCH 5.10 107/152] net/mlx5: E-Switch, fix changing vf VLANID

2021-01-18 Thread Greg Kroah-Hartman
From: Alaa Hleihel [ Upstream commit 25c904b59aaf4816337acd415514b0c47715f604 ] Adding vf VLANID for the first time, or after having cleared previously defined VLANID works fine, however, attempting to change an existing vf VLANID clears the rules on the firmware, but does not add new rules for

[PATCH 5.10 106/152] net/mlx5: Fix passing zero to PTR_ERR

2021-01-18 Thread Greg Kroah-Hartman
From: YueHaibing [ Upstream commit 0c4accc41cb56e527c8c049f5495af9f3d6bef7e ] Fix smatch warnings: drivers/net/ethernet/mellanox/mlx5/core/esw/acl/egress_lgcy.c:105 esw_acl_egress_lgcy_setup() warn: passing zero to 'PTR_ERR' drivers/net/ethernet/mellanox/mlx5/core/esw/acl/egress_ofld.c:177 es

[PATCH 5.10 105/152] net/mlx5e: CT: Use per flow counter when CT flow accounting is enabled

2021-01-18 Thread Greg Kroah-Hartman
From: Oz Shlomo [ Upstream commit eed38734756596e2cc163bdc7dac3be501b1 ] Connection counters may be shared for both directions when the counter is used for connection aging purposes. However, if TC flow accounting is enabled then a unique counter is required per direction. Instantiate a uni

[PATCH 5.10 128/152] NFS/pNFS: Fix a leak of the layout plh_outstanding counter

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit cb2856c5971723910a86b7d1d0cf623d6919cbc4 upstream. If we exit _lgopen_prepare_attached() without setting a layout, we will currently leak the plh_outstanding counter. Fixes: 411ae722d10a ("pNFS: Wait for stale layoutget calls to complete in pnfs_update_layout()") S

[PATCH 5.10 127/152] NFS/pNFS: Dont leak DS commits in pnfs_generic_retry_commit()

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 46c9ea1d4fee4cf1f8cc6001b9c14aae61b3d502 upstream. We must ensure that we pass a layout segment to nfs_retry_commit() when we're cleaning up after pnfs_bucket_alloc_ds_commits(). Otherwise, requests that should be committed to the DS will get committed to the MDS. Do

[PATCH 5.10 104/152] iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev

2021-01-18 Thread Greg Kroah-Hartman
From: Lu Baolu [ Upstream commit c062db039f40e868c371c36afe8d0fac64305b5d ] The iommu-dma constrains IOVA allocation based on the domain geometry that the driver reports. Update domain geometry everytime a domain is attached to or detached from a device. Signed-off-by: Lu Baolu Tested-by: Loga

[PATCH 5.10 129/152] NFS: nfs_delegation_find_inode_server must first reference the superblock

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 113aac6d567bda783af36d08f73bfda47d8e9a40 upstream. Before referencing the inode, we must ensure that the superblock can be referenced. Otherwise, we can end up with iput() calling superblock operations that are no longer valid or accessible. Fixes: e39d8a186ed0 ("NF

Re: [PATCH v2 1/2] vfio/iommu_type1: Populate full dirty when detach non-pinned group

2021-01-18 Thread Keqian Zhu
On 2021/1/16 2:01, Alex Williamson wrote: > On Fri, 15 Jan 2021 17:26:42 +0800 > Keqian Zhu wrote: > >> If a group with non-pinned-page dirty scope is detached with dirty >> logging enabled, we should fully populate the dirty bitmaps at the >> time it's removed since we don't know the extent o

[PATCH 5.10 130/152] NFS: nfs_igrab_and_active must first reference the superblock

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 896567ee7f17a8a736cda8a28cc987228410a2ac upstream. Before referencing the inode, we must ensure that the superblock can be referenced. Otherwise, we can end up with iput() calling superblock operations that are no longer valid or accessible. Fixes: ea7c38fef0b7 ("NF

[PATCH 5.10 132/152] ext4: fix superblock checksum failure when setting password salt

2021-01-18 Thread Greg Kroah-Hartman
From: Jan Kara commit dfd56c2c0c0dbb11be939b804ddc8d5395ab3432 upstream. When setting password salt in the superblock, we forget to recompute the superblock checksum so it will not match until the next superblock modification which recomputes the checksum. Fix it. CC: Michael Halcrow Reported-

[PATCH 5.10 131/152] scsi: ufs: Fix possible power drain during system suspend

2021-01-18 Thread Greg Kroah-Hartman
From: Stanley Chu commit 1d53864c3617f5235f891ca0fbe9347c4cd35d46 upstream. Currently if device needs to do flush or BKOP operations, the device VCC power is kept during runtime-suspend period. However, if system suspend is happening while device is runtime-suspended, such power may not be disa

[PATCH 5.10 103/152] nvme-fc: avoid calling _nvme_fc_abort_outstanding_ios from interrupt context

2021-01-18 Thread Greg Kroah-Hartman
From: James Smart [ Upstream commit 19fce0470f05031e6af36e49ce222d0f0050d432 ] Recent patches changed calling sequences. nvme_fc_abort_outstanding_ios used to be called from a timeout or work context. Now it is being called in an io completion context, which can be an interrupt handler. Unfortun

[PATCH 5.10 121/152] NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock

2021-01-18 Thread Greg Kroah-Hartman
From: Dave Wysochanski commit 3d1a90ab0ed93362ec8ac85cf291243c87260c21 upstream. It is only safe to call the tracepoint before rpc_put_task() because 'data' is freed inside nfs4_lock_release (rpc_release). Fixes: 48c9579a1afe ("Adding stateid information to tracepoints") Signed-off-by: Dave Wys

[PATCH 5.10 126/152] NFS/pNFS: Dont call pnfs_free_bucket_lseg() before removing the request

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 1757655d780d9d29bc4b60e708342e94924f7ef3 upstream. In pnfs_generic_clear_request_commit(), we try calling pnfs_free_bucket_lseg() before we remove the request from the DS bucket. That will always fail, since the point is to test for whether or not that bucket is empt

[PATCH 5.10 123/152] pNFS: Mark layout for return if return-on-close was not sent

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 67bbceedc9bb8ad48993a8bd6486054756d711f4 upstream. If the layout return-on-close failed because the layoutreturn was never sent, then we should mark the layout for return again. Fixes: 9c47b18cf722 ("pNFS: Ensure we do clear the return-on-close layout stateid on fa

[PATCH 5.10 124/152] pNFS: Stricter ordering of layoutget and layoutreturn

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 2c8d5fc37fe2384a9bdb6965443ab9224d46f704 upstream. If a layout return is in progress, we should wait for it to complete, in case the layout segment we are picking up gets returned too. Fixes: 30cb3ee299cb ("pNFS: Handle NFS4ERR_OLD_STATEID on layoutreturn by bumpin

Re: [PATCH] swiotlb: Validate bounce size in the sync/unmap path

2021-01-18 Thread Martin Radev
On Wed, Jan 13, 2021 at 12:30:17PM +0100, Christoph Hellwig wrote: > On Tue, Jan 12, 2021 at 04:07:29PM +0100, Martin Radev wrote: > > The size of the buffer being bounced is not checked if it happens > > to be larger than the size of the mapped buffer. Because the size > > can be controlled by a d

[PATCH 5.10 122/152] pNFS: We want return-on-close to complete when evicting the inode

2021-01-18 Thread Greg Kroah-Hartman
From: Trond Myklebust commit 078000d02d57f02dde61de4901f289672e98c8bc upstream. If the inode is being evicted, it should be safe to run return-on-close, so we should do it to ensure we don't inadvertently leak layout segments. Fixes: 1c5bd76d17cc ("pNFS: Enable layoutreturn operation for return

[PATCH 5.10 125/152] NFS: Adjust fs_context error logging

2021-01-18 Thread Greg Kroah-Hartman
From: Scott Mayhew commit c98e9daa59a611ff4e163689815f40380c912415 upstream. Several existing dprink()/dfprintk() calls were converted to use the new mount API logging macros by commit ce8866f0913f ("NFS: Attach supplementary error information to fs_context"). If the fs_context was not created

[PATCH 5.10 120/152] nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT

2021-01-18 Thread Greg Kroah-Hartman
From: Sagi Grimberg commit ada831772188192243f9ea437c46e37e97a5975d upstream. We shouldn't call smp_processor_id() in a preemptible context, but this is advisory at best, so instead call __smp_processor_id(). Fixes: db5ad6b7f8cd ("nvme-tcp: try to send request in queue_rq context") Reported-by:

[PATCH 5.10 102/152] cfg80211: select CONFIG_CRC32

2021-01-18 Thread Greg Kroah-Hartman
From: Arnd Bergmann [ Upstream commit 152a8a6c017bfdeda7f6d052fbc6e151891bd9b6 ] Without crc32 support, this fails to link: arm-linux-gnueabi-ld: net/wireless/scan.o: in function `cfg80211_scan_6ghz': scan.c:(.text+0x928): undefined reference to `crc32_le' Fixes: c8cb5b854b40 ("nl80211/cfg8021

Re: [PATCH v2 1/7] acpi: utils: move acpi_lpss_dep() to utils

2021-01-18 Thread Andy Shevchenko
On Mon, Jan 18, 2021 at 09:24:10AM +0200, Laurent Pinchart wrote: > On Mon, Jan 18, 2021 at 12:34:22AM +, Daniel Scally wrote: ... > > +bool acpi_lpss_dep(struct acpi_device *adev, acpi_handle handle); > > "lpss" stands for low power subsystem, an Intel device within the PCH > that handles I

[PATCH V7 00/10] remoteproc: imx_rproc: support iMX8MQ/M

2021-01-18 Thread peng . fan
From: Peng Fan V7: Add R-b tag from Mathieu vdevbuffer->vdev0buffer in patch 1/10, 7/10 correct err msg and shutdown seq per Mathieu's comments in patch 10/10 Hope this version is ok to be merged. V6: Add R-b tag from Mathieu Convert imx-rproc.txt to yaml and add dt-bindings support for i

[PATCH V7 01/10] dt-bindings: remoteproc: convert imx rproc bindings to json-schema

2021-01-18 Thread peng . fan
From: Peng Fan Convert the imx rproc binding to DT schema format using json-schema. Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml| 59 +++ .../bindings/remoteproc/imx-rproc.txt | 33 --- 2 files changed, 59 insertions(+), 33 deletion

[PATCH V7 03/10] remoteproc: introduce is_iomem to rproc_mem_entry

2021-01-18 Thread peng . fan
From: Peng Fan Introduce is_iomem to indicate this piece memory is iomem or not. Reviewed-by: Bjorn Andersson Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- include/linux/remoteproc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/remoteproc.h b/include/linux/r

Re: [PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-18 Thread Mark Brown
On Sat, Jan 16, 2021 at 08:25:37PM -0800, Alistair Francis wrote: > --- /dev/null > +++ b/drivers/regulator/sy7636a-regulator.c > @@ -0,0 +1,233 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Functions to access SY3686A power management chip voltages > + * Please make the entire comment a

[PATCH v7 00/11] Raspberry Pi PoE HAT fan support

2021-01-18 Thread Nicolas Saenz Julienne
The aim of this series is to add support to the fan found on RPi's PoE HAT. Some commentary on the design can be found below. But the important part to the people CC'd here not involved with PWM is that, in order to achieve this properly, we also have to fix the firmware interface the driver uses t

[PATCH V7 06/10] remoteproc: imx_rproc: use devm_ioremap

2021-01-18 Thread peng . fan
From: Peng Fan We might need to map an region multiple times, becaue the region might be shared between remote processors, such i.MX8QM with dual M4 cores. So use devm_ioremap, not devm_ioremap_resource. Reviewed-by: Oleksij Rempel Reviewed-by: Richard Zhu Signed-off-by: Peng Fan Reviewed-by:

[PATCH v7 04/11] gpio: raspberrypi-exp: Release firmware handle on unbind

2021-01-18 Thread Nicolas Saenz Julienne
Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware interface when unbinding the device. Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli Acked-by: Bartosz Golaszewski --- drivers/gpio/gpio-raspberrypi-exp.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH v2 2/7] acpi: utils: Add function to fetch dependent acpi_devices

2021-01-18 Thread Andy Shevchenko
On Mon, Jan 18, 2021 at 12:34:23AM +, Daniel Scally wrote: > In some ACPI tables we encounter, devices use the _DEP method to assert > a dependence on other ACPI devices as opposed to the OpRegions that the > specification intends. We need to be able to find those devices "from" > the dependee,

[PATCH v7 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-01-18 Thread Nicolas Saenz Julienne
Adds support to control the PWM bus available in official Raspberry Pi PoE HAT. Only RPi's co-processor has access to it, so commands have to be sent through RPi's firmware mailbox interface. Signed-off-by: Nicolas Saenz Julienne --- Changes since v6: - Use %pe - Round divisions properly - Use d

[PATCH V7 08/10] remoteproc: imx_rproc: support i.MX8MQ/M

2021-01-18 Thread peng . fan
From: Peng Fan Add i.MX8MQ dev/sys addr map and configuration data structure i.MX8MM share i.MX8MQ settings. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.c | 39 ++ 1 file changed, 39 insertions

[PATCH V7 10/10] remoteproc: imx_proc: enable virtio/mailbox

2021-01-18 Thread peng . fan
From: Peng Fan Use virtio/mailbox to build connection between Remote Proccessors and Linux. Add work queue to handle incoming messages. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 116 - 1 file changed, 113 insertions(+

[PATCH 0/3] auxdisplay: ht16k33: Improvement, fix, and json-schema conversion

2021-01-18 Thread Geert Uytterhoeven
Hi Robin, Rob, Miguel, This patch series contains various updates for the Holtek HT16K33 LED controller with keyscan DT bindings and driver: 1. Make the keypad function optional, from an old patch by Robin that seem to have fallen through the cracks, 2. Fix the default brightness

Re: [PATCH 3/6] devicetree/bindings: Initial commit of silergy,sy7636a-regulator.yaml

2021-01-18 Thread Mark Brown
On Sat, Jan 16, 2021 at 08:25:36PM -0800, Alistair Francis wrote: > Initial support for the Silergy SY7636A-regulator Power Management chip > driver. Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look

Re: linux-next: build warning after merge of the amdgpu tree

2021-01-18 Thread Huang Rui
On Mon, Jan 18, 2021 at 02:52:18PM +0800, Stephen Rothwell wrote: > Hi Ray, > > On Mon, 18 Jan 2021 05:56:20 + "Huang, Ray" wrote: > > > > [AMD Public Use] > > > > Thanks Setphen. Please check attached V2 patch. > > (If you can share the config file to me, I can do the test in my side) > >

YOU HAVE WON

2021-01-18 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International progr

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:6580 ixgbe_setup_rx_resources() error: we previously assumed 'rx_ring->q_vector' could be null (see line 6550)

2021-01-18 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e609571b5ffa3528bf85292de1ceaddac342bc1c commit: b02e5a0ebb172c8276cea3151942aac681f7a4a6 xsk: Propagate napi_id to XDP socket Rx path config: x86_64-randconfig-m001-20210113 (attached as .config) compiler:

[PATCH 3/3] dt-bindings: auxdisplay: ht16k33: Convert to json-schema

2021-01-18 Thread Geert Uytterhoeven
Convert the Holtek HT16K33 LED controller with keyscan Device Tree binding documentation to json-schema. Move the file from display to auxdisplay. Update the example: - Sort properties in order of documentation, - Group tuples using angle brackets to improve human readability and enable au

[PATCH 1/3] dt-bindings: auxdisplay: ht16k33: Keyscan function should be optional

2021-01-18 Thread Geert Uytterhoeven
From: Robin van der Gracht Keyscan should be optional to support simple LED matrix displays (output only). Reported-by: Michael Kaplan Signed-off-by: Robin van der Gracht [geert: Rebased] Signed-off-by: Geert Uytterhoeven --- .../devicetree/bindings/display/ht16k33.txt| 11 +++---

Re: [PATCH bpf-next] xsk: build skb by page

2021-01-18 Thread Alexander Lobakin
From: Xuan Zhuo Date: Sat, 16 Jan 2021 10:44:53 +0800 > This patch is used to construct skb based on page to save memory copy > overhead. > > This has one problem: > > We construct the skb by fill the data page as a frag into the skb. In > this way, the linear space is empty, and the header inf

[PATCH v6 2/6] mfd: ahc1ec0: Add Advantech EC include file used by dt-bindings

2021-01-18 Thread Campion Kang
This files defines the sud-device types and hwmon profiles support by Advantech embedded controller. Signed-off-by: Campion Kang --- include/dt-bindings/mfd/ahc1ec0-dt.h | 25 + 1 file changed, 25 insertions(+) create mode 100644 include/dt-bindings/mfd/ahc1ec0-dt.h dif

[PATCH v6 5/6] hwmon: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded controller

2021-01-18 Thread Campion Kang
This is one of sub-device driver for Advantech embedded controller AHC1EC0. This driver provides sysfs ABI for Advantech related applications to monitor the system status. Changed since V5: - remove unnecessary header files - Using [devm_]hwmon_device_register_with_info() to regist

[PATCH v6 1/6] MAINTAINERS: Add Advantech AHC1EC0 embedded controller entry

2021-01-18 Thread Campion Kang
Add Advantech AHC1EC0 embedded controller entry Changed since V5: - add include/linux/mfd/ahc1ec0.h Signed-off-by: Campion Kang --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 00836f6452f0..e1ccdaadb5ee 100644 --- a/MAINTA

[PATCH v6 3/6] dt-bindings: mfd: ahc1ec0.yaml: Add Advantech embedded controller - AHC1EC0

2021-01-18 Thread Campion Kang
Add DT binding schema for Advantech embedded controller AHC1EC0. Changed since V5: - rename dt-bindings/mfd/ahc1ec0.h to dt-bindings/mfd/ahc1ec0-dt.h that found errors by bot 'make dt_binding_check' Signed-off-by: Campion Kang --- .../devicetree/bindings/mfd/ahc1ec0.yaml |

[PATCH v6 6/6] watchdog: ahc1ec0-wdt: Add sub-device watchdog for Advantech embedded controller

2021-01-18 Thread Campion Kang
This is one of sub-device driver for Advantech embedded controller AHC1EC0. This driver provide watchdog functionality for Advantech related applications to restart the system. Changed since V5: - remove unnecessary header files - bug fixed: reboot halt if watchdog enabled

Re: [PATCH v2 3/7] i2c: i2c-core-base: Use format macro in i2c_dev_set_name()

2021-01-18 Thread Andy Shevchenko
On Mon, Jan 18, 2021 at 12:34:24AM +, Daniel Scally wrote: > Some places in the kernel allow users to map resources to a device > using device name (for example, gpiod_lookup_table). Currently "...in the struct gpiod_lookup_table)." ? > this involves waiting for the i2c_client to have been re

Re: [PATCH v4 2/3] iommu/iova: Avoid double-negatives in magazine helpers

2021-01-18 Thread Jean-Philippe Brucker
On Mon, Jan 18, 2021 at 10:55:52AM +, John Garry wrote: > On 18/01/2021 10:08, Jean-Philippe Brucker wrote: > > > > Any idea why that's happening? This fix seems ok but if we're expecting > > > > allocation failures for the loaded magazine then we could easily get it > > > > for cpu_rcaches to

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-18 Thread Sedat Dilek
On Mon, Jan 18, 2021 at 3:32 AM Bill Wendling wrote: > > On Sun, Jan 17, 2021 at 4:27 PM Sedat Dilek wrote: > > > > [ big snip ] > > [More snippage.] > > > [ CC Fangrui ] > > > > With the attached... > > > >[PATCH v3] module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for > > undefined symbols

Re: [PATCH V2] mm/compaction: correct deferral logic for proactive compaction

2021-01-18 Thread Charan Teja Kalla
Thanks Vlasitmil!! On 1/18/2021 6:07 PM, Vlastimil Babka wrote: > On 1/18/21 1:20 PM, Charan Teja Reddy wrote: >> should_proactive_compact_node() returns true when sum of the >> weighted fragmentation score of all the zones in the node is greater >> than the wmark_high of compaction, which then tr

[PATCH v4 1/2] dt-bindings: power: Add bindings document for Charger support on MT6360 PMIC

2021-01-18 Thread Gene Chen
From: Gene Chen Add bindings document for Charger support on MT6360 PMIC Signed-off-by: Gene Chen Reviewed-by: Rob Herring --- .../bindings/power/supply/mt6360_charger.yaml | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH v4 0/2] power: supply: mt6360_charger: add MT6360 charger support

2021-01-18 Thread Gene Chen
This patch series add MT6360 Charger support contains driver and binding document Gene Chen (2) dt-bindings: power: Add bindings document for Charger support on MT6360 PMIC power: supply: mt6360_charger: add MT6360 charger support Documentation/devicetree/bindings/power/supply/mt6360_charger.y

[PATCH v4 2/2] power: supply: mt6360_charger: add MT6360 charger support

2021-01-18 Thread Gene Chen
From: Gene Chen Add basic support for the battery charger for MT6360 PMIC Signed-off-by: Gene Chen --- drivers/power/supply/Kconfig | 10 + drivers/power/supply/Makefile | 1 + drivers/power/supply/mt6360_charger.c | 914 ++ 3 files changed,

Re: WARNING in io_disable_sqo_submit

2021-01-18 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: INFO: task hung in io_sq_thread_stop INFO: task kworker/u4:0:8 blocked for more than 143 seconds. Not tainted 5.11.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables thi

  1   2   3   4   5   6   7   8   9   10   >