Re: [PATCH 3/4] ubifs: Update directory size when creating whiteouts

2021-01-24 Thread Richard Weinberger
On Mon, Jan 25, 2021 at 2:12 AM Zhihao Cheng wrote: > > 在 2021/1/23 10:45, Zhihao Cheng 写道: > > >> @@ -430,6 +433,7 @@ static int do_tmpfile(struct inode *dir, struct > >> dentry *dentry, > >> return 0; > >> out_cancel: > Still one question: > > Does this need a judgment? Like this, The

[PATCH] macintosh/adb-iop: Use big-endian autopoll mask

2021-01-24 Thread Geert Uytterhoeven
From: Finn Thain As usual, the available documentation is inadequate and leaves endianness unspecified for message data. However, testing shows that this patch does improve correctness. The mistake should have been detected earlier but it was obscured by other bugs. In testing, this patch

Re: [PATCH v7 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-24 Thread Mike Looijmans
See below Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this

Re: [External] Re: [PATCH v13 05/12] mm: hugetlb: allocate the vmemmap pages associated with each HugeTLB page

2021-01-24 Thread Muchun Song
On Mon, Jan 25, 2021 at 2:40 PM Muchun Song wrote: > > On Mon, Jan 25, 2021 at 8:05 AM David Rientjes wrote: > > > > > > On Sun, 17 Jan 2021, Muchun Song wrote: > > > > > diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c > > > index ce4be1fa93c2..3b146d5949f3 100644 > > > ---

Re: [PATCH] mmc: queue: Exclude unnecessary header file

2021-01-24 Thread Coly Li
On 1/25/21 2:43 PM, Chanwoo Lee wrote: > From: ChanWoo Lee > > From the 4.19 kernel, thread related code has been removed in queue.c. > So we can exclude unnecessary header file. > > Signed-off-by: ChanWoo Lee Acked-by: Coly Li Thanks. Coly Li > --- > drivers/mmc/core/queue.c | 1 - > 1

[PATCH] rcu-tasks: rectify kernel-doc for struct rcu_tasks

2021-01-24 Thread Lukas Bulwahn
The command 'find ./kernel/rcu/ | xargs ./scripts/kernel-doc -none' reported an issue with the kernel-doc of struct rcu_tasks. Rectify the kernel-doc, such that no issues remain for ./kernel/rcu/. Signed-off-by: Lukas Bulwahn --- applies cleanly on v5.11-rc5 and next-20210122 Paul, please pick

Re: [PATCH v5 06/27] dt-bindings: mediatek: Add binding for mt8192 IOMMU

2021-01-24 Thread Yong Wu
On Mon, 2021-01-25 at 13:18 +0900, Tomasz Figa wrote: > On Wed, Jan 20, 2021 at 4:08 PM Yong Wu wrote: > > > > On Wed, 2021-01-20 at 13:15 +0900, Tomasz Figa wrote: > > > On Wed, Jan 13, 2021 at 3:45 PM Yong Wu wrote: > > > > > > > > On Wed, 2021-01-13 at 14:30 +0900, Tomasz Figa wrote: > > > >

Re: [RFC 1/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory

2021-01-24 Thread Mike Rapoport
On Mon, Jan 25, 2021 at 11:52:32AM +0530, Anshuman Khandual wrote: > > On 12/22/20 12:42 PM, Anshuman Khandual wrote: > > pfn_valid() asserts that there is a memblock entry for a given pfn without > > MEMBLOCK_NOMAP flag being set. The problem with ZONE_DEVICE based memory is > > that they do not

Re: [PATCH] scsi_logging: print cdb into new line after opcode

2021-01-24 Thread Martin Kepplinger
On 23.01.21 04:09, Martin K. Petersen wrote: Ewan, sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 60 40 00 00 01 00 Print the cdb into a new line in any case, not only when cmd_len is greater than 16. The above example error will then read: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28

Re: [PATCH] dsa: vsc73xx: add support for vlan filtering

2021-01-24 Thread Paweł Dembicki
czw., 21 sty 2021 o 23:45 Vladimir Oltean napisał(a): > > Hi Pawel, > Hi Vladimir, Thank You for Your answer. > On Wed, Jan 20, 2021 at 07:30:18AM +0100, Pawel Dembicki wrote: > > This patch adds support for vlan filtering in vsc73xx driver. > > > > After vlan filtering enable, CPU_PORT is

[PATCH] ALSA: hda: Assign boolean values to a bool variable

2021-01-24 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./sound/pci/hda/hda_intel.c:2309:3-23: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- sound/pci/hda/hda_intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] mtd: spi-nor: hisi-sfc: Put child node np on error path

2021-01-24 Thread Tudor Ambarus
On Thu, 21 Jan 2021 01:18:47 -0800, Pan Bian wrote: > Put the child node np when it fails to get or register device. Applied to spi-nor/next, thanks! [1/1] mtd: spi-nor: hisi-sfc: Put child node np on error path https://git.kernel.org/mtd/c/fe6653460ee7 Best regards, -- Tudor Ambarus

[PATCH v2] bpf: Drop disabled LSM hooks from the sleepable set

2021-01-24 Thread Mikko Ylinen
Some networking and keys LSM hooks are conditionally enabled and when building the new sleepable BPF LSM hooks with those LSM hooks disabled, the following build error occurs: BTFIDS vmlinux FAILED unresolved symbol bpf_lsm_socket_socketpair To fix the error, conditionally add the relevant

[PATCH v2] kdb: Simplify kdb commands registration

2021-01-24 Thread Sumit Garg
Simplify kdb commands registration via using linked list instead of static array for commands storage. Signed-off-by: Sumit Garg --- Changes in v2: - Remove redundant NULL check for "cmd_name". - Incorporate misc. comment. kernel/debug/kdb/kdb_main.c| 119

[PATCH 2/2] perf script: Support dso filter

2021-01-24 Thread Jin Yao
Other perf tool builtins have already supported dso filter. For example, perf report --dso, which only considers symbols in these dsos. Now dso filter is supported for perf-script. root@kbl-ppc:~# ./perf script --dso "[kernel.kallsyms]" perf 18123 [000] 6142863.075104: 1

[PATCH 1/2] perf script: Support filtering by hex address

2021-01-24 Thread Jin Yao
Perf-script supports '-S' or '--symbol' options to only list the trace records in given symbols. Symbol is typically a name or hex address. If it's hex address, it is the start address of one symbol. While it would be useful if we can filter trace records by any hex address (not only the start

[PATCH v2] net: Simplify the calculation of variables

2021-01-24 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./net/ipv4/esp4_offload.c:288:32-34: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- Changes in v2: -Drop the parenthesis around !skb_is_gso(skb) now. net/ipv4/esp4_offload.c | 2 +- 1 file

Re: [External] Re: [PATCH v13 05/12] mm: hugetlb: allocate the vmemmap pages associated with each HugeTLB page

2021-01-24 Thread Muchun Song
On Mon, Jan 25, 2021 at 8:05 AM David Rientjes wrote: > > > On Sun, 17 Jan 2021, Muchun Song wrote: > > > diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c > > index ce4be1fa93c2..3b146d5949f3 100644 > > --- a/mm/sparse-vmemmap.c > > +++ b/mm/sparse-vmemmap.c > > @@ -29,6 +29,7 @@ > >

Re: [PATCH] bpf: Drop disabled LSM hooks from the sleepable set

2021-01-24 Thread Mikko Ylinen
On Sat, Jan 23, 2021 at 12:50:21AM +0100, KP Singh wrote: > On Fri, Jan 22, 2021 at 11:33 PM KP Singh wrote: > > > > On Fri, Jan 22, 2021 at 1:32 PM Mikko Ylinen > > wrote: > > > > > > Networking LSM hooks are conditionally enabled and when building the new > > > sleepable BPF LSM hooks with the

Re: [PATCH net v5] net: lapb: Add locking to the lapb module

2021-01-24 Thread Martin Schiller
On 2021-01-24 05:45, Jakub Kicinski wrote: On Fri, 22 Jan 2021 10:07:05 +0100 Martin Schiller wrote: On 2021-01-21 01:21, Xie He wrote: > In the lapb module, the timers may run concurrently with other code in > this module, and there is currently no locking to prevent the code from > racing on

Re: [PATCH 2/3] memory: mtk-smi: Add module_exit and module_license

2021-01-24 Thread Yong Wu
On Fri, 2021-01-22 at 22:34 +0100, Krzysztof Kozlowski wrote: > On Thu, Jan 21, 2021 at 02:24:28PM +0800, Yong Wu wrote: > > The config MTK_SMI always depends on MTK_IOMMU which is built-in > > currently. Thus we don't have module_exit before. This patch adds > > module_exit and module_license. It

Re: [PATCH 3/3] memory: mtk-smi: Switch MTK_SMI to tristate

2021-01-24 Thread Yong Wu
On Fri, 2021-01-22 at 22:35 +0100, Krzysztof Kozlowski wrote: > On Thu, Jan 21, 2021 at 02:24:29PM +0800, Yong Wu wrote: > > This patch switches MTK_SMI to tristate. Support it could be 'm'. > > > > Meanwhile, Fix a build issue while MTK_SMI is built as module. > > s/Fix/fix. > > What error is

[PATCH] mmc: queue: Exclude unnecessary header file

2021-01-24 Thread Chanwoo Lee
From: ChanWoo Lee >From the 4.19 kernel, thread related code has been removed in queue.c. So we can exclude unnecessary header file. Signed-off-by: ChanWoo Lee --- drivers/mmc/core/queue.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/core/queue.c b/drivers/mmc/core/queue.c

[PATCH V2] x86/entry/64: De-Xen-ify our NMI code further

2021-01-24 Thread Lai Jiangshan
From: Lai Jiangshan The commit 929bacec21478("x86/entry/64: De-Xen-ify our NMI code") simplified the NMI code by changing paravirt code into native code and left a comment about "inspecting RIP instead". But until now, "inspecting RIP instead" has not been made happened and this patch tries to

[PATCH] KVM: x86/mmu: consider the hva in mmu_notifer retry

2021-01-24 Thread David Stevens
From: David Stevens Use the range passed to mmu_notifer's invalidate_range_start to prevent spurious page fault retries due to changes in unrelated host virtual addresses. This has the secondary effect of greatly reducing the likelihood of extreme latency when handing a page fault due to another

[PATCH v2 3/3] soc: qcom: rpmh: Conditionally check lockdep_assert_irqs_disabled()

2021-01-24 Thread Maulik Shah
lockdep_assert_irqs_disabled() was added to check rpmh_flush() can only be invoked when irqs are disabled from last CPU, this is true for APPS RSC as the last CPU going to deepest low power mode is writing sleep and wake TCSes. However platform drivers can invoke rpmh_write_sleep_and_wake() to

Re: [RFC 1/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory

2021-01-24 Thread Anshuman Khandual
On 12/22/20 12:42 PM, Anshuman Khandual wrote: > pfn_valid() asserts that there is a memblock entry for a given pfn without > MEMBLOCK_NOMAP flag being set. The problem with ZONE_DEVICE based memory is > that they do not have memblock entries. Hence memblock_is_map_memory() will > invariably

Re: [PATCH] mm: slub: Convert sys slab alloc_calls, free_calls to bin attribute

2021-01-24 Thread Faiyaz Mohammed
On 1/13/2021 9:35 PM, Vlastimil Babka wrote: > On 1/12/21 10:21 AM, Faiyaz Mohammed wrote: >> Reading the sys slab alloc_calls, free_calls returns the available object >> owners, but the size of this file is limited to PAGE_SIZE >> because of the limitation of sysfs attributes, it is returning

RE: [RFC PATCH 0/2] Avoid booting stall caused by idmap_kpti_install_ng_mappings

2021-01-24 Thread Justin He
Hi Marc > -Original Message- > From: Justin He > Sent: Wednesday, January 20, 2021 11:56 PM > To: Marc Zyngier > Cc: Catalin Marinas ; Will Deacon > ; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; Anshuman Khandual ; > Suzuki Poulose ; Mark Rutland > ; Gustavo A.

Re: [PATCH] kdb: Simplify kdb commands registration

2021-01-24 Thread Sumit Garg
Thanks Doug for your review. On Sat, 23 Jan 2021 at 00:12, Doug Anderson wrote: > > Hi, > > On Tue, Jan 19, 2021 at 2:50 AM Sumit Garg wrote: > > > > Simplify kdb commands registration via using linked list instead of > > static array for commands storage. > > > > Signed-off-by: Sumit Garg > >

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-24 Thread Miaohe Lin
Hi: On 2021/1/25 12:36, Matthew Wilcox wrote: > On Sun, Jan 24, 2021 at 11:24:41PM -0500, Waiman Long wrote: >> diff --git a/mm/filemap.c b/mm/filemap.c >> index 5c9d564317a5..aa0e0fb04670 100644 >> --- a/mm/filemap.c >> +++ b/mm/filemap.c >> @@ -835,6 +835,7 @@ noinline int

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-24 Thread Miaohe Lin
On 2021/1/25 12:24, Waiman Long wrote: > The commit 3fea5a499d57 ("mm: memcontrol: convert page > cache to a new mem_cgroup_charge() API") introduced a bug in > __add_to_page_cache_locked() causing the following splat: > > [ 1570.068330] page dumped because: VM_BUG_ON_PAGE(page_memcg(page)) > [

linux-next: manual merge of the pidfd tree with the integrity tree

2021-01-24 Thread Stephen Rothwell
Hi all, FIXME: Add owner of second tree to To: Add author(s)/SOB of conflicting commits. Today's linux-next merge of the pidfd tree got a conflict in: security/integrity/ima/ima_main.c between commits: 2b4a2474a202 ("IMA: generalize keyring specific measurement constructs")

Re: [PATCH 1/3] iommu/vt-d: Add rate limited information when PRQ overflows

2021-01-24 Thread Lu Baolu
Hi Kevin, On 2021/1/22 14:38, Tian, Kevin wrote: From: Lu Baolu Sent: Thursday, January 21, 2021 9:45 AM So that the uses could get chances to know what happened. Suggested-by: Ashok Raj Signed-off-by: Lu Baolu --- drivers/iommu/intel/svm.c | 10 -- 1 file changed, 8

Re: [PATCH] mm/filemap: Remove redundant variable's assignment

2021-01-24 Thread Miaohe Lin
On 2021/1/25 11:20, Baolin Wang wrote: > We've already set the variable 'i' 's initial value before using it, > thus remove redundant previous assignment of variable 'i'. > > Signed-off-by: Baolin Wang > --- > mm/filemap.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/filemap.c

Re: [PATCH next v2 03/17] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence

2021-01-24 Thread Chunfeng Yun
On Sun, 2021-01-24 at 12:56 +0800, Chun-Kuang Hu wrote: > Hi, Chunfeng: > > Chun-Kuang Hu 於 2021年1月24日 週日 下午12:47寫道: > > > > Hi, Chunfeng: > > > > Chunfeng Yun 於 2021年1月22日 週五 下午8:04寫道: > > > > > > The compatilbe "mediatek,mt7623-mipi-tx" is not supported in driver, > > > and in fact uses

[PATCH v2 1/3] drivers: qcom: rpmh: Disallow active requests in solver mode

2021-01-24 Thread Maulik Shah
From: Lina Iyer Controllers may be in 'solver' state, where they could be in autonomous mode executing low power modes for their hardware and as such are not available for sending active votes. Device driver may notify RPMH that the controller is in solver mode and when in such mode, disallow

Re: [PATCH next v2 04/17] dt-bindings: phy: mediatek: dsi-phy: add optional clock-names

2021-01-24 Thread Chunfeng Yun
On Sat, 2021-01-23 at 08:18 +0800, Chun-Kuang Hu wrote: > Hi, Chunfeng: > > Chunfeng Yun 於 2021年1月22日 週五 下午8:04寫道: > > > > Add an optional "clock-names" property, it's not used to get the clock, > > but some DTS files (e.g. mt8183) provide it. > > I think the logic is that we define property in

Re: [PATCH v3] kdb: Make memory allocations more robust

2021-01-24 Thread Sumit Garg
Thanks Doug for your comments. On Fri, 22 Jan 2021 at 22:55, Doug Anderson wrote: > > Hi, > > On Fri, Jan 22, 2021 at 3:06 AM Sumit Garg wrote: > > > > Currently kdb uses in_interrupt() to determine whether its library > > code has been called from the kgdb trap handler or from a saner calling

linux-next: manual merge of the pidfd tree with the integrity tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: security/integrity/ima/ima_api.c between commit: 2b4a2474a202 ("IMA: generalize keyring specific measurement constructs") from the integrity tree and commit: a2d2329e30e2 ("ima: handle idmapped mounts") from the

linux-next: manual merge of the pidfd tree with the xfs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/xfs/xfs_inode.c between commit: 01ea173e103e ("xfs: fix up non-directory creation in SGID directories") from the xfs tree and commit: f736d93d76d3 ("xfs: support idmapped mounts") from the pidfd tree. I fixed it

RE: [PATCH 3/3] perf/x86/rapl: Fix psys-energy event on Intel SPR platform

2021-01-24 Thread Zhang, Rui
Hi, Peter, > -Original Message- > From: Zhang, Rui > Sent: Sunday, January 17, 2021 10:34 PM > To: 'Peter Zijlstra' > Cc: mi...@redhat.com; a...@kernel.org; mark.rutl...@arm.com; > alexander.shish...@linux.intel.com; jo...@redhat.com; > namhy...@kernel.org; linux-kernel@vger.kernel.org;

linux-next: manual merge of the pidfd tree with the overlayfs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/overlayfs/inode.c between commit: 9c09be9e71c4 ("ovl: perform vfs_getxattr() with mounter creds") from the overlayfs tree and commit: c7c7a1a18af4 ("xattr: handle idmapped mounts") from the pidfd tree. I fixed

linux-next: manual merge of the pidfd tree with the overlayfs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/overlayfs/copy_up.c between commit: 06896fa3193d ("ovl: skip getxattr of security labels") from the overlayfs tree and commit: c7c7a1a18af4 ("xattr: handle idmapped mounts") from the pidfd tree. I fixed it up

linux-next: manual merge of the pidfd tree with the vfs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/namei.c between commit: e36cffed20a3 ("fs: make unlazy_walk() error handling consistent") 1e8f44f159b3 ("do_tmpfile(): don't mess with finish_open()") from the vfs tree and commit: 47291baa8ddf ("namei: make

[PATCH v6 1/2] media: v4l2-ctrl: add controls for long term reference.

2021-01-24 Thread Dikshita Agarwal
Long Term Reference (LTR) frames are the frames that are encoded sometime in the past and stored in the DPB buffer list to be used as reference to encode future frames. This change adds controls to enable this feature. Signed-off-by: Dikshita Agarwal ---

[PATCH v6 2/2] venus: venc: Add support for Long Term Reference (LTR) controls

2021-01-24 Thread Dikshita Agarwal
Add support for below LTR controls in encoder: - V4L2_CID_MPEG_VIDEO_LTR_COUNT - V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX - V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES Signed-off-by: Dikshita Agarwal --- drivers/media/platform/qcom/venus/venc_ctrls.c | 49 +- 1 file changed, 48

[PATCH] mm/memory_hotplug: Rename all existing 'memhp' into 'mhp'

2021-01-24 Thread Anshuman Khandual
This renames all 'memhp' instances to 'mhp' except for memhp_default_state for being a kernel command line option. This is just a clean up and should not cause a functional change. Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Andrew Morton Cc: linux...@kvack.org Cc:

Re: linux-next: build failure after merge of the scsi-mkp tree

2021-01-24 Thread Douglas Gilbert
On 2021-01-24 11:13 p.m., Stephen Rothwell wrote: Hi all, After merging the scsi-mkp tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/scsi/sg.c: In function 'sg_find_srp_by_id': drivers/scsi/sg.c:2908:4: error: expected '}' before 'else' 2908 |else

[PATCH v6 0/2] Add encoder ctrls for long term reference

2021-01-24 Thread Dikshita Agarwal
This series add the encoder controls for long term reference (LTR) and support for the same in venus driver. Dikshita Agarwal (2): media: v4l2-ctrl: add controls for long term reference. venus: venc: Add support for Long Term Reference (LTR) controls

[RFC PATCH v1] sched/fair: limit load balance redo times at the same sched_domain level

2021-01-24 Thread Aubrey Li
A long-tail load balance cost is observed on the newly idle path, this is caused by a race window between the first nr_running check of the busiest runqueue and its nr_running recheck in detach_tasks. Before the busiest runqueue is locked, the tasks on the busiest runqueue could be pulled by

Re: [PATCH v7] perf stat: Fix wrong skipping for per-die aggregation

2021-01-24 Thread Jin, Yao
Hi Jiri, On 1/24/2021 6:57 AM, Jiri Olsa wrote: On Thu, Jan 21, 2021 at 12:21:36PM +0800, Jin, Yao wrote: sNIP mask = hashmap__new(pkg_id_hash, pkg_id_equal, NULL); d = cpu_map__get_die(cpus, cpu, NULL).die; key = (size_t)d << KEY_SHIFT | s; /* s is socket id */ if (hashmap__find(mask, (void

linux-next: manual merge of the pidfd tree with the f2fs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/f2fs/file.c between commits: 19bb7075d1a9 ("f2fs: fix out-of-repair __setattr_copy()") 7cf2e6173b2d ("f2fs: enhance to update i_mode and acl atomically in f2fs_setattr()") from the f2fs tree and commit:

[PATCH v6 0/2] Add encoder ctrls for long term reference

2021-01-24 Thread Dikshita Agarwal
This series add the encoder controls for long term reference (LTR) and support for the same in venus driver. Dikshita Agarwal (2): media: v4l2-ctrl: add controls for long term reference. venus: venc: Add support for Long Term Reference (LTR) controls

Re: [PATCH] USB: usblp: don't call usb_set_interface if there's a single alt

2021-01-24 Thread Pete Zaitcev
On Sat, 23 Jan 2021 18:21:36 -0600 Jeremy Figgins wrote: > Signed-off-by: Jeremy Figgins > +++ b/drivers/usb/class/usblp.c > + if (usblp->intf->num_altsetting > 1) { Acked-by: Pete Zaitcev I am having some misgivings about it, but let's see if it works. At worst, someone will complain

linux-next: manual merge of the pidfd tree with the f2fs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/f2fs/acl.c between commit: 7cf2e6173b2d ("f2fs: enhance to update i_mode and acl atomically in f2fs_setattr()") from the f2fs tree and commit: e65ce2a50cf6 ("acl: handle idmapped mounts") from the pidfd tree. I

Re: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

2021-01-24 Thread Mikhail Gavrilov
On Thu, 21 Jan 2021 at 18:27, Christian König wrote: > > I still have no idea what's going on here. > > The KASAN messages from the DC code are completely unrelated. > > Please add the full dmesg to your bug report. > I did it. https://gitlab.freedesktop.org/drm/amd/-/issues/1439#note_776267 --

Re: [RFC PATCH v3 2/6] swiotlb: Add restricted DMA pool

2021-01-24 Thread Jon Masters
On 1/7/21 1:09 PM, Florian Fainelli wrote: On 1/7/21 9:57 AM, Konrad Rzeszutek Wilk wrote: On Fri, Jan 08, 2021 at 01:39:18AM +0800, Claire Chang wrote: Hi Greg and Konrad, This change is intended to be non-arch specific. Any arch that lacks DMA access control and has devices not behind an

linux-next: manual merge of the pidfd tree with the overlayfs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/ecryptfs/inode.c between commit: 176cfe865da6 ("ecryptfs: fix uid translation for setxattr on security.capability") from the overlayfs tree and commit: c7c7a1a18af4 ("xattr: handle idmapped mounts") from the

Re: [PATCH v9] Input: elants_i2c - support eKTF3624

2021-01-24 Thread Dmitry Torokhov
On Sun, Jan 24, 2021 at 10:54:14PM +0300, Dmitry Osipenko wrote: > From: Michał Mirosław > > Add ELAN KTF3624 touchscreen support to the elants_i2c driver. > The eKTF3624 TS is found on a series of ASUS Transformer tablet devices, > Nexus 7 tablet and etc. The firmware interface of eKTF3624 is

linux-next: manual merge of the pidfd tree with the vfs tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: fs/coredump.c between commit: 8a3cc755b138 ("coredump: don't bother with do_truncate()") from the vfs tree and commit: 643fe55a0679 ("open: handle idmapped mounts in do_truncate()") from the pidfd tree. I fixed it

Re: [External] Re: [PATCH v13 06/12] mm: hugetlb: set the PageHWPoison to the raw error page

2021-01-24 Thread Muchun Song
On Mon, Jan 25, 2021 at 8:06 AM David Rientjes wrote: > > > On Sun, 17 Jan 2021, Muchun Song wrote: > > > Because we reuse the first tail vmemmap page frame and remap it > > with read-only, we cannot set the PageHWPosion on a tail page. > > So we can use the head[4].private to record the real

Re: [External] Re: [PATCH v13 02/12] mm: hugetlb: introduce a new config HUGETLB_PAGE_FREE_VMEMMAP

2021-01-24 Thread Muchun Song
On Mon, Jan 25, 2021 at 12:09 PM Randy Dunlap wrote: > > On 1/24/21 8:06 PM, Muchun Song wrote: > > On Mon, Jan 25, 2021 at 7:58 AM David Rientjes wrote: > >> > >> > >> On Sun, 17 Jan 2021, Muchun Song wrote: > >> > >>> The HUGETLB_PAGE_FREE_VMEMMAP option is used to enable the freeing > >>> of

[PATCH bpf-next v2] samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build warnings

2021-01-24 Thread Tiezhu Yang
There exists many build warnings when make M=samples/bpf on the Loongson platform, this issue is MIPS related, x86 compiles just fine. Here are some warnings: CC samples/bpf/ibumad_user.o samples/bpf/ibumad_user.c: In function ‘dump_counts’: samples/bpf/ibumad_user.c:46:24: warning: format

[PATCH 1/1] net: dsa: rtl8366rb: standardize init jam tables

2021-01-24 Thread Lorenzo Carletti
In the rtl8366rb driver there are some jam tables which contain undocumented values. While trying to understand what these tables actually do, I noticed a discrepancy in how one of those was treated. Most of them were plain u16 arrays, while the ethernet one was an u16 matrix. By looking at the

[PATCH 0/1] net: dsa: rtl8366rb: change type of jam tables

2021-01-24 Thread Lorenzo Carletti
I was trying to see if there were some Intel 8051 instructions in the jam tables with Linus Walleij, when I noticed some oddities. This patch's aim is to make the code more consistent and more similar to the vendor's original source. Link to the Realtek code the actual patch is based on:

RE: linux-next: Tree for Jan 22 (amdgpu)

2021-01-24 Thread Chen, Guchun
[AMD Public Use] The link error has been fixed by: 5da047444e82 drm/amd/display: fix 64-bit division issue on 32-bit OS Regards, Guchun -Original Message- From: amd-gfx On Behalf Of Randy Dunlap Sent: Saturday, January 23, 2021 2:02 AM To: Stephen Rothwell ; Linux Next Mailing List

Re: [PATCH] bcache: dont reset bio opf in bch_data_insert_start

2021-01-24 Thread Coly Li
On 1/25/21 12:29 PM, Dongsheng Yang wrote: > commit ad0d9e76(bcache: use bio op accessors) makes the bi_opf > modified by bio_set_op_attrs(). But there is a logical > problem in this commit: > > trace_bcache_cache_insert(k); > bch_keylist_push(>insert_keys); > > -

drivers/gpu/drm/amd/amdgpu/amdgpu_rap.c:109:37: warning: unused variable 'amdgpu_rap_debugfs_ops'

2021-01-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 commit: 0c8d22fcae2f9590a07b000e1724f665820b77f7 Merge tag 'amd-drm-next-5.10-2020-09-03' of git://people.freedesktop.org/~agd5f/linux into drm-next date: 5

Re: [PATCH 0/2] Add support for TI AM18XX/OMAP-L138 PRUSS

2021-01-24 Thread santosh.shilim...@oracle.com
On 1/4/21 10:30 AM, David Lechner wrote: This is the first step for adding support for the PRUSS on TI AM18XX/OMAP-L138 SoCs. This series adds support in the top-level PRUSS driver. (Patches for the interrupt controller and individual PRUs are independent of this change and will be submitted

[PATCH net-next v2 1/2] dt-bindings: net: dsa: add MT7530 GPIO controller binding

2021-01-24 Thread DENG Qingfang
Add device tree binding to support MT7530 GPIO controller. Signed-off-by: DENG Qingfang --- Changes v1 -> v2: No changes. Documentation/devicetree/bindings/net/dsa/mt7530.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/mt7530.txt

[PATCH net-next v2 2/2] net: dsa: mt7530: MT7530 optional GPIO support

2021-01-24 Thread DENG Qingfang
MT7530's LED controller can drive up to 15 LED/GPIOs. Add support for GPIO control and allow users to use its GPIOs by setting gpio-controller property in device tree. Signed-off-by: DENG Qingfang --- Changes v1 -> v2: Set Output Enable after changing direction to output to avoid signal

[PATCH net-next v2 0/2] dsa: add MT7530 GPIO support

2021-01-24 Thread DENG Qingfang
MT7530's LED controller can be used as GPIO controller. Add support for it. DENG Qingfang (2): dt-bindings: net: dsa: add MT7530 GPIO controller binding net: dsa: mt7530: MT7530 optional GPIO support .../devicetree/bindings/net/dsa/mt7530.txt| 6 + drivers/net/dsa/mt7530.c

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-24 Thread Alex Shi
Reviewed-by: Alex Shi 在 2021/1/25 下午12:24, Waiman Long 写道: > The commit 3fea5a499d57 ("mm: memcontrol: convert page > cache to a new mem_cgroup_charge() API") introduced a bug in > __add_to_page_cache_locked() causing the following splat: > > [ 1570.068330] page dumped because:

[PATCH] PCI: dwc: Move forward the iATU detection process

2021-01-24 Thread Zhiqiang Hou
From: Hou Zhiqiang In the dw_pcie_ep_init(), it depends on the detected iATU region numbers to allocate the in/outbound window management bit map. It fails after the commit 281f1f99cf3a ("PCI: dwc: Detect number of iATU windows"). So this patch move the iATU region detection into a new

[PATCH] bcache: dont reset bio opf in bch_data_insert_start

2021-01-24 Thread Dongsheng Yang
commit ad0d9e76(bcache: use bio op accessors) makes the bi_opf modified by bio_set_op_attrs(). But there is a logical problem in this commit: trace_bcache_cache_insert(k); bch_keylist_push(>insert_keys); - n->bi_rw |= REQ_WRITE; +

Re: [PATCH v8 09/18] virt: acrn: Introduce I/O request management

2021-01-24 Thread Davidlohr Bueso
On Fri, 22 Jan 2021, shuo.a@intel.com wrote: From: Shuo Liu An I/O request of a User VM, which is constructed by the hypervisor, is distributed by the ACRN Hypervisor Service Module to an I/O client corresponding to the address range of the I/O request. For each User VM, there is a

Re: [PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-24 Thread Matthew Wilcox
On Sun, Jan 24, 2021 at 11:24:41PM -0500, Waiman Long wrote: > diff --git a/mm/filemap.c b/mm/filemap.c > index 5c9d564317a5..aa0e0fb04670 100644 > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -835,6 +835,7 @@ noinline int __add_to_page_cache_locked(struct page *page, > XA_STATE(xas,

Re: [PATCH v2 0/5] Introduce PRU remoteproc consumer API

2021-01-24 Thread santosh.shilim...@oracle.com
Hi Suman, Mathieu, On 1/7/21 2:49 PM, Suman Anna wrote: On 1/7/21 4:44 PM, Mathieu Poirier wrote: On Wed, Jan 06, 2021 at 06:03:25PM -0600, Suman Anna wrote: Hi Mathieu, [...] I only see input from Andy and Lars in the thread you point out, nothing from Greg. I have also taken a look at

Re: [PATCH][next] drm/amdgpu: Fix masking binary not operator on two mask operations

2021-01-24 Thread Huang Rui
On Fri, Jan 22, 2021 at 11:00:22PM +0800, Colin King wrote: > From: Colin Ian King > > Currently the ! operator is incorrectly being used to flip bits on > mask values. Fix this by using the bit-wise ~ operator instead. > > Addresses-Coverity: ("Logical vs. bitwise operator") > Fixes:

Re: [PATCH 1/1] bsg: free the request before return error code

2021-01-24 Thread Jens Axboe
On 1/19/21 5:33 AM, Pan Bian wrote: > Free the request rq before returning error code. Applied, thanks. -- Jens Axboe

Re: [PATCH] block: Fix an error handling in add_partition

2021-01-24 Thread Jens Axboe
On 1/17/21 1:50 AM, Dinghao Liu wrote: > Once we have called device_initialize(), we should use put_device() to > give up the reference on error, just like what we have done on failure > of device_add(). Applied for 5.11, thanks. -- Jens Axboe

[PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries

2021-01-24 Thread Randy Dunlap
Add qualifying build option legend [CMA] to kernel boot options that requirce CMA support to be enabled for them to be usable. Also capitalize 'CMA' when it is used as an acronym. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux...@kvack.org Cc: Andrew

Re: [PATCH v3 0/5] Scan for an idle sibling in a single pass

2021-01-24 Thread Li, Aubrey
On 2021/1/22 21:22, Vincent Guittot wrote: > On Fri, 22 Jan 2021 at 11:14, Mel Gorman wrote: >> >> On Fri, Jan 22, 2021 at 10:30:52AM +0100, Vincent Guittot wrote: >>> Hi Mel, >>> >>> On Tue, 19 Jan 2021 at 13:02, Mel Gorman >>> wrote: On Tue, Jan 19, 2021 at 12:33:04PM +0100, Vincent

Re: [RFC PATCH v0] mm/slub: Let number of online CPUs determine the slub page order

2021-01-24 Thread Bharata B Rao
On Fri, Jan 22, 2021 at 02:05:47PM +0100, Jann Horn wrote: > On Thu, Jan 21, 2021 at 7:19 PM Vlastimil Babka wrote: > > On 1/21/21 11:01 AM, Christoph Lameter wrote: > > > On Thu, 21 Jan 2021, Bharata B Rao wrote: > > > > > >> > The problem is that calculate_order() is called a number of times >

Re: [PATCH v3 0/3] blk-mq: Don't complete in IRQ, use llist_head

2021-01-24 Thread Jens Axboe
On 1/23/21 1:10 PM, Sebastian Andrzej Siewior wrote: > Patch 2+3 were applied and then dropped by Jens due to a NOHZ+softirq > related warning [0]. Turns out a successful wakeup via > set_nr_if_polling() will not process any softirqs and the CPU may go > back to idle. This is addressed by patch

Re: [PATCH v5 06/27] dt-bindings: mediatek: Add binding for mt8192 IOMMU

2021-01-24 Thread Tomasz Figa
On Wed, Jan 20, 2021 at 4:08 PM Yong Wu wrote: > > On Wed, 2021-01-20 at 13:15 +0900, Tomasz Figa wrote: > > On Wed, Jan 13, 2021 at 3:45 PM Yong Wu wrote: > > > > > > On Wed, 2021-01-13 at 14:30 +0900, Tomasz Figa wrote: > > > > On Thu, Dec 24, 2020 at 8:35 PM Yong Wu wrote: > > > > > > > > >

[PATCH] mm/filemap: Adding missing mem_cgroup_uncharge() to __add_to_page_cache_locked()

2021-01-24 Thread Waiman Long
The commit 3fea5a499d57 ("mm: memcontrol: convert page cache to a new mem_cgroup_charge() API") introduced a bug in __add_to_page_cache_locked() causing the following splat: [ 1570.068330] page dumped because: VM_BUG_ON_PAGE(page_memcg(page)) [ 1570.068333] pages's memcg:8889a4116000 [

Re: [PATCH] pinctrl: mediatek: Fix trigger type setting follow for unexpected interrupt

2021-01-24 Thread mtk15103
On Mon, 2021-01-25 at 11:24 +0800, Nicolas Boichat wrote: > On Mon, Jan 25, 2021 at 11:15 AM Hailong Fan wrote: > > > > When flipping the polarity will be generated interrupt under certain > > circumstances, but GPIO external signal has not changed. > > Then, mask the interrupt before polarity

[PATCH V3] pinctrl: mediatek: Fix trigger type setting follow for unexpected interrupt

2021-01-24 Thread Hailong Fan
When flipping the polarity will be generated interrupt under certain circumstances, but GPIO external signal has not changed. Then, mask the interrupt before polarity setting, and clear the unexpected interrupt after trigger type setting completed. Remove mtk_eint_flip_edge: because

Re: [PATCH v5 5/5] soc: aspeed: Adapt to new LPC device tree layout

2021-01-24 Thread Andrew Jeffery
On Thu, 14 Jan 2021, at 23:46, Chia-Wei, Wang wrote: > Add check against LPC device v2 compatible string to > ensure that the fixed device tree layout is adopted. > The LPC register offsets are also fixed accordingly. > > Signed-off-by: Chia-Wei, Wang > --- >

Re: [PATCH v5 2/5] ARM: dts: Remove LPC BMC and Host partitions

2021-01-24 Thread Andrew Jeffery
On Thu, 14 Jan 2021, at 23:46, Chia-Wei, Wang wrote: > The LPC controller has no concept of the BMC and the Host partitions. > > A concrete instance is that the HICRB[5:4] are for the I/O port address > configurtaion of KCS channel 1/2. However, the KCS driver cannot access > HICRB for channel

linux-next: build failure after merge of the scsi-mkp tree

2021-01-24 Thread Stephen Rothwell
Hi all, After merging the scsi-mkp tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/scsi/sg.c: In function 'sg_find_srp_by_id': drivers/scsi/sg.c:2908:4: error: expected '}' before 'else' 2908 |else |^~~~ drivers/scsi/sg.c:2902:16: warning: unused

Re: [PATCH v5 4/5] pinctrl: aspeed-g5: Adapt to new LPC device tree layout

2021-01-24 Thread Andrew Jeffery
On Thu, 14 Jan 2021, at 23:46, Chia-Wei, Wang wrote: > Add check against LPC device v2 compatible string to > ensure that the fixed device tree layout is adopted. > The LPC register offsets are also fixed accordingly. > > Signed-off-by: Chia-Wei, Wang Using a Witherspoon (AST2500):

Re: Linux 5.11-rc5

2021-01-24 Thread Bhaskar Chowdhury
On 20:06 Sun 24 Jan 2021, Guenter Roeck wrote: On 1/24/21 7:56 PM, Bhaskar Chowdhury wrote: On 19:48 Sun 24 Jan 2021, Guenter Roeck wrote: On Sun, Jan 24, 2021 at 05:06:40PM -0800, Linus Torvalds wrote: So this rc looked fairly calm and small, all the way up until today. In fact, over 40% of

Re: [External] Re: [PATCH v13 02/12] mm: hugetlb: introduce a new config HUGETLB_PAGE_FREE_VMEMMAP

2021-01-24 Thread Randy Dunlap
On 1/24/21 8:06 PM, Muchun Song wrote: > On Mon, Jan 25, 2021 at 7:58 AM David Rientjes wrote: >> >> >> On Sun, 17 Jan 2021, Muchun Song wrote: >> >>> The HUGETLB_PAGE_FREE_VMEMMAP option is used to enable the freeing >>> of unnecessary vmemmap associated with HugeTLB pages. The config >>> option

Re: [External] Re: [PATCH v13 02/12] mm: hugetlb: introduce a new config HUGETLB_PAGE_FREE_VMEMMAP

2021-01-24 Thread Muchun Song
On Mon, Jan 25, 2021 at 7:58 AM David Rientjes wrote: > > > On Sun, 17 Jan 2021, Muchun Song wrote: > > > The HUGETLB_PAGE_FREE_VMEMMAP option is used to enable the freeing > > of unnecessary vmemmap associated with HugeTLB pages. The config > > option is introduced early so that supporting code

Re: Linux 5.11-rc5

2021-01-24 Thread Guenter Roeck
On 1/24/21 7:56 PM, Bhaskar Chowdhury wrote: > On 19:48 Sun 24 Jan 2021, Guenter Roeck wrote: >> On Sun, Jan 24, 2021 at 05:06:40PM -0800, Linus Torvalds wrote: >>> So this rc looked fairly calm and small, all the way up until today. >>> >>> In fact, over 40% of the non-merge commits came in

linux-next: manual merge of the scsi-mkp tree with the kbuild tree

2021-01-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the scsi-mkp tree got a conflict in: drivers/scsi/gdth.c between commit: 537896fabed1 ("kbuild: give the SUBLEVEL more room in KERNEL_VERSION") from the kbuild tree and commit: 0653c358d2dc ("scsi: Drop gdth driver") from the scsi-mkp tree. I fixed

[PATCH] PM: remove PF_WQ_WORKER mask

2021-01-24 Thread qiang . zhang
From: Zqiang Due to kworker also is kernel thread, it's already included PF_KTHREAD mask, so remove PF_WQ_WORKER mask. Signed-off-by: Zqiang --- kernel/power/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/power/process.c b/kernel/power/process.c index

  1   2   3   4   5   >