Re: [syzbot] WARNING in io_wq_put

2021-03-25 Thread Jens Axboe
On 3/20/21 6:44 PM, syzbot wrote: > syzbot has found a reproducer for the following issue on: > > HEAD commit:1c273e10 Merge tag 'zonefs-5.12-rc4' of git://git.kernel.o.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=13853506d0 > kernel config: htt

Re: [PATCH V2] arm64: dts: qcom: sc7280: Add nodes for eMMC and SD card

2021-03-25 Thread Doug Anderson
Hi, On Wed, Mar 24, 2021 at 8:37 PM Veerabhadrarao Badiganti wrote: > > > On 3/24/2021 9:58 PM, Stephen Boyd wrote: > > Quoting Stephen Boyd (2021-03-24 08:57:33) > >> Quoting sbh...@codeaurora.org (2021-03-24 08:23:55) > >>> On 2021-03-23 12:31, Stephen Boyd wrote: > Quoting Shaik Sajida Bh

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread David Hildenbrand
On 25.03.21 17:07, Michal Hocko wrote: On Thu 25-03-21 16:35:58, Michal Hocko wrote: [...] So there is indeed a difference. One way around that would be to mark vmemmap pages (e.g. PageReserved && magic value stored somewhere in the struct page - resembling bootmem vmemmaps) or mark section full

Re: [PATCH v7 5/6] x86/signal: Detect and prevent an alternate signal stack overflow

2021-03-25 Thread Borislav Petkov
On Tue, Mar 16, 2021 at 06:26:46PM +, Bae, Chang Seok wrote: > I suspect the AVX-512 states not enabled there. Ok, I found a machine which has AVX-512: [0.00] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [0.00] x86/fpu: Supporting XSAVE feature 0x00

[no subject]

2021-03-25 Thread Mark-PK Tsai
From: Mark-PK Tsai To: Marc Zyngier Cc: Mark-PK Tsai , Daniel Palmer , Thomas Gleixner , Matthias Brugger , , , , Subject: [PATCH v4] irqchip/irq-mst: Support polarity configuration Date: Mon, 15 Mar 2021 21:18:48 +0800 > Support irq polarity conf

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-25 Thread Amey Narkhede
On 21/03/25 10:37AM, Leon Romanovsky wrote: > On Wed, Mar 24, 2021 at 11:17:29AM -0600, Alex Williamson wrote: > > On Wed, 24 Mar 2021 17:13:56 +0200 > > Leon Romanovsky wrote: > > <...> > > > > Yes, and real testing/debugging almost always requires kernel rebuild. > > > Everything else is waste o

Re: [PATCH net v1 1/1] net: pch_gbe: Propagate error from devm_gpio_request_one()

2021-03-25 Thread Andy Shevchenko
On Wed, Mar 24, 2021 at 11:23:10PM +0200, Andy Shevchenko wrote: > If GPIO controller is not available yet we need to defer > the probe of GBE until provider will become available. > > While here, drop GPIOF_EXPORT because it's deprecated and > may not be available. I'll send a v2 with many patch

Re: [PATCH] of/fdt: Check dtb pointer first in unflatten_device_tree

2021-03-25 Thread Rob Herring
On Thu, Mar 25, 2021 at 10:00 AM Changbin Du wrote: > > On Wed, Mar 24, 2021 at 10:52:30AM -0600, Rob Herring wrote: > > On Wed, Mar 24, 2021 at 9:04 AM Changbin Du wrote: > > > > > > The setup_arch() would invoke unflatten_device_tree() even no > > > valid fdt found. So we'd better check it firs

Re: [PATCH] livepatch: klp_send_signal should treat PF_IO_WORKER like PF_KTHREAD

2021-03-25 Thread Jens Axboe
On 3/24/21 7:48 PM, Dong Kai wrote: > commit 15b2219facad ("kernel: freezer should treat PF_IO_WORKER like > PF_KTHREAD for freezing") is to fix the freezeing issue of IO threads > by making the freezer not send them fake signals. > > Here live patching consistency model call klp_send_signals to w

Re: [RFC Part1 PATCH 01/13] x86/cpufeatures: Add SEV-SNP CPU feature

2021-03-25 Thread Borislav Petkov
On Thu, Mar 25, 2021 at 09:50:20AM -0500, Brijesh Singh wrote: > For the early feedback I was trying to find one tree which can be used > for building both the guest and hypervisor at once. In future, I will > submit the part-1 against the tip/master and part-2 against the > kvm/master. thanks The

Re: [PATCH] nvme: disallow passthru cmd from targeting a nsid != nsid of the block dev

2021-03-25 Thread Christoph Hellwig
On Thu, Mar 25, 2021 at 09:48:37AM +, Niklas Cassel wrote: > @@ -1632,6 +1632,8 @@ static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct > nvme_ns *ns, > return -EFAULT; > if (cmd.flags) > return -EINVAL; > + if (ns && cmd.nsid != ns->head->ns_id) > +

Re: [PATCH] livepatch: klp_send_signal should treat PF_IO_WORKER like PF_KTHREAD

2021-03-25 Thread Jens Axboe
On 3/25/21 3:30 AM, Miroslav Benes wrote: >> (PF_KTHREAD | PF_IO_WORKER) is open coded in soo many places maybe this is a >> silly question, but... >> >> If the livepatch code could use fake_signal_wake_up(), we could consolidate >> the pattern in klp_send_signals() with the one in freeze_task().

Re: [PATCH] drm: bridge: convert sysfs sprintf/snprintf family to sysfs_emit

2021-03-25 Thread Robert Foss
Pushed to drm-misc-next https://cgit.freedesktop.org/drm/drm-misc/commit/?id=fffa69aa6b1c89853cd00dea969e4754633596d7 On Sun, 7 Feb 2021 at 10:12, Jiapeng Chong wrote: > > Fix the following coccicheck warning: > > drivers/gpu/drm/bridge/lontium-lt9611uxc.c:858:8-16: WARNING: use > scnprintf or s

Re: [PATCH v2 0/4] vmalloc: Improve vmalloc(4MB) performance

2021-03-25 Thread Matthew Wilcox
On Thu, Mar 25, 2021 at 03:59:56PM +, David Laight wrote: > Even then it is probably better to use a typed pointer thank you for expressing your opinion

Re: [PATCH] x86/tlb: Flush global mappings when KAISER is disabled

2021-03-25 Thread Hugh Dickins
On Thu, 25 Mar 2021, Borislav Petkov wrote: > Ok, > > I tried to be as specific as possible in the commit message so that we > don't forget. Please lemme know if I've missed something. > > Babu, Jim, I'd appreciate it if you ran this to confirm. > > Thx. > > --- > From: Borislav Petkov > Date

[GIT PULL] MFD fixes for v5.12

2021-03-25 Thread Lee Jones
Good afternoon Linus, The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-5.12 for you to fetch changes up to

Re: [PATCH V3] ALSA: pcm: Fix couple of typos

2021-03-25 Thread Randy Dunlap
On 3/25/21 5:07 AM, Bhaskar Chowdhury wrote: > On 11:47 Thu 25 Mar 2021, Takashi Iwai wrote: >> On Thu, 25 Mar 2021 10:56:39 +0100, >> Bhaskar Chowdhury wrote: >>> >>> On 10:37 Thu 25 Mar 2021, Takashi Iwai wrote: >>> >On Thu, 25 Mar 2021 10:06:09 +0100, >>> >Bhaskar Chowdhury wrote: >>> >> >>> >>

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 17:20:23, David Hildenbrand wrote: > On 25.03.21 17:07, Michal Hocko wrote: > > On Thu 25-03-21 16:35:58, Michal Hocko wrote: > > [...] > > > So there is indeed a difference. One way around that would be to mark > > > vmemmap pages (e.g. PageReserved && magic value stored somewhere

Re: [PATCH v5 4/7] mfd: hi6421-spmi-pmic: move driver from staging

2021-03-25 Thread Lee Jones
On Thu, 25 Mar 2021, Mauro Carvalho Chehab wrote: > This driver is ready for mainstream. So, move it out of staging. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../mfd}/hisilicon,hi6421-spmi-pmic.yaml | 0 > MAINTAINERS| 7 +++ > drivers/mfd

[PATCH] tracing: A minor cleanup for create_system_filter()

2021-03-25 Thread Qiujun Huang
The first two parameters should be reduced to one, as @tr is simply @dir->tr. Signed-off-by: Qiujun Huang --- kernel/trace/trace_events_filter.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events_filter.c ind

Re: [PATCH -next 1/5] net: ceph: Fix a typo in osdmap.c

2021-03-25 Thread Ilya Dryomov
On Thu, Mar 25, 2021 at 7:37 AM Lu Wei wrote: > > Modify "inital" to "initial" in net/ceph/osdmap.c. > > Reported-by: Hulk Robot > Signed-off-by: Lu Wei > --- > net/ceph/osdmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c > ind

Re: [PATCH V2 1/5] powerpc/perf: Expose processor pipeline stage cycles using PERF_SAMPLE_WEIGHT_STRUCT

2021-03-25 Thread Arnaldo
On March 25, 2021 11:38:01 AM GMT-03:00, Peter Zijlstra wrote: >On Thu, Mar 25, 2021 at 10:01:35AM -0300, Arnaldo Carvalho de Melo >wrote:. >> > > Also for CPU_FTR_ARCH_31, capture the two cycle counter >information in >> > > two 16 bit fields of perf_sample_weight structure. >> > >> > Change

Re: [PATCH] livepatch: klp_send_signal should treat PF_IO_WORKER like PF_KTHREAD

2021-03-25 Thread Joe Lawrence
On 3/25/21 5:26 AM, Miroslav Benes wrote: On Thu, 25 Mar 2021, Dong Kai wrote: commit 15b2219facad ("kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing") is to fix the freezeing issue of IO threads by making the freezer not send them fake signals. Here live patching consist

[PATCH 0/2] Don't show PF_IO_WORKER in /proc//task/

2021-03-25 Thread Jens Axboe
Hi, Stefan reports that attaching to a task with io_uring will leave gdb very confused and just repeatedly attempting to attach to the IO threads, even though it receives an -EPERM every time. This patchset proposes to skip PF_IO_WORKER threads as same_thread_group(), except for accounting purpose

[PATCH 1/2] kernel: don't include PF_IO_WORKERs as part of same_thread_group()

2021-03-25 Thread Jens Axboe
Don't pretend that the IO threads are in the same thread group, the only case where that seems to be desired is for accounting purposes. Add a special accounting function for that and make the scheduler side use it. For signals and ptrace, we don't allow them to be treated as threads anyway. Repo

[PATCH 2/2] proc: don't show PF_IO_WORKER threads as threads in /proc//task/

2021-03-25 Thread Jens Axboe
We don't allow SIGSTOP and ptrace attach to these threads, and that confuses applications like gdb that assume they can attach to any thread listed in /proc//task/. gdb then enters an infinite loop of retrying attach, even though it fails with the same error (-EPERM) every time. Skip over PF_IO_WO

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-25 Thread Leon Romanovsky
On Thu, Mar 25, 2021 at 09:56:37PM +0530, Amey Narkhede wrote: > On 21/03/25 10:37AM, Leon Romanovsky wrote: > > On Wed, Mar 24, 2021 at 11:17:29AM -0600, Alex Williamson wrote: > > > On Wed, 24 Mar 2021 17:13:56 +0200 > > > Leon Romanovsky wrote: <...> > > I expect that QEMU sets same reset pol

Re: [mm, net-next v2] mm: net: memcg accounting for TCP rx zerocopy

2021-03-25 Thread Johannes Weiner
On Thu, Mar 25, 2021 at 10:02:28AM +0100, Michal Hocko wrote: > On Wed 24-03-21 15:49:15, Arjun Roy wrote: > > On Wed, Mar 24, 2021 at 2:24 PM Johannes Weiner wrote: > > > > > > On Wed, Mar 24, 2021 at 10:12:46AM +0100, Michal Hocko wrote: > > > > On Tue 23-03-21 11:47:54, Arjun Roy wrote: > > > >

[PATCH 0/8] dt: doc build improvements and kerneldoc addition

2021-03-25 Thread Rob Herring
This series reorganizes the DT documentation and adds the DT API kerneldoc to the documentation build. It's based on the current DT for-next branch which has a series of kerneldoc fixes from Lee Jones. Cc: Frank Rowand Cc: Lee Jones Cc: Mauro Carvalho Chehab Cc: Jonathan Corbet Cc: linux-...@

[PATCH 2/8] docs: dt: writing-schema: Remove spurious indentation

2021-03-25 Thread Rob Herring
'allOf' and 'properties' have a leading space which causes them to be indented in the doc output. Cc: Frank Rowand Cc: Mauro Carvalho Chehab Signed-off-by: Rob Herring --- Documentation/devicetree/writing-schema.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docume

[PATCH 1/8] dt-bindings: Fix reference in submitting-patches.rst to the DT ABI doc

2021-03-25 Thread Rob Herring
submitting-patches.rst has a stale reference to ABI.txt. Fix this with a proper rSt link. Cc: Frank Rowand Cc: Mauro Carvalho Chehab Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/submitting-patches.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docum

[PATCH 6/8] of: Fix kerneldoc output formatting

2021-03-25 Thread Rob Herring
The indentation of the kerneldoc comments affects the output formatting. Leading tabs in particular don't work, and sections need to be indented under the section header. The example snippets for DT source in the comments still have some formatting issues, but there doesn't seem to be any way to d

[PATCH 3/8] docs: dt: writing-schema: Include the example schema in the doc build

2021-03-25 Thread Rob Herring
The example-schema.yaml file serves as documentation, so let's include it from writing-schema.rst. Cc: Frank Rowand Cc: Mauro Carvalho Chehab Signed-off-by: Rob Herring --- Documentation/devicetree/writing-schema.rst | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentatio

[PATCH 5/8] docs: dt: Group DT docs into relevant sub-sections

2021-03-25 Thread Rob Herring
The DT docs are currently all just lumped together in the doc build. Let's organize the documents by kernel specifics, overlays and bindings. As writing-schema.rst is about bindings, let's move it to the bindings directory. Cc: Frank Rowand Cc: Mauro Carvalho Chehab Signed-off-by: Rob Herring

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 17:36:22, Michal Hocko wrote: > If all it takes is to make pfn_to_online_page work (and my > previous attempt is incorrect because it should consult block rather > than section pfn range) This should work. diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 9697acfe96

[PATCH 4/8] docs: dt: Make 'Devicetree' wording more consistent

2021-03-25 Thread Rob Herring
There's a variety of ways 'Devicetree' has been written. This is most evident in the documentation build contents where we have 'Device Tree', 'DeviceTree', etc. The DT spec has somewhat standardized on 'Devicetree', so let's use that. Cc: Frank Rowand Cc: Mauro Carvalho Chehab Signed-off-by: Ro

[PATCH 7/8] of: Add missing 'Return' section in kerneldoc comments

2021-03-25 Thread Rob Herring
Many of the DT kerneldoc comments are lacking a 'Return' section. Let's add the section in cases we have a description of return values. There's still some cases where the return values are not documented. Cc: Frank Rowand Cc: Mauro Carvalho Chehab Signed-off-by: Rob Herring --- drivers/of/bas

[PATCH 8/8] docs: dt: Add DT API documentation

2021-03-25 Thread Rob Herring
The kernel-doc for the DT APIs are not included in the documentation build. Add them. Cc: Frank Rowand Cc: Mauro Carvalho Chehab Signed-off-by: Rob Herring --- Documentation/devicetree/index.rst | 1 + Documentation/devicetree/kernel-api.rst | 57 + 2 files change

Re: [PATCH 1/4] cxl/mem: Use sysfs_emit() for attribute show routines

2021-03-25 Thread Jason Gunthorpe
On Wed, Mar 24, 2021 at 02:01:51PM -0700, Dan Williams wrote: > While none the CXL sysfs attributes are threatening to overrun a > PAGE_SIZE of output, it is good form to use the recommended helpers. > > Fixes: b39cb1052a5c ("cxl/mem: Register CXL memX devices") > Reviewed-by: Ben Widawsky > Repo

Re: [PATCH v5 1/2] dt-bindings: display: bridge: Add Chipone ICN6211 bindings

2021-03-25 Thread Robert Foss
Pushed to drm-misc-next https://cgit.freedesktop.org/drm/drm-misc/commit/?id=a42e37db23b88120aea9fa31f9c0952accb39296 On Mon, 22 Mar 2021 at 11:33, Jagan Teki wrote: > > ICN6211 is MIPI-DSI to RGB Converter bridge from Chipone. > > It has a flexible configuration of MIPI DSI signal input and > p

Re: [PATCH BUGFIX/IMPROVEMENT V2 0/6] revised version of third and last batch of patches

2021-03-25 Thread Jens Axboe
On 3/4/21 10:46 AM, Paolo Valente wrote: > Hi, > this is the V2 for the third and last batches of patches that I > proposed recently [1]. > > I've tried to address all issues raised in [1]. > > In more detail, main changes for V1 are: > 1. I've improved code as requested in "block, bfq: merge bur

Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

2021-03-25 Thread Borislav Petkov
On Thu, Mar 25, 2021 at 10:38:13PM +1300, Kai Huang wrote: > I have sent it by replying to this patch. > > [PATCH v4 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page() Thanks, I've committed the below. > Btw, with this patch being changed, I think there's a place in patch 5 should > also b

Re: [PATCH 1/4] dt-bindings: PCI: ti, j721e: Add bindings to specify legacy interrupts

2021-03-25 Thread Rob Herring
On Thu, 25 Mar 2021 14:39:33 +0530, Kishon Vijay Abraham I wrote: > Add bindings to specify interrupt controller for legacy interrupts. > > Signed-off-by: Kishon Vijay Abraham I > --- > .../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 13 + > 1 file changed, 13 insertions(+) >

Re: [PATCH 1/6] dt-bindings: PCI: ti, am65: Add PCIe host mode dt-bindings for TI's AM65 SoC

2021-03-25 Thread Rob Herring
On Thu, 25 Mar 2021 14:30:21 +0530, Kishon Vijay Abraham I wrote: > Add PCIe host mode dt-bindings for TI's AM65 SoC. > > Signed-off-by: Kishon Vijay Abraham I > --- > .../bindings/pci/ti,am65-pci-host.yaml| 111 ++ > 1 file changed, 111 insertions(+) > create mode 10064

Re: [PATCH 2/6] dt-bindings: PCI: ti, am65: Add PCIe endpoint mode dt-bindings for TI's AM65 SoC

2021-03-25 Thread Rob Herring
On Thu, 25 Mar 2021 14:30:22 +0530, Kishon Vijay Abraham I wrote: > Add PCIe endpoint mode dt-bindings for TI's AM65 SoC. > > Signed-off-by: Kishon Vijay Abraham I > --- > .../bindings/pci/ti,am65-pci-ep.yaml | 80 +++ > 1 file changed, 80 insertions(+) > create mode 10

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread David Hildenbrand
On 25.03.21 17:47, Michal Hocko wrote: On Thu 25-03-21 17:36:22, Michal Hocko wrote: If all it takes is to make pfn_to_online_page work (and my previous attempt is incorrect because it should consult block rather than section pfn range) This should work. diff --git a/drivers/base/memory.c b/d

Re: [PATCH v2] kbuild: enforce -Werror=unused-result

2021-03-25 Thread Masahiro Yamada
On Thu, Mar 25, 2021 at 8:16 PM Olaf Hering wrote: > > Am Fri, 19 Mar 2021 15:32:31 +0100 > schrieb Olaf Hering : > > > It is a hard error if a return value is ignored. > > The automated builds found only a single error, in load_em86(). What about drivers/net/ethernet/lantiq_etop.c ? > Let

Re: [PATCH 1/8] mm: cma: introduce cma_release_nowait()

2021-03-25 Thread Mike Kravetz
On 3/25/21 3:22 AM, Michal Hocko wrote: > On Thu 25-03-21 10:56:38, David Hildenbrand wrote: >> On 25.03.21 01:28, Mike Kravetz wrote: >>> From: Roman Gushchin >>> >>> cma_release() has to lock the cma_lock mutex to clear the cma bitmap. >>> It makes it a blocking function, which complicates its u

[PATCH v3 1/2] ALSA: usb-audio: Carve out connector value checking into a helper

2021-03-25 Thread Kai-Heng Feng
This is preparation for next patch, no functional change intended. Signed-off-by: Kai-Heng Feng --- v3: - No change. v2: - Only return early when ret < 0. sound/usb/mixer.c | 34 +- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/sound/usb/mixer.

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-03-25 Thread Jacob Pan
Hi Jean-Philippe, On Thu, 25 Mar 2021 11:21:40 +0100, Jean-Philippe Brucker wrote: > On Wed, Mar 24, 2021 at 03:12:30PM -0700, Jacob Pan wrote: > > Hi Jason, > > > > On Wed, 24 Mar 2021 14:03:38 -0300, Jason Gunthorpe > > wrote: > > > On Wed, Mar 24, 2021 at 10:02:46AM -0700, Jacob Pan wrote:

[PATCH v3 2/2] ALSA: usb-audio: Check connector value on resume

2021-03-25 Thread Kai-Heng Feng
Rear Mic on Lenovo P620 cannot record after S3, despite that there's no error and the other two functions of the USB audio, Line In and Line Out, work just fine. The mic starts to work again after running userspace app like "alsactl store". Following the lead, the evidence shows that as soon as co

Re: [PATCH] amdgpu: securedisplay: simplify i2c hexdump output

2021-03-25 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Mar 24, 2021 at 9:37 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > A previous fix I did left a rather complicated loop in > amdgpu_securedisplay_debugfs_write() for what could be expressed in a > simple sprintf, as Rasmus pointed out. > > This drops the lead

Re: [PATCH V2] drm/radeon/r600_cs: Few typo fixes

2021-03-25 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Mar 24, 2021 at 7:46 PM Randy Dunlap wrote: > > On 3/24/21 4:29 PM, Bhaskar Chowdhury wrote: > > s/miror/mirror/ > > s/needind/needing/ > > s/informations/information/ > > > > Signed-off-by: Bhaskar Chowdhury > > Acked-by: Randy Dunlap > > Thanks. > > > --- > >

Re: [PATCH] drm/amd/amdgpu/gfx_v7_0: Trivial typo fixes

2021-03-25 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Mar 25, 2021 at 5:26 AM Nirmoy wrote: > > > Reviewed-by: Nirmoy Das > > On 3/25/21 9:53 AM, Bhaskar Chowdhury wrote: > > s/acccess/access/ > > s/inferface/interface/ > > s/sequnce/sequence/ .two different places. > > s/retrive/retrieve/ > > s/sheduling/schedul

[PATCH][next] scsi: a100u2w: remove unused variable biosaddr

2021-03-25 Thread Colin King
From: Colin Ian King The variable biosaddr is being assigned a value that is never read, the variable is redundant and can be safely removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/scsi/a100u2w.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/driv

Re: [PATCH] i2c: add i2c bus driver for amd navi gpu

2021-03-25 Thread Andy Shevchenko
On Mon, Mar 22, 2021 at 10:26:55PM +0530, Goswami, Sanket wrote: > On 09-Mar-21 19:56, Andy Shevchenko wrote: > > On Tue, Mar 09, 2021 at 07:01:47PM +0530, Sanket Goswami wrote: ... > >> +static int amd_i2c_dw_master_xfer(struct i2c_adapter *adap, struct > >> i2c_msg *msgs, int num_msgs) > > >

Re: [Patch V2 07/13] irqdomain/msi: Provide msi_alloc/free_store() callbacks

2021-03-25 Thread Marc Zyngier
On Fri, 26 Feb 2021 20:11:11 +, Megha Dey wrote: > > From: Thomas Gleixner > > For devices which don't have a standard storage for MSI messages like the > upcoming IMS (Interrupt Message Store) it's required to allocate storage > space before allocating interrupts and after freeing them. >

Re: [PATCH] drm/amd: Fix a typo in two different sentences

2021-03-25 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Mar 22, 2021 at 6:45 PM Randy Dunlap wrote: > > On 3/22/21 2:06 PM, Bhaskar Chowdhury wrote: > > > > s/defintion/definition/ .two different places. > > > > Signed-off-by: Bhaskar Chowdhury > > Acked-by: Randy Dunlap > > > --- > > drivers/gpu/drm/amd/include/

Re: [PATCH 1/2] iommu: Statically set module owner

2021-03-25 Thread Will Deacon
On Fri, Mar 19, 2021 at 12:52:01PM +, Robin Murphy wrote: > It happens that the 3 drivers which first supported being modular are > also ones which play games with their pgsize_bitmap, so have non-const > iommu_ops where dynamically setting the owner manages to work out OK. > However, it's less

Re: [PATCH v2] kbuild: enforce -Werror=unused-result

2021-03-25 Thread Olaf Hering
Am Fri, 26 Mar 2021 01:55:41 +0900 schrieb Masahiro Yamada : > What about drivers/net/ethernet/lantiq_etop.c ? Nothing complained about it. I guess there is a build-bot for alpha, but none for mips. > I got a lot of complaints in the last trial. Why did you get complains, instead of me? Wh

Re: [PATCH 2/4] cxl/mem: Fix cdev_device_add() error handling

2021-03-25 Thread Jason Gunthorpe
On Wed, Mar 24, 2021 at 02:01:56PM -0700, Dan Williams wrote: > If cdev_device_add() fails then the allocation performed by > dev_set_name() is leaked. Use put_device(), not open coded release, for > device_add() failures. > > The comment is obsolete because direct err_id failures need not worry >

[PATCH 2/2] treewide: change my e-mail address, fix my name

2021-03-25 Thread Marek Behún
Change my e-mail address to ka...@kernel.org, and fix my name in non-code parts (add diacritical mark). Signed-off-by: Marek Behún --- Documentation/ABI/testing/debugfs-moxtet | 4 ++-- Documentation/ABI/testing/debugfs-turris-mox-rwtm | 2 +- Documentation/ABI/testing/sysfs

[PATCH 1/2] MAINTAINERS: update CZ.NIC's Turris information

2021-03-25 Thread Marek Behún
Add all the files maintained by Turris team, not only for MOX, but also for Omnia. Change website. Signed-off-by: Marek Behún --- MAINTAINERS | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8d23b0ec0c90..2cf388c89196 100644 --- a/MA

Re: [PATCH 2/2] iommu: Streamline registration interface

2021-03-25 Thread Will Deacon
On Fri, Mar 19, 2021 at 12:52:02PM +, Robin Murphy wrote: > Rather than have separate opaque setter functions that are easy to > overlook and lead to repetitive boilerplate in drivers, let's pass the > relevant initialisation parameters directly to iommu_device_register(). > > Signed-off-by: R

Re: [PATCH 5/8] hugetlb: call update_and_free_page without hugetlb_lock

2021-03-25 Thread Mike Kravetz
On 3/25/21 3:55 AM, Michal Hocko wrote: > On Wed 24-03-21 17:28:32, Mike Kravetz wrote: >> With the introduction of remove_hugetlb_page(), there is no need for >> update_and_free_page to hold the hugetlb lock. Change all callers to >> drop the lock before calling. >> >> With additional code modifi

Re: [PATCH 3/4] cxl/mem: Do not rely on device_add() side effects for dev_set_name() failures

2021-03-25 Thread Jason Gunthorpe
On Wed, Mar 24, 2021 at 02:02:01PM -0700, Dan Williams wrote: > While device_add() will happen to catch dev_set_name() failures it is a > broken pattern to follow given that the core may try to fall back to a > different name. > > Add explicit checking for dev_set_name() failures to be cleaned up

Re: [PATCH 1/8] mm: cma: introduce cma_release_nowait()

2021-03-25 Thread David Hildenbrand
On 25.03.21 17:56, Mike Kravetz wrote: On 3/25/21 3:22 AM, Michal Hocko wrote: On Thu 25-03-21 10:56:38, David Hildenbrand wrote: On 25.03.21 01:28, Mike Kravetz wrote: From: Roman Gushchin cma_release() has to lock the cma_lock mutex to clear the cma bitmap. It makes it a blocking function,

Re: [PATCH 1/2] iommu/mediatek-v1: Alloc building as module

2021-03-25 Thread Will Deacon
On Tue, Mar 23, 2021 at 01:58:00PM +0800, Yong Wu wrote: > This patch only adds support for building the IOMMU-v1 driver as module. > Correspondingly switch the config to tristate. > > Signed-off-by: Yong Wu > --- > rebase on v5.12-rc2. > --- > drivers/iommu/Kconfig| 2 +- > drivers/iomm

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-03-25 Thread Jason Gunthorpe
On Thu, Mar 25, 2021 at 10:02:36AM -0700, Jacob Pan wrote: > Hi Jean-Philippe, > > On Thu, 25 Mar 2021 11:21:40 +0100, Jean-Philippe Brucker > wrote: > > > On Wed, Mar 24, 2021 at 03:12:30PM -0700, Jacob Pan wrote: > > > Hi Jason, > > > > > > On Wed, 24 Mar 2021 14:03:38 -0300, Jason Gunthorpe

Re: [PATCH V4] iio:imu:mpu6050: Modify matricies to matrices

2021-03-25 Thread Jean-Baptiste Maneyrol
Hello, thanks for the patch, JB Acked-by: Jean-Baptiste Maneyrol From: Guoqing chi Sent: Monday, March 22, 2021 02:30 To: ji...@kernel.org Cc: linux-kernel@vger.kernel.org ; chiguoq...@yulong.com ; rdun...@infradead.org ; linux-...@vger.kernel.org ; chi96246...@163.com Subject: [PATCH V4

RE: [PATCH v9 1/7] smccc: Add HVC call variant with result registers other than 0 thru 3

2021-03-25 Thread Michael Kelley
From: Mark Rutland Sent: Thursday, March 25, 2021 2:56 AM > > On Thu, Mar 25, 2021 at 04:55:51AM +, Michael Kelley wrote: > > From: Mark Rutland Sent: Wednesday, March 24, 2021 > > 9:55 AM > > > For the benefit of others here, SMCCCv1.2 allows: > > > > > > * SMC64/HVC64 to use all of x1-x17

Re: [PATCH V2] misc: genwqe: Rudimentary typo fixes

2021-03-25 Thread Randy Dunlap
On 3/24/21 6:55 PM, Bhaskar Chowdhury wrote: > s/requsted/requested/ > s/equests/requests/ > s/occured/occurred/ > s/conditon/condition/ > s/emtpy/empty/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap Thanks. > --- > Changes from V1: > One change incorporated and one elimilate

Re: [PATCH v1 1/2] memory: tegra20: Correct comment to MC_STAT registers writes

2021-03-25 Thread Dmitry Osipenko
24.03.2021 00:04, Dmitry Osipenko пишет: > The code was changed multiple times and the comment to MC_STAT > registers writes became slightly outdated. The MC_STAT programming > now isn't hardcoded to the "bandwidth" mode, let's clarify this in > the comment. > > Signed-off-by: Dmitry Osipenko > -

Re: [PATCH] Bluetooth: L2CAP: Rudimentary typo fixes

2021-03-25 Thread Randy Dunlap
On 3/24/21 9:35 PM, Bhaskar Chowdhury wrote: > > s/minium/minimum/ > s/procdure/procedure/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > net/bluetooth/l2cap_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/net/bluetooth/l2cap_core.c b

Re: [PATCH v7 5/6] x86/signal: Detect and prevent an alternate signal stack overflow

2021-03-25 Thread Bae, Chang Seok
On Mar 25, 2021, at 09:20, Borislav Petkov wrote: > > $ gcc tst-minsigstksz-2.c -DMY_MINSIGSTKSZ=3453 -o tst-minsigstksz-2 > $ ./tst-minsigstksz-2 > tst-minsigstksz-2: changed byte 50 bytes below configured stack > > Whoops. > > And the debug print said: > > [ 5395.252884] signal: get_sigframe

[PATCH][next] thermal/drivers/devfreq_cooling: Fix error return if kasprintf returns NULL

2021-03-25 Thread Colin King
From: Colin Ian King Currently when kasprintf fails and returns NULL, the error return -ENOMEM is being assigned to cdev instead of err causing the return via the label remove_qos_re to return the incorrect error code. Fix this by explicitly setting err before taking the error return path. Addre

Re: [PATCH -tip v4 10/12] x86/kprobes: Push a fake return address at kretprobe_trampoline

2021-03-25 Thread Peter Zijlstra
On Mon, Mar 22, 2021 at 03:41:40PM +0900, Masami Hiramatsu wrote: > ".global kretprobe_trampoline\n" > ".type kretprobe_trampoline, @function\n" > "kretprobe_trampoline:\n" > #ifdef CONFIG_X86_64 So what happens if we get an NMI here? That is, after the RET but before the push?

Re: [PATCH] fddi: skfp: Rudimentary spello fixes

2021-03-25 Thread Randy Dunlap
On 3/25/21 12:08 AM, Bhaskar Chowdhury wrote: > > s/autohorized/authorized/ > s/recsource/resource/ > s/measuered/measured/ > sauthoriziation/authorization/ s/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/fddi/skfp/h/smt.h | 8 > 1 file changed

Re: [Patch V2 08/13] genirq: Set auxiliary data for an interrupt

2021-03-25 Thread Marc Zyngier
On Fri, 26 Feb 2021 20:11:12 +, Megha Dey wrote: > > Introduce a new function pointer in the irq_chip structure(irq_set_auxdata) > which is responsible for updating data which is stored in a shared register > or data storage. For example, the idxd driver uses the auxiliary data API > to enabl

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-25 Thread Amey Narkhede
On 21/03/25 06:09PM, Leon Romanovsky wrote: > On Thu, Mar 25, 2021 at 08:55:04AM -0600, Alex Williamson wrote: > > On Thu, 25 Mar 2021 10:37:54 +0200 > > Leon Romanovsky wrote: > > > > > On Wed, Mar 24, 2021 at 11:17:29AM -0600, Alex Williamson wrote: > > > > On Wed, 24 Mar 2021 17:13:56 +0200 > >

Re: [PATCH 4/8] docs: dt: Make 'Devicetree' wording more consistent

2021-03-25 Thread Mauro Carvalho Chehab
Em Thu, 25 Mar 2021 10:47:09 -0600 Rob Herring escreveu: > There's a variety of ways 'Devicetree' has been written. This is most > evident in the documentation build contents where we have 'Device Tree', > 'DeviceTree', etc. The DT spec has somewhat standardized on > 'Devicetree', so let's use th

Re: [PATCH] target: Fix a double put in transport_free_session

2021-03-25 Thread Mike Christie
On 3/25/21 2:48 AM, lyl2...@mail.ustc.edu.cn wrote: > > > >> -原始邮件- >> 发件人: michael.chris...@oracle.com >> 发送时间: 2021-03-24 00:28:35 (星期三) >> 收件人: "Lv Yunlong" , martin.peter...@oracle.com >> 抄送: linux-s...@vger.kernel.org, target-de...@vger.kernel.org, >> linux-kernel@vger.kernel.org >

Re: [RFC PATCH 4/4] KVM: arm64: Distinguish cases of memcache allocations completely

2021-03-25 Thread Alexandru Elisei
Hi Yanan, On 2/8/21 11:22 AM, Yanan Wang wrote: > With a guest translation fault, the memcache pages are not needed if KVM > is only about to install a new leaf entry into the existing page table. > And with a guest permission fault, the memcache pages are also not needed > for a write_fault in di

[tip: irq/core] drm/i915: Use tasklet_unlock_spin_wait() in __tasklet_disable_sync_once()

2021-03-25 Thread tip-bot2 for Sebastian Andrzej Siewior
The following commit has been merged into the irq/core branch of tip: Commit-ID: 6e457914935a3161eeb74e319abf9fd511aa1e4d Gitweb: https://git.kernel.org/tip/6e457914935a3161eeb74e319abf9fd511aa1e4d Author:Sebastian Andrzej Siewior AuthorDate:Tue, 23 Mar 2021 10:22:21 +01:0

Re: [PATCH v2] Bluetooth: Always call advertising disable before setting params

2021-03-25 Thread Daniel Winkler
Hi all, It looks like my change breaks the expectations of one mgmt-tester test, which uses an Adv Enable (True) as a test condition. It is surprised to first see an Adv Enable (False) in the HCI traffic, and fails. I think my suggested approach here is the simplest and most robust to solve this r

Re: [PATCH -next 1/5] block: add disk sequence number

2021-03-25 Thread Matteo Croce
On Mon, Mar 15, 2021 at 10:05 PM Matthew Wilcox wrote: > > On Mon, Mar 15, 2021 at 08:18:24PM +, Matthew Wilcox wrote: > > On Mon, Mar 15, 2021 at 09:02:38PM +0100, Matteo Croce wrote: > > > From: Matteo Croce > > > > > > Add a sequence number to the disk devices. This number is put in the >

Re: [PATCH 2/2] remoteproc: k3-r5: Extend support to R5F clusters on AM64x SoCs

2021-03-25 Thread Mathieu Poirier
Good morning, On Thu, Mar 18, 2021 at 04:58:42PM -0500, Suman Anna wrote: > The K3 AM64x SoC family has a revised R5F sub-system and contains a > subset of the R5F clusters present on J721E SoCs. The K3 AM64x SoCs > only have two dual-core Arm R5F clusters/subsystems with 2 R5F cores > each presen

Re: [PATCH 6/8] hugetlb: change free_pool_huge_page to remove_pool_huge_page

2021-03-25 Thread Mike Kravetz
On 3/25/21 4:06 AM, Michal Hocko wrote: > On Wed 24-03-21 17:28:33, Mike Kravetz wrote: > [...] >> @@ -2074,17 +2067,16 @@ static int gather_surplus_pages(struct hstate *h, >> long delta) >> *to the associated reservation map. >> * 2) Free any unused surplus pages that may have been alloca

Re: [PATCH 2/4] PCI/AER: Correct function names in the header

2021-03-25 Thread Rafael J. Wysocki
On Thu, Mar 25, 2021 at 8:50 AM Xiongfeng Wang wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/pci/pcie/aer.c:138: warning: expecting prototype for > enable_ercr_checking(). Prototype was for enable_ecrc_checking() instead > drivers/pci/pcie/aer.c:162: warning: expecting

Re: [PATCH 1/4] PCI: acpi_pcihp: Correct acpi_pci_check_ejectable() function name in the header

2021-03-25 Thread Rafael J. Wysocki
On Thu, Mar 25, 2021 at 8:50 AM Xiongfeng Wang wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/pci/hotplug/acpi_pcihp.c:167: warning: expecting prototype for > acpi_pcihp_check_ejectable(). Prototype was for acpi_pci_check_ejectable() > instead > > Reported-by: Hulk Robo

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-03-25 Thread Will Deacon
On Tue, Mar 09, 2021 at 12:10:44PM +0530, Sai Prakash Ranjan wrote: > On 2021-02-05 17:38, Sai Prakash Ranjan wrote: > > On 2021-02-04 03:16, Will Deacon wrote: > > > On Tue, Feb 02, 2021 at 11:56:27AM +0530, Sai Prakash Ranjan wrote: > > > > On 2021-02-01 23:50, Jordan Crouse wrote: > > > > > On M

Re: [PATCH 7/8] hugetlb: make free_huge_page irq safe

2021-03-25 Thread Mike Kravetz
On 3/25/21 4:21 AM, Michal Hocko wrote: > On Wed 24-03-21 17:28:34, Mike Kravetz wrote: >> Commit c77c0a8ac4c5 ("mm/hugetlb: defer freeing of huge pages if in >> non-task context") was added to address the issue of free_huge_page >> being called from irq context. That commit hands off free_huge_pa

Re: [PATCH v2] kbuild: enforce -Werror=unused-result

2021-03-25 Thread Masahiro Yamada
On Fri, Mar 26, 2021 at 2:07 AM Olaf Hering wrote: > > Am Fri, 26 Mar 2021 01:55:41 +0900 > schrieb Masahiro Yamada : > > > What about drivers/net/ethernet/lantiq_etop.c ? > > Nothing complained about it. I guess there is a build-bot for alpha, but none > for mips. > > > I got a lot of complain

[PATCH v2 1/5] net: pch_gbe: Propagate error from devm_gpio_request_one()

2021-03-25 Thread Andy Shevchenko
If GPIO controller is not available yet we need to defer the probe of GBE until provider will become available. While here, drop GPIOF_EXPORT because it's deprecated and may not be available. Fixes: f1a26fdf5944 ("pch_gbe: Add MinnowBoard support") Signed-off-by: Andy Shevchenko --- drivers/net

[PATCH net-next v2 0/5] net: pch: fix and a few cleanups

2021-03-25 Thread Andy Shevchenko
The series provides one fix (patch 1) for GPIO to be able to wait for the GPIO driver to appear. This is separated from the conversion to the GPIO descriptors (patch 2) in order to have a possibility for backporting. Patches 3 and 4 fix a minor warnings from Sparse while moving to a new APIs. Patch

[PATCH v2 2/5] net: pch_gbe: Convert to use GPIO descriptors

2021-03-25 Thread Andy Shevchenko
This switches the PCH GBE driver to use GPIO descriptors. Signed-off-by: Andy Shevchenko --- .../ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 45 +-- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c b/drivers/net

[PATCH v2 3/5] net: pch_gbe: use readx_poll_timeout_atomic() variant

2021-03-25 Thread Andy Shevchenko
Use readx_poll_timeout_atomic() instead of open coded variants. While at it, add __iomem attribute to the parameter of pch_gbe_wait_clr_bit(). Signed-off-by: Andy Shevchenko --- .../ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 27 ++- 1 file changed, 8 insertions(+), 19 deletions

[PATCH v2 5/5] net: pch_gbe: remove unneeded MODULE_VERSION() call

2021-03-25 Thread Andy Shevchenko
Remove MODULE_VERSION(), as it doesn't seem to serve any practical purpose. For in-tree drivers, the kernel version matters. The code received lots of changes, but module version remained constant, since the driver landed in mainline. So, this version doesn't seem have any practical meaning anymore

[PATCH v2 4/5] net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()

2021-03-25 Thread Andy Shevchenko
Sparse is not happy about handling of strict types in pch_ptp_match(): .../pch_gbe_main.c:158:33: warning: incorrect type in argument 2 (different base types) .../pch_gbe_main.c:158:33:expected unsigned short [usertype] uid_hi .../pch_gbe_main.c:158:33:got restricted __be16 [usertyp

[PATCH][next] cifsd: remove redundant assignment to variable err

2021-03-25 Thread Colin King
From: Colin Ian King The variable err is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- fs/cifsd/vfs.c | 2 +- 1 file c

<    5   6   7   8   9   10   11   12   13   14   >