Re: [PATCH v1 0/2] Make fw_devlink=on more forgiving

2021-02-01 Thread Saravana Kannan
On Mon, Feb 1, 2021 at 2:40 AM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Sat, Jan 30, 2021 at 5:09 AM Saravana Kannan wrote: > > On Fri, Jan 29, 2021 at 8:03 PM Saravana Kannan > > wrote: > > > This patch series solves two general issues with fw_devlink=on > > > > > > Patch 1/2 addresse

linux-next: build failure after merge of the block tree

2021-02-01 Thread Stephen Rothwell
Hi all, After merging the block tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: block/bio.c: In function 'bio_add_zone_append_page': block/bio.c:860:31: error: 'struct bio' has no member named 'bi_disk' 860 | struct request_queue *q = bio->bi_disk->queue; |

[PATCH] MIPS: malta-time: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/mips/mti-malta/malta-time.c:141:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/mips/mti-malta/malta-time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/mti-malta/malta-time.c b/

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-02-01 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Tuesday, February 2, 2021 7:44 AM > > On Fri, Jan 29, 2021 at 10:09:03AM +, Tian, Kevin wrote: > > > SVA is not doom to work with IO page fault only. If we have SVA+pin, > > > we would get both sharing address and stable I/O latency. > > > > Isn't it like a tra

Re: [PATCH 08/14] taint: add taint for direct hardware access

2021-02-01 Thread Konrad Rzeszutek Wilk
On Mon, Feb 01, 2021 at 11:01:11AM -0800, Dan Williams wrote: > On Mon, Feb 1, 2021 at 10:35 AM Ben Widawsky wrote: > > > > On 21-02-01 13:18:45, Konrad Rzeszutek Wilk wrote: > > > On Fri, Jan 29, 2021 at 04:24:32PM -0800, Ben Widawsky wrote: > > > > For drivers that moderate access to the underly

linux-next: manual merge of the block tree with the btrfs tree

2021-02-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the block tree got a conflict in: fs/iomap/direct-io.c between commit: dffd1df2d29a ("iomap: support REQ_OP_ZONE_APPEND") from the btrfs tree and commit: 3e1a88ec9625 ("bio: add a helper calculating nr segments to alloc") from the block tree. I fixe

Re: [PATCH] NET: usb: qmi_wwan: Adding support for Cinterion MV31

2021-02-01 Thread Jakub Kicinski
On Fri, 29 Jan 2021 14:30:01 +0100 Christoph Schemmel wrote: > Adding support for Cinterion MV31 with PID 0x00B7. > > T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 11 Spd=5000 MxCh= 0 > D: Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1 > P: Vendor=1e2d ProdID=00b7 Rev=04.14 > S: Manu

[PATCH] ath10k: Fix suspicious RCU usage warning in ath10k_wmi_tlv_parse_peer_stats_info()

2021-02-01 Thread Anand K Mistry
The ieee80211_find_sta_by_ifaddr call in ath10k_wmi_tlv_parse_peer_stats_info must be called while holding the RCU read lock. Otherwise, the following warning will be seen when RCU usage checking is enabled: = WARNING: suspicious RCU usage 5.10.3 #8 Tainted: GW

Re: [PATCH v9 08/14] mm/gup: do not migrate zero page

2021-02-01 Thread kernel test robot
. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Pavel-Tatashin/prohibit-pinning-pages-in-ZONE_MOVABLE/20210201-234048 base: https://git.kernel.org/pub/scm/linux/kernel

Re: [PATCH RESEND v2 09/10] xfs: Implement ->corrupted_range() for XFS

2021-02-01 Thread Darrick J. Wong
On Fri, Jan 29, 2021 at 02:27:56PM +0800, Shiyang Ruan wrote: > This function is used to handle errors which may cause data lost in > filesystem. Such as memory failure in fsdax mode. > > In XFS, it requires "rmapbt" feature in order to query for files or > metadata which associated to the corrup

[PATCH] smb3: Fix out-of-bounds bug in SMB2_negotiate()

2021-02-01 Thread Gustavo A. R. Silva
While addressing some warnings generated by -Warray-bounds, I found this bug that was introduced back in 2017: CC [M] fs/cifs/smb2pdu.o fs/cifs/smb2pdu.c: In function ‘SMB2_negotiate’: fs/cifs/smb2pdu.c:822:16: warning: array subscript 1 is above array bounds of ‘__le16[1]’ {aka ‘short unsigned

Re: [PATCH] ASoC: fsl_spdif: Utilize the defined parameter to clear code

2021-02-01 Thread Shengjiu Wang
On Thu, Jan 28, 2021 at 7:28 PM Tang Bin wrote: > > Utilize the defined parameter 'dev' to make the code cleaner. > > Signed-off-by: Tang Bin Acked-by: Shengjiu Wang

Re: [PATCH] ASoC: fsl_xcvr: remove unneeded semicolon

2021-02-01 Thread Shengjiu Wang
On Mon, Feb 1, 2021 at 4:08 PM Yang Li wrote: > > Eliminate the following coccicheck warning: > ./sound/soc/fsl/fsl_xcvr.c:739:2-3: Unneeded semicolon > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Acked-by: Shengjiu Wang

Re: [PATCH net] net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add

2021-02-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 30 Jan 2021 21:43:34 +0800 you wrote: > Having multiple destination ports for a unicast address does not make > sense. > Make port_db_load_purge override existent unicast portvec instead of > adding a new port bit. > >

[PATCH] perf metricgroup: Fix segmentation fault for metrics with no pmu event

2021-02-01 Thread Jin Yao
Hit a segmentation fault for DRAM_BW_Use on SKL/KBL. # perf stat -M DRAM_BW_Use -a -- sleep 1 Segmentation fault (core dumped) (gdb) backtrace #0 __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31 #1 0x555c9facd9ce in find_evsel_group (evlist_us

Re: [PATCH v2 0/5] arm64: dts: meson: add support for ODROID-HC4

2021-02-01 Thread Christian Hewitt
> On 2 Feb 2021, at 4:42 am, Kevin Hilman wrote: > > Hi Christian, > > Christian Hewitt writes: > >> This series fixes minor sort-order issues in the Amlogic bindings yaml and >> dtb Makefile, then converts the existing ODROID-C2 dts into dtsi so we can >> support its new sister product the

[PATCH] arm64: Make CPU_BIG_ENDIAN depend on !LD_IS_LLD

2021-02-01 Thread Nathan Chancellor
Similar to commit 28187dc8ebd9 ("ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD"), ld.lld does not support aarch64 big endian, leading to the following build error when CONFIG_CPU_BIG_ENDIAN is selected: ld.lld: error: unknown emulation: aarch64linuxb There are not currently plans to

[PATCH v5 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2021-02-01 Thread Ricardo Rivera-Matos
From: Dan Murphy BQ25790 is a highly integrated switch-mode buck-boost charger for 1-4 cell Li-ion battery and Li-polymer battery. Signed-off-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- drivers/power/supply/Kconfig |8 + drivers/power/supply/Makefile |1 +

[PATCH v5 0/2] Introduce the BQ25790 charger driver

2021-02-01 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the BQ25790 integrated buck-boost charging IC. Dan Murphy (2): dt-bindings: power: Add the bq25790 dt bindings power: supply: bq25790: Introduce the BQ25790 charger driver .../bindings/power/supply/bq25790.yaml| 95 ++ drivers/power/supply/Kconfig

[PATCH v5 1/2] dt-bindings: power: Add the bq25790 dt bindings

2021-02-01 Thread Ricardo Rivera-Matos
From: Dan Murphy Add the bindings for the bq25790. Reviewed-by: Rob Herring Signed-off-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- .../bindings/power/supply/bq25790.yaml| 95 +++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree/

[PATCH] KVM: MIPS: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/mips/kvm/mips.c:151:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/mips/kvm/mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c index 3d6a7f5..

Re: [PATCH] mm/page_io: Use pr_alert_ratelimited for swap read/write errors

2021-02-01 Thread Miaohe Lin
Hi: On 2021/2/1 22:20, Georgi Djakov wrote: > If there are errors during swap read or write, they can easily fill > the log buffer and remove any previous messages that might be useful > for debugging, especially on systems that rely for logging only on > the kernel ring-buffer. > > For example, o

[PATCH v3] nbd: Fix NULL pointer in flush_workqueue

2021-02-01 Thread Sun Ke
Open /dev/nbdX first, the config_refs will be 1 and the pointers in nbd_device are still null. Disconnect /dev/nbdX, then reference a null recv_workq. The protection by config_refs in nbd_genl_disconnect is useless. [ 656.366194] BUG: kernel NULL pointer dereference, address: 0020 [

[PATCH v3 0/5] arm64: dts: meson: add support for ODROID-HC4

2021-02-01 Thread Christian Hewitt
This series fixes minor sort-order issues in the Amlogic bindings yaml and dtb Makefile, then converts the existing ODROID-C4 dts into dtsi so we can support its new sister product the ODROID-HC4. I've also given the devices different audio card names. This is partly cosmetic, but also because HC4

[PATCH v3 3/5] arm64: dts: meson: convert meson-sm1-odroid-c4 to dtsi

2021-02-01 Thread Christian Hewitt
Convert the ODROID-C4 dts to meson-sm1-odroid.dtsi and C4 board dts in preparation for adding additional C4 family boards. Signed-off-by: Christian Hewitt Reviewed-by: Neil Armstrong --- .../boot/dts/amlogic/meson-sm1-odroid-c4.dts | 427 + .../boot/dts/amlogic/meson-sm1-odroid

[PATCH v3 5/5] arm64: dts: meson: add initial device-tree for ODROID-HC4

2021-02-01 Thread Christian Hewitt
ODROID-HC4 is a derivative of the C4 with minor differences: - 16MB XT25F128B SPI-NOR flash - 2x SATA ports via ASM1061 PCIe to SATA controller - 7-pin header with SPI and I2C for 1-inch OLED display and RTC - 1x USB 2.0 host port Signed-off-by: Christian Hewitt Reviewed-by: Neil Armstrong ---

[PATCH v3 1/5] dt-bindings: arm: amlogic: sort SM1 bindings

2021-02-01 Thread Christian Hewitt
Sort the bindings before adding new SM1 devices. Signed-off-by: Christian Hewitt Acked-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/amlogic.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Document

[PATCH v3 2/5] arm64: dts: meson: sort Amlogic dtb Makefile

2021-02-01 Thread Christian Hewitt
Sort the Makefile before adding new SM1 devices. Signed-off-by: Christian Hewitt Acked-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile ind

[PATCH v3 4/5] dt-bindings: arm: amlogic: add ODROID-HC4 bindings

2021-02-01 Thread Christian Hewitt
Add the board bindings for the ODROID-HC4 device. Signed-off-by: Christian Hewitt --- Documentation/devicetree/bindings/arm/amlogic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml in

Re: [PATCH] mm: simplify the VM_BUG_ON condition in pmdp_huge_clear_flush()

2021-02-01 Thread Miaohe Lin
Hi: On 2021/2/2 7:33, Andrew Morton wrote: > On Mon, 1 Feb 2021 06:43:19 -0500 Miaohe Lin wrote: > >> The condition (A && !C && !D) || !A is equivalent to !A || (A && !C && !D) >> and can be further simplified to !A || (!C && !D). >> >> .. >> >> --- a/mm/pgtable-generic.c >> +++ b/mm/pgtable-gene

[PATCH v2] crypto: caam - Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

2021-02-01 Thread Jiapeng Chong
Fix the following coccicheck warning: ./drivers/crypto/caam/debugfs.c:23:0-23: WARNING: caam_fops_u64_ro should be defined with DEFINE_DEBUGFS_ATTRIBUTE. ./drivers/crypto/caam/debugfs.c:22:0-23: WARNING: caam_fops_u32_ro should be defined with DEFINE_DEBUGFS_ATTRIBUTE. Reported-by: Abaci Robot

Re: [PATCH v6 00/33] MT8192 IOMMU support

2021-02-01 Thread Yong Wu
On Mon, 2021-02-01 at 14:54 +, Will Deacon wrote: > On Mon, Jan 11, 2021 at 07:18:41PM +0800, Yong Wu wrote: > > This patch mainly adds support for mt8192 Multimedia IOMMU and SMI. > > > > mt8192 also is MTK IOMMU gen2 which uses ARM Short-Descriptor translation > > table format. The M4U-SMI H

[PATCH] arm: remove unneeded semicolon

2021-02-01 Thread Yang Li
Eliminate the following coccicheck warning: ./arch/arm/mach-artpec/board-artpec6.c:42:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/arm/mach-artpec/board-artpec6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-artpec/board-a

Re: [PATCH v10 2/2] Documentation: fpga: dfl: Add description for DFL UIO support

2021-02-01 Thread Xu Yilun
On Mon, Feb 01, 2021 at 08:59:06PM +0800, Wu, Hao wrote: > > Subject: [PATCH v10 2/2] Documentation: fpga: dfl: Add description for DFL > > UIO > > support > > > > This patch adds description for UIO support for dfl devices on DFL > > bus. > > > > Signed-off-by: Xu Yilun > > Reviewed-by: Tom Rix

RE: [PATCH 2/2] phy: fsl-imx8mq-usb: handle resettable hubs

2021-02-01 Thread Jun Li
Hi, > -Original Message- > From: Adrien Grassein > Sent: Friday, January 29, 2021 6:13 AM > Cc: kis...@ti.com; vk...@kernel.org; robh...@kernel.org; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > dl-linux-imx > ; rikard.falkeb...@gmail.com; Pet

Re: [PATCH] PM: hibernate: add sanity check on power_kobj

2021-02-01 Thread Abel Wu
> On Feb 1, 2021, at 6:52 PM, Pavel Machek wrote: > > On Mon 2021-02-01 02:50:41, Abel Wu wrote: >> The @power_kobj is initialized in pm_init() which is the same >> initcall level as pm_disk_init(). Although this dependency is >> guaranteed based on the current initcall serial execution model,

Re: [PATCH v5 0/1] perf/smmuv3: Don't reserve the PMCG register spaces

2021-02-01 Thread Leizhen (ThunderTown)
On 2021/2/1 23:50, Will Deacon wrote: > On Mon, Feb 01, 2021 at 09:27:49PM +0800, Zhen Lei wrote: >> v4 --> v5: >> 1. Give up doing the mapping for the entire SMMU register space. >> 2. Fix some compile warnings. Sorry. So sorry. > > That's alright, these things happen. However, this came in sl

RE: [PATCH v2] usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720

2021-02-01 Thread Yoshihiro Shimoda
Hi Pali, > From: Pali Rohár, Sent: Tuesday, February 2, 2021 12:08 AM > > Older ATF does not provide SMC call for USB 3.0 phy power on functionality > and therefore initialization of xhci-hcd is failing when older version of > ATF is used. In this case phy_power_on() function returns -EOPNOTSUPP.

Re: [PATCH v12] staging: fbtft: add tearing signal detect

2021-02-01 Thread Carlis
On Mon, 1 Feb 2021 19:40:21 +0200 Andy Shevchenko wrote: > On Sat, Jan 30, 2021 at 8:39 AM carlis wrote: > > On Fri, 29 Jan 2021 16:26:12 +0200 > > Andy Shevchenko wrote: > > > On Fri, Jan 29, 2021 at 3:56 PM carlis > > > wrote: > > > > On Fri, 29 Jan 2021 12:23:08 +0200 > > > > Andy Shevc

RE: [PATCH] seccomp: Improve performance by optimizing memory barrier

2021-02-01 Thread Wanghongzhe (Hongzhe, EulerOS)
>> On Feb 1, 2021, at 4:06 AM, wanghongzhe wrote: >> >> If a thread(A)'s TSYNC flag is set from seccomp(), then it will >> synchronize its seccomp filter to other threads(B) in same thread >> group. To avoid race condition, seccomp puts rmb() between reading the >> mode and filter in seccomp

Re: [PATCH] ocfs2: Fix a use after free on error

2021-02-01 Thread Joseph Qi
On 2/1/21 8:25 PM, Dan Carpenter wrote: > The error handling in this function frees "reg" but it is still on the > "o2hb_all_regions" list so it will lead to a use after free. The fix > for this is to only add it to the list after everything has succeeded. > Seems we have to clear the bitmap a

[PATCH] libnvdimm/dimm: Avoid race between probe and available_slots_show()

2021-02-01 Thread Dan Williams
Richard reports that the following test: (while true; do cat /sys/bus/nd/devices/nmem*/available_slots 2>&1 > /dev/null done) & while true; do for i in $(seq 0 4); do echo nmem$i > /sys/bus/nd/drivers/nvdimm/bind done for i in $(seq 0 4); do echo nmem$i > /s

[PATCH] x86: Remove unnecessary kmap() from sgx_ioc_enclave_init()

2021-02-01 Thread ira . weiny
From: Ira Weiny kmap is inefficient and we are trying to reduce the usage in the kernel. There is no readily apparent reason why the initp_page page needs to be allocated and kmap'ed() but sigstruct needs to be page aligned and token 512 byte aligned. In this case page_address() can be used inst

Re: [PATCH] mm/swap_state: Constify static struct attribute_group

2021-02-01 Thread Miaohe Lin
Hi: On 2021/2/2 7:32, Rikard Falkeborn wrote: > The only usage of swap_attr_group is to pass its address to > sysfs_create_group() which takes a pointer to const attribute_group. > Make it const to allow the compiler to put it in read-only memory. > > Signed-off-by: Rikard Falkeborn Looks good t

Re: [PATCH v2] nbd: Fix NULL pointer in flush_workqueue

2021-02-01 Thread Sun Ke
hi,Markus 在 2021/2/2 3:05, Markus Elfring 写道: … +++ b/drivers/block/nbd.c @@ -2011,12 +2011,14 @@ static int nbd_genl_disconnect(struct sk_buff *skb, struct genl_info *info) index); return -EINVAL; } + mutex_lock(&nbd->config_lock);

Re: [PATCH 2/2] KVM: Scalable memslots implementation

2021-02-01 Thread Sean Christopherson
The patch numbering and/or threading is messed up. This should either be a standalone patch, or fully incorporated into the same series as the selftests changes. But, that's somewhat of a moot point... On Mon, Feb 01, 2021, Maciej S. Szmigiero wrote: > From: "Maciej S. Szmigiero" > > The curre

[PATCH] alarmtimer: update kerneldoc

2021-02-01 Thread Alexandre Belloni
Update kerneldoc comments to reflect the actual arguments and return values of the documented functions. Signed-off-by: Alexandre Belloni --- kernel/time/alarmtimer.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c in

Re: [PATCH] mm/huge_memory.c: use helper range_in_vma() in __split_huge_p[u|m]d_locked()

2021-02-01 Thread Miaohe Lin
On 2021/2/2 5:27, David Rientjes wrote: > On Mon, 1 Feb 2021, Miaohe Lin wrote: > >> The helper range_in_vma() is introduced via commit 017b1660df89 ("mm: >> migration: fix migration of huge PMD shared pages"). But we forgot to >> use it in __split_huge_pud_locked() and __split_huge_pmd_locked().

Re: [f2fs-dev] [PATCH] f2fs: fix checkpoint mount option wrong combination

2021-02-01 Thread Chao Yu
On 2021/2/2 8:41, Daeho Jeong wrote: For less confusion, I am going to separate the "merge" option from Agreed. "checkpoint=". I am adding another "ckpt_merge" option. :) Not sure, maybe "checkpoint_merge" will be better? "ckpt_merge" looks more like a term only developer knew. Thanks,

Re: [PATCH] iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping

2021-02-01 Thread Yong Wu
On Mon, 2021-02-01 at 17:06 -0800, Douglas Anderson wrote: > Sleeping while atomic = bad. Let's fix an obvious typo to try to avoid it. > > The warning that was seen (on a downstream kernel with the problematic > patch backported): > > BUG: sleeping function called from invalid context at mm/pa

Re: [f2fs-dev] [PATCH] f2fs: fix checkpoint mount option wrong combination

2021-02-01 Thread Chao Yu
On 2021/2/1 21:11, Daeho Jeong wrote: Actually, I think we need to select one among them, disable, enable and merge. I realized my previous understanding about that was wrong. Actually, 1. chekcpoint=enable/disable decide whether we will allow checkpoint 2. checkpoint=merge or not decide how we

RE: [PATCH net-next 0/8] net: dsa: microchip: DSA driver support for LAN937x switch

2021-02-01 Thread Woojung.Huh
Hi Florian, Wish you a happy and safe new year. Thanks for your time to review new patches. > It is great to see a new switch from Microchip being submitted for > review. One thing that has bothered me as a DSA maintainer before though > is that we have seen Microchip contribute new DSA drivers

Re: [PATCH] hugetlbfs: show pagesize in unit of GB if possible

2021-02-01 Thread Miaohe Lin
Hi: On 2021/2/2 5:31, David Rientjes wrote: > On Mon, 1 Feb 2021, Miaohe Lin wrote: > Hugepage size in unit of GB is supported. We could show pagesize in unit of GB to make it more friendly to read. Also rework the calculation code of page size unit to make it more readable. >>

Re: [PATCH] r8169: Add support for another RTL8168FP

2021-02-01 Thread Jakub Kicinski
On Tue, 2 Feb 2021 00:47:35 +0800 Kai-Heng Feng wrote: > According to the vendor driver, the new chip with XID 0x54b is > essentially the same as the one with XID 0x54a, but it doesn't need the > firmware. > > So add support accordingly. > > Signed-off-by: Kai-Heng Feng Please rebase on top of

RE: [RESEND PATCH net v4] udp: ipv4: manipulate network header of NATed UDP GRO fraglist

2021-02-01 Thread Dongseok Yi
On 1/31/21 12:55 AM, Alexander Lobakin wrote: > From: Dongseok Yi > Date: Sat, 30 Jan 2021 08:13:27 +0900 > > > +static struct sk_buff *__udpv4_gso_segment_list_csum(struct sk_buff *segs) > > +{ > > + struct sk_buff *seg; > > + struct udphdr *uh, *uh2; > > + struct iphdr *iph, *iph2; > > +

Re: [PATCH v3 net-next 0/5] net: consolidate page_is_pfmemalloc() usage

2021-02-01 Thread Jakub Kicinski
On Sun, 31 Jan 2021 12:11:16 + Alexander Lobakin wrote: > page_is_pfmemalloc() is used mostly by networking drivers to test > if a page can be considered for reusing/recycling. > It doesn't write anything to the struct page itself, so its sole > argument can be constified, as well as the first

RE: [PATCH v2] usb: host: xhci-plat: fix support for XHCI_SKIP_PHY_INIT quirk

2021-02-01 Thread Yoshihiro Shimoda
> From: Pali Rohár, Sent: Tuesday, February 2, 2021 12:12 AM > On Tuesday 26 January 2021 10:06:06 Pali Rohár wrote: > > On Tuesday 26 January 2021 04:27:37 Yoshihiro Shimoda wrote: > > > Hi Pali, > > > > > I can see the benefit in this. > > > > > In the xhci-plat case usb_create_hcd and usb_add_hc

Re: [PATCH v7 net-next 00/15] net: mvpp2: Add TX Flow Control support

2021-02-01 Thread Jakub Kicinski
On Sun, 31 Jan 2021 16:33:43 +0200 stef...@marvell.com wrote: > v6 --> v7 > - Reduce patch set from 18 to 15 patches > - Documentation change combined into a single patch > - RXQ and BM size change combined into a single patch > - Ring size change check moved into "add RXQ flow control configura

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-02-01 Thread Chao Leng
On 2021/2/1 18:45, Hannes Reinecke wrote: On 2/1/21 10:40 AM, Chao Leng wrote: On 2021/2/1 16:57, Hannes Reinecke wrote: On 2/1/21 9:47 AM, Chao Leng wrote: On 2021/2/1 15:29, Hannes Reinecke wrote:[ .. ] Urgh. Please, no. That is well impossible to debug. Can you please open-code it t

Re: [PATCH 03/14] cxl/mem: Find device capabilities

2021-02-01 Thread David Rientjes
On Mon, 1 Feb 2021, Dan Williams wrote: > > > I don't have an objection to binding, but doesn't this require that the > > > check in cxl_validate_cmd_from_user() guarantees send_cmd->size_in cannot > > > be greater than 1MB? > > > > You're correct. I'd need to add: > > cxlm->mbox.payload_size = >

Re: [PATCH v4 1/7] iommu: Move iotlb_sync_map out from __iommu_map

2021-02-01 Thread Doug Anderson
Hi, On Thu, Jan 7, 2021 at 4:31 AM Yong Wu wrote: > > @@ -2438,18 +2435,31 @@ static int __iommu_map(struct iommu_domain *domain, > unsigned long iova, > return ret; > } > > +static int _iommu_map(struct iommu_domain *domain, unsigned long iova, > + phys_addr_t paddr

Re: [PATCH 1/1] dma-buf: heaps: Map system heap pages as managed by linux vm

2021-02-01 Thread Suren Baghdasaryan
On Thu, Jan 28, 2021 at 11:00 AM Suren Baghdasaryan wrote: > > On Thu, Jan 28, 2021 at 10:19 AM Minchan Kim wrote: > > > > On Thu, Jan 28, 2021 at 09:52:59AM -0800, Suren Baghdasaryan wrote: > > > On Thu, Jan 28, 2021 at 1:13 AM Christoph Hellwig > > > wrote: > > > > > > > > On Thu, Jan 28, 202

[PATCH] iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping

2021-02-01 Thread Douglas Anderson
Sleeping while atomic = bad. Let's fix an obvious typo to try to avoid it. The warning that was seen (on a downstream kernel with the problematic patch backported): BUG: sleeping function called from invalid context at mm/page_alloc.c:4726 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid:

Re: [PATCH v2] drm/lima: add governor data with pre-defined thresholds

2021-02-01 Thread Qiang Yu
OK, I see. Patch is also: Reviewed-by: Qiang Yu Regards, Qiang On Mon, Feb 1, 2021 at 5:59 PM Lukasz Luba wrote: > > > > On 1/30/21 1:57 PM, Qiang Yu wrote: > > This patch gets minor improvement on glmark2 (160->162). > > It has bigger impact when the load is changing and the frequency > is stu

Re: [PATCH] drm/lima: Use delayed timer as default in devfreq profile

2021-02-01 Thread Qiang Yu
Hi Lukasz, Thanks for the explanation. So the deferred timer option makes a mistake that when GPU goes from idle to busy for only one poll periodic, in this case 50ms, right? But delayed timer will wakeup CPU every 50ms even when system is idle, will this cause more power consumption for the case

Re: [PATCH 09/11] x86/fault: Rename no_context() to kernelmode_fixup_or_oops()

2021-02-01 Thread Andy Lutomirski
On Mon, Feb 1, 2021 at 1:14 AM Christoph Hellwig wrote: > > On Sun, Jan 31, 2021 at 09:24:40AM -0800, Andy Lutomirski wrote: > > + kernelmode_fixup_or_oops(regs, error_code, address, pkey, > > si_code); > > > if (!user_mode(regs)) { > > - no_context(regs, error_code,

Re: [PATCH 06/11] x86/fault: Improve kernel-executing-user-memory handling

2021-02-01 Thread Andy Lutomirski
On Mon, Feb 1, 2021 at 1:08 AM Christoph Hellwig wrote: > > On Sun, Jan 31, 2021 at 09:24:37AM -0800, Andy Lutomirski wrote: > > #if defined(CONFIG_X86_64) && defined(CONFIG_CPU_SUP_AMD) > > + if (likely(boot_cpu_data.x86_vendor != X86_VENDOR_AMD > > +|| boot_cpu_data.x86 != 0

Re: [PATCH net 3/4] net: ipa: use the right accessor in ipa_endpoint_status_skip()

2021-02-01 Thread Amy Parker
On Mon, Feb 1, 2021 at 4:15 PM Alex Elder wrote: > > On 2/1/21 6:02 PM, Amy Parker wrote: > > On Mon, Feb 1, 2021 at 3:32 PM Alex Elder wrote: > >> > >> When extracting the destination endpoint ID from the status in > >> ipa_endpoint_status_skip(), u32_get_bits() is used. This happens to > >> wo

Re: [PATCH v4 00/17] remoteproc: Add support for detaching a rproc

2021-02-01 Thread Mathieu Poirier
On Wed, Jan 27, 2021 at 10:21:24AM +0100, Arnaud POULIQUEN wrote: > Hi Mathieu > > On 12/18/20 6:32 PM, Mathieu Poirier wrote: > > Following the work done here [1], this set provides support for the > > remoteproc core to release resources associated with a remote processor > > without having to s

Re: [PATCH] arm64: dts: meson-gx: remove wrong reserved BL31 memory

2021-02-01 Thread Kevin Hilman
Artem Lapkin writes: > Kernel boot fail on Khadas VIM1 VIM2 (meson GX) boards > SOLUTION: just remove wrong mem reservation for 0x1000 0x20 You don't explain why it's wrong. This region was added becasue there there are definitely GX devices which have secure memory in this area, and th

drivers/scsi/lpfc/lpfc_scsi.c:823:39: sparse: sparse: incorrect type in assignment (different base types)

2021-02-01 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 88bb507a74ea7d75fa49edd421eaa710a7d80598 commit: da255e2e7cc889e10820bc89752466322426571f scsi: lpfc: Convert SCSI path to use common I/O submission path date: 3 months ago config: i386-randconfig-s031-202

Re: [PATCH v2 0/5] arm64: dts: meson: add support for ODROID-HC4

2021-02-01 Thread Kevin Hilman
Hi Christian, Christian Hewitt writes: > This series fixes minor sort-order issues in the Amlogic bindings yaml and > dtb Makefile, then converts the existing ODROID-C2 dts into dtsi so we can > support its new sister product the ODROID-HC4. > > I've also given the devices different audio card n

Re: [f2fs-dev] [PATCH] f2fs: fix checkpoint mount option wrong combination

2021-02-01 Thread Daeho Jeong
For less confusion, I am going to separate the "merge" option from "checkpoint=". I am adding another "ckpt_merge" option. :) 2021년 2월 2일 (화) 오전 8:33, Daeho Jeong 님이 작성: > > The rightmost one is the final option. And checkpoint=merge means > checkpoint is enabled with a checkpoint thread. > > moun

Re: [PATCH] mm/swap_state: Constify static struct attribute_group

2021-02-01 Thread Huang, Ying
Rikard Falkeborn writes: > The only usage of swap_attr_group is to pass its address to > sysfs_create_group() which takes a pointer to const attribute_group. > Make it const to allow the compiler to put it in read-only memory. > > Signed-off-by: Rikard Falkeborn Looks good to me. Acked-by: "Hu

[PATCH] KVM: x86/mmu: Remove unused variable invalid_list

2021-02-01 Thread Stephen Brennan
Since commit ebdb292dac79 ("KVM: x86/mmu: Batch zap MMU pages when shrinking the slab"), invalid_list is no longer used in mmu_shrink_scan(). Remove it. Signed-off-by: Stephen Brennan --- arch/x86/kvm/mmu/mmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/

Re: [PATCH v1 1/3] usb: typec: tcpm: Add Callback to Usb Communication capable partner

2021-02-01 Thread Badhri Jagan Sridharan
On Mon, Feb 1, 2021 at 6:59 AM Guenter Roeck wrote: > > On 2/1/21 1:53 AM, Badhri Jagan Sridharan wrote: > > The USB Communications Capable bit indicates if port > > partner is capable of communication over the USB data lines > > (e.g. D+/- or SS Tx/Rx). Notify the status of the bit to low > > lev

[PATCH v2 3/3] usb: typec: tcpci_maxim: Enable data path when partner is USB Comm capable

2021-02-01 Thread Badhri Jagan Sridharan
Configure USB switches when partner is USB Communication capable. The is enabled USB data communication over D+/D- pins. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/typec/tcpm/tcpci_maxim.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/usb/typec/tcpm/

[PATCH v2 2/3] usb: typec: tcpci: Add Callback to Usb Communication capable partner

2021-02-01 Thread Badhri Jagan Sridharan
The USB Communications Capable bit indicates if port partner is capable of communication over the USB data lines (e.g. D+/- or SS Tx/Rx). TCPM passes this information for chip specific operations. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/typec/tcpm/tcpci.c | 9 + drivers/usb

Re: [PATCH v3 5/5] serial: 8250_dw: add em485 support

2021-02-01 Thread Giulio Benetti
Hi Andy, Il 18/05/2020 17:21, Andy Shevchenko ha scritto: On Sun, May 17, 2020 at 11:56:10PM +0200, Heiko Stuebner wrote: From: Giulio Benetti Need to use rs485 transceiver so let's use existing em485 485 emulation layer on top of 8250. Add rs485_config callback to port and uses the standard

[PATCH v2 1/3] usb: typec: tcpm: Add Callback to Usb Communication capable partner

2021-02-01 Thread Badhri Jagan Sridharan
The USB Communications Capable bit indicates if port partner is capable of communication over the USB data lines (e.g. D+/- or SS Tx/Rx). Notify the status of the bit to low level drivers to perform chip specific operation. For instance, low level driver enables USB switches on D+/D- lines to set u

Re: [PATCH 0/3] Handle UART without interrupt on TEMT using em485

2021-02-01 Thread Giulio Benetti
Il 02/02/2021 01:02, Eric Tremblay ha scritto: On 2021-01-28 7:12 p.m., Giulio Benetti wrote: Hi Eric, Il giorno 29 gen 2021, alle ore 00:37, Eric Tremblay ha scritto: The series is mainly about the support of 8250 UART without TEMT interrupt. I saw that there was some development in the p

Re: [PATCH v2] pmbus:max31785: Support revision "B"

2021-02-01 Thread Guenter Roeck
On Mon, Feb 01, 2021 at 03:22:17PM -0600, Matthew Barth wrote: > There was an issue in how the tach feedbacks of dual rotor fans were > reported during any change in fan speeds with revision "A" of the > MAX31785. When the fan speeds would transition to a new target speed, > the rotor not wired to

Re: [PATCH 2/2] Remove unnecessary pmbus_clear_cache function call

2021-02-01 Thread Guenter Roeck
On Mon, Feb 01, 2021 at 08:59:29PM +0100, Erik Rosen wrote: > It is no longer necessary to clear the cache to update the sensor value > from the chip. > > Signed-off-by: Erik Rosen Applied, after prepending subject with "hwmon: (pmbus/lm25066)". Thanks, Guenter > --- > drivers/hwmon/pmbus/lm2

Re: [PATCH v3] kdb: kdb_support: Fix debugging information problem

2021-02-01 Thread Doug Anderson
Hi, On Sat, Jan 30, 2021 at 3:24 AM Stephen Zhang wrote: > > int kdbgetsymval(const char *symname, kdb_symtab_t *symtab) > { > - if (KDB_DEBUG(AR)) > - kdb_printf("kdbgetsymval: symname=%s, symtab=%px\n", symname, > - symtab); > + kdb_dbg_print

Re: [PATCH V2 3/3] Adding device_dma_parameters->offset_preserve_mask to NVMe driver.

2021-02-01 Thread Jianxiong Gao
> Why is this setting being done and undone on each IO? Wouldn't it be > more efficient to set it once during device initialization? I agree that setting it once is the right way of doing it. So I have changed the patch to enable the mask once in nvme_probe. drivers/nvme/host/pci.c | 3 +++ 1 f

Re: [PATCH 1/2] Clear sensor data after chip write

2021-02-01 Thread Guenter Roeck
On Mon, Feb 01, 2021 at 08:59:28PM +0100, Erik Rosen wrote: > Set the sensor->data field to -ENODATA to force a chip access next time > the sensor value is read. > > Signed-off-by: Erik Rosen Applied. Please remember to add subsystem and driver to future patches. In this case, I added: hwmon: (

RE: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-02-01 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jason Gunthorpe [mailto:j...@ziepe.ca] > Sent: Tuesday, February 2, 2021 12:44 PM > To: Tian, Kevin > Cc: Song Bao Hua (Barry Song) ; chensihang (A) > ; Arnd Bergmann ; Greg > Kroah-Hartman ; linux-kernel@vger.kernel.org; > io...@lists.linux-foundation.org;

[PATCH V2] virtio_input: Prevent EV_MSC/MSC_TIMESTAMP loop storm for MT.

2021-02-01 Thread Colin Xu
In 'commit 29cc309d8bf1 ("HID: hid-multitouch: forward MSC_TIMESTAMP")', EV_MSC/MSC_TIMESTAMP is added to each before EV_SYN event. EV_MSC is configured as INPUT_PASS_TO_ALL. In case of a touch device which report MSC_TIMESTAMP: BE pass EV_MSC/MSC_TIMESTAMP to FE on receiving event from evdev.

Re: [PATCH RESEND v3] virtio-input: add multi-touch support

2021-02-01 Thread Colin Xu
I second the support of MT with this one or other alternative. This patch has been tested work in one of our POC project. -- Best Regards, Colin Xu On Fri, 29 Jan 2021, Michael S. Tsirkin wrote: On Fri, Jan 29, 2021 at 02:06:54PM +0200, Vasyl Vavrychuk wrote: Hi, All, There has been no repl

Re: [PATCH 1/3] serial: 8250: Handle UART without interrupt on TEMT using em485

2021-02-01 Thread Eric Tremblay
On 2021-01-29 2:23 a.m., Jiri Slaby wrote: > On 29. 01. 21, 0:36, Eric Tremblay wrote: >> The patch introduce the UART_CAP_TEMT capability which is by default >> assigned to all 8250 UART since the code assume that device has the >> interrupt on TEMT >> >> In the case where the device does not supp

Re: [PATCH net 3/4] net: ipa: use the right accessor in ipa_endpoint_status_skip()

2021-02-01 Thread Alex Elder
On 2/1/21 6:02 PM, Amy Parker wrote: On Mon, Feb 1, 2021 at 3:32 PM Alex Elder wrote: When extracting the destination endpoint ID from the status in ipa_endpoint_status_skip(), u32_get_bits() is used. This happens to work, but it's wrong: the structure field is only 8 bits wide instead of 32.

Re: [RFC 15/20] mm: detect deferred TLB flushes in vma granularity

2021-02-01 Thread Andy Lutomirski
> On Feb 1, 2021, at 2:04 PM, Nadav Amit wrote: > >  >> >> On Jan 30, 2021, at 4:11 PM, Nadav Amit wrote: >> >> From: Nadav Amit >> >> Currently, deferred TLB flushes are detected in the mm granularity: if >> there is any deferred TLB flush in the entire address space due to NUMA >> migra

Re: [PATCH 03/14] cxl/mem: Find device capabilities

2021-02-01 Thread Dan Williams
On Mon, Feb 1, 2021 at 4:11 PM Ben Widawsky wrote: > > On 21-02-01 15:58:09, David Rientjes wrote: > > On Mon, 1 Feb 2021, Ben Widawsky wrote: > > > > > > I haven't seen the update to 8.2.8.4.5 to know yet :) > > > > > > > > You make a good point of at least being able to interact with the > > >

Re: [PATCH] nvme-pci: Mark Phison E16 (Corsair MP600) as IGNORE_DEV_SUBNQN

2021-02-01 Thread Amy Parker
On Mon, Feb 1, 2021 at 1:11 PM Claus Stovgaard wrote: > > Tested both with Corsairs firmware 11.3 and 13.0 for the MP600 and both > have the issue as reported by the kernel. > > nvme nvme0: missing or invalid SUBNQN field. > > Signed-off-by: Claus Stovgaard > --- > drivers/nvme/host/pci.c | 2 ++

[PATCH] Move our minimum Sphinx version to 1.7

2021-02-01 Thread Jonathan Corbet
As promised, drop support for some ancient sphinx releases, along with a lot of the cruft that was required to make that support work. Signed-off-by: Jonathan Corbet --- Gotta love the diffstat :) Documentation/conf.py | 75 ++--- Documentation/sphinx/cdoma

Re: [PATCH 0/3 v2] arm64/ptrace: allow to get all registers on syscall traps

2021-02-01 Thread Keno Fischer
Hi Andrei, > This series introduces the PTRACE_O_ARM64_RAW_REGS option. If it is set, > PTRACE_GETREGSET returns values of all registers, and PTRACE_SETREGSET > allows to change any of them. thanks for picking this up. I meant to work on this, but unfortunately ran out of time to be able to push

Re: [PATCH 03/14] cxl/mem: Find device capabilities

2021-02-01 Thread Ben Widawsky
On 21-02-01 15:58:09, David Rientjes wrote: > On Mon, 1 Feb 2021, Ben Widawsky wrote: > > > > I haven't seen the update to 8.2.8.4.5 to know yet :) > > > > > > You make a good point of at least being able to interact with the driver. > > > > > > I think you could argue that if the driver binds

Re: [PATCH net 1/4] net: ipa: add a missing __iomem attribute

2021-02-01 Thread Amy Parker
On Mon, Feb 1, 2021 at 3:29 PM Alex Elder wrote: > > The virt local variable in gsi_channel_state() does not have an > __iomem attribute but should. Fix this. > > Signed-off-by: Alex Elder > --- > drivers/net/ipa/gsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/dri

[PATCH][next] scsi: mpt3sas: Replace one-element array with flexible-array in struct _MPI2_CONFIG_PAGE_IO_UNIT_3

2021-02-01 Thread Gustavo A. R. Silva
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. Refacto

Re: [PATCH v5 12/20] dt-bindings: rtc: sun6i: Add H616 compatible string

2021-02-01 Thread Andre Przywara
On Sun, 31 Jan 2021 14:44:40 +0100 Jernej Škrabec wrote: Hi Jernej, > Dne sreda, 27. januar 2021 ob 18:24:52 CET je Andre Przywara napisal(a): > > Add the obvious compatible name to the existing RTC binding, and pair > > it with the existing H6 fallback compatible string, as the devices are > >

<    1   2   3   4   5   6   7   8   9   10   >