Re: linux-next: manual merge of the counters tree with the ipmi tree

2020-10-14 Thread Stephen Rothwell
Hi all, On Mon, 12 Oct 2020 19:13:40 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the counters tree got a conflict in: > > drivers/char/ipmi/ipmi_msghandler.c > > between commit: > > f8910ffa81b0 ("ipmi:msghandler: retry to get device id on an error") > > from the ipmi

Re: [PATCH v6 2/2] PCI/ERR: Split the fatal and non-fatal error recovery handling

2020-10-14 Thread Kuppuswamy, Sathyanarayanan
On 10/14/20 10:05 PM, Ethan Zhao wrote: On Thu, Oct 15, 2020 at 11:04 AM Kuppuswamy, Sathyanarayanan wrote: On 10/14/20 6:58 PM, Ethan Zhao wrote: On Thu, Oct 15, 2020 at 1:06 AM Kuppuswamy, Sathyanarayanan wrote: On 10/14/20 8:07 AM, Ethan Zhao wrote: On Wed, Oct 14, 2020 at 5:00

Re: linux-next: manual merge of the akpm-current tree with the counters tree

2020-10-14 Thread Stephen Rothwell
Hi all, On Mon, 12 Oct 2020 19:48:21 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the akpm-current tree got a conflict in: > > lib/Makefile > > between commit: > > 37a0dbf631f6 ("counters: Introduce counter_atomic* counters") > > from the counters tree and commit: > >

Dear Friend, My present internet connection is very slow in case you

2020-10-14 Thread Mrs m compola
Dear Friend, My present internet connection is very slow in case you received my email in your spam How are you today?.With due respect to your person and much sincerity of purpose,Well it is a pleasure to contact you on this regard and i pray that this will turn out to be everlasting

Re: [PATCH v3 3/8] of/address: Introduce of_dma_get_max_cpu_address()

2020-10-14 Thread Christoph Hellwig
> +phys_addr_t __init of_dma_get_max_cpu_address(struct device_node *np) > +{ > + phys_addr_t max_cpu_addr = PHYS_ADDR_MAX; > + struct of_range_parser parser; > + phys_addr_t subtree_max_addr; > + struct device_node *child; > + phys_addr_t cpu_end = 0; > + struct of_range

Re: [PATCH v3 8/8] mm: Update DMA zones description

2020-10-14 Thread Christoph Hellwig
On Wed, Oct 14, 2020 at 09:12:10PM +0200, Nicolas Saenz Julienne wrote: > The default behavior for arm64 changed, so reflect that. > > Signed-off-by: Nicolas Saenz Julienne > Acked-by: Catalin Marinas > --- > include/linux/mmzone.h | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >

Re: [PATCH v3 6/8] arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges

2020-10-14 Thread Christoph Hellwig
On Wed, Oct 14, 2020 at 09:12:08PM +0200, Nicolas Saenz Julienne wrote: > + zone_dma_bits = min(zone_dma_bits, > + (unsigned > int)ilog2(of_dma_get_max_cpu_address(NULL))); Plase avoid pointlessly long lines. Especially if it is completely trivial by using either

Re: Use after free in bcm2835_spi_remove()

2020-10-14 Thread Lukas Wunner
[cc += Sascha] On Wed, Oct 14, 2020 at 09:25:05PM +0100, Mark Brown wrote: > > On Wed, Oct 14, 2020 at 04:09:12PM +0200, Lukas Wunner wrote: > > > Apparently the problem is that spi_unregister_controller() drops the > > > last ref on the controller, causing it to be freed, and afterwards we > > >

Re: linux-next: manual merge of the akpm-current tree with the kunit-next tree

2020-10-14 Thread Stephen Rothwell
Hi all, On Mon, 12 Oct 2020 19:56:49 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the akpm-current tree got a conflict in: > > lib/kunit/test.c > > between commit: > > 45dcbb6f5ef7 ("kunit: test: add test plan to KUnit TAP format") > > from the kunit-next tree and

Re: [PATCH v3 5/8] dma-direct: Turn zone_dma_bits default value into a define

2020-10-14 Thread Christoph Hellwig
On Wed, Oct 14, 2020 at 09:12:07PM +0200, Nicolas Saenz Julienne wrote: > Set zone_dma_bits default value through a define so as for architectures > to be able to override it with their default value. Architectures can do that already by assigning a value to zone_dma_bits at runtime. I really do

PLEASE TAKE NOTE!

2020-10-14 Thread Mariacarmen Gutierrez
Hello friend! I would like to contact you personally for an important proposal that could of interest to you. I send this email only to know if this email address is functional. I have something very important to discuss with you. Contact me for details by: Email: fernrodyup1...@aol.com with

[PATCH v4] remoteproc/mediatek: Add support for mt8192 SCP

2020-10-14 Thread Pi-Hsun Shih
Add support for mt8192 SCP. Signed-off-by: Pi-Hsun Shih Reviewed-by: Tzung-Bi Shih --- Change since v3: * Remove unnecessary barrier and readl in mt8192_scp_before_load, which also fixes build failure on linux-next because of COMPILE_TEST trying to compile this on other platforms. Change

[PATCH 2/2] ASoC: fsl_spdif: Add support for i.MX8QM platform

2020-10-14 Thread Shengjiu Wang
On i.MX8QM, there are separate interrupts for TX and RX. As the EDMA can't be configured to swing back to first FIFO after writing the second FIFO, so we need to force the burst size to be 2 on i.MX8QM. And EDMA don't support to shift the data from S24_LE to S16_LE, so the supported TX format is

[PATCH 1/2] ASoC: dt-bindings: fsl_spdif: Add new compatible string for i.MX8QM

2020-10-14 Thread Shengjiu Wang
Add new compatible string "fsl,imx8qm-spdif" for supporting spdif module on i.MX8QM. Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml

Re: [PATCH v6 35/80] docs: fs: fscrypt.rst: get rid of :c:type: tags

2020-10-14 Thread Mauro Carvalho Chehab
Em Wed, 14 Oct 2020 14:59:54 -0700 Eric Biggers escreveu: > On Wed, Oct 14, 2020 at 08:59:07AM +0200, Mauro Carvalho Chehab wrote: > > [PATCH v6.1 35/80] docs: fs: fscrypt.rst: get rid of :c:type: tags > > > > The :c:type: tag has problems with Sphinx 3.x, as structs > > there should be

linux-next: build warnings after merge of the kunit-next tree

2020-10-14 Thread Stephen Rothwell
Hi all, After merging the kunit-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: lib/bitfield_kunit.c: In function 'test_bitfields_compile': lib/bitfield_kunit.c:136:21: warning: unsigned conversion from 'int' to 'u16' {aka 'short unsigned int'} changes value

Re: [PATCH-next 0/4] RDMA: sprintf to sysfs_emit conversions

2020-10-14 Thread Joe Perches
On Thu, 2020-10-08 at 08:41 +0300, Leon Romanovsky wrote: > On Wed, Oct 07, 2020 at 07:36:23PM -0700, Joe Perches wrote: > > A recent commit added a sysfs_emit and sysfs_emit_at to allow various > > sysfs show functions to ensure that the PAGE_SIZE buffer argument is > > never overrun and always

Re: [PATCH 1/2] kunit: Support for Parameterized Testing

2020-10-14 Thread Arpitha Raghunandan
On 12/10/20 4:30 pm, Marco Elver wrote: > On Sat, 10 Oct 2020 at 16:54, Arpitha Raghunandan <98.a...@gmail.com> wrote: >> Implementation of support for parameterized testing in KUnit. >> >> Signed-off-by: Arpitha Raghunandan <98.a...@gmail.com> >> --- >> include/kunit/test.h | 29

[PATCH] mips: ralink: mt7621: add zboot debug console

2020-10-14 Thread Chuanhong Guo
uartlite0 at 0x1e000c00 is a 16550 compatible uart controller. It's usually used for debug console and is already configured by u-boot. Add ZBOOT_UART16550 and related definitions in uart-16550.c for zboot debug output. Signed-off-by: Chuanhong Guo --- arch/mips/boot/compressed/uart-16550.c | 6

Re: [PATCH v2 02/24] tools: docs: memory-model: fix references for some files

2020-10-14 Thread Mauro Carvalho Chehab
Hi Paul, Em Wed, 14 Oct 2020 11:57:20 -0700 "Paul E. McKenney" escreveu: > On Tue, Oct 13, 2020 at 06:58:40PM -0700, Paul E. McKenney wrote: > > On Tue, Oct 13, 2020 at 12:38:36PM -0400, Alan Stern wrote: > > > On Tue, Oct 13, 2020 at 09:33:54AM -0700, Paul E. McKenney wrote: > > > > On

Re: [Linux-kernel-mentees] [PATCH] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-10-14 Thread Greg KH
On Thu, Oct 15, 2020 at 05:47:12AM +0530, Anmol Karn wrote: > In rose_send_frame(), when comparing two ax.25 addresses, it assigns > rose_call to > either global ROSE callsign or default port, but when the former block > triggers and > rose_call is assigned by (ax25_address

Re: [PATCH] nvme-pci: Disable Write Zeroes on Sandisk Skyhawk

2020-10-14 Thread Kai-Heng Feng
> On Oct 14, 2020, at 08:20, Chaitanya Kulkarni > wrote: > > On 10/13/20 01:45, Kai-Heng Feng wrote: >> Like commit 5611ec2b9814 ("nvme-pci: prevent SK hynix PC400 from using >> Write Zeroes command"), Sandisk Skyhawk has the same issue: >> [ 6305.633887] blk_update_request: operation not

Re: [PATCH v6 2/2] PCI/ERR: Split the fatal and non-fatal error recovery handling

2020-10-14 Thread Ethan Zhao
On Thu, Oct 15, 2020 at 11:04 AM Kuppuswamy, Sathyanarayanan wrote: > > > > On 10/14/20 6:58 PM, Ethan Zhao wrote: > > On Thu, Oct 15, 2020 at 1:06 AM Kuppuswamy, Sathyanarayanan > > wrote: > >> > >> > >> > >> On 10/14/20 8:07 AM, Ethan Zhao wrote: > >>> On Wed, Oct 14, 2020 at 5:00 PM

Re: fw_devlink on will break all snps,dw-apb-gpio users

2020-10-14 Thread Saravana Kannan
On Wed, Oct 14, 2020 at 9:02 PM Jisheng Zhang wrote: > > On Wed, 14 Oct 2020 10:29:36 -0700 > Saravana Kannan wrote: > > > CAUTION: Email originated externally, do not click links or open > > attachments unless you recognize the sender and know the content is safe. > > > > > > On Wed, Oct 14,

Re: [PATCH v7 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a

2020-10-14 Thread Sumit Semwal
Hi Sam, On Thu, 15 Oct 2020 at 00:14, Sam Ravnborg wrote: > > Hi Sumit. > On Wed, Sep 02, 2020 at 12:14:06PM +0530, Sumit Semwal wrote: > > Novatek nt36672a is a display driver IC that can drive DSI panel. It > > is also present in the Tianma video mode panel, which is a FHD+ panel > > with a

[PATCH v2] usb: cdns3: Add static to cdns3_gadget_exit function

2020-10-14 Thread Pawel Laszczak
Function cdns3_gadget_exit is used only in gadget.c file. This patch removes declaration and definition of this function from gadget-export.h file and makes it static. Signed-off-by: Pawel Laszczak Acked-by: Roger Quadros --- Changelog: v2 - added "Ackded-by" tag.

Fw: RE: [PATCH 2/3] exfat: remove useless check in exfat_move_file()

2020-10-14 Thread kohada.tetsuh...@dc.mitsubishielectric.co.jp
Thank you for continuing the discussion. The reply was delayed to summarize the arguing points. > I already gave my comment on previous thread, and I prefer de array handling > I sent instead of only two entries. We haven't discussed enough yet and I have some questions. I still don't understand

[PATCH v4] usb: cdns3: Rids of duplicate error message

2020-10-14 Thread Pawel Laszczak
On failure, the platform_get_irq_byname prints an error message, so patch removes error message related to this function from core.c file. A change was suggested during reviewing CDNSP driver by Chunfeng Yun. Signed-off-by: Pawel Laszczak Acked-by: Peter Chen --- Changelog: v4 - fixed typo. -

[PATCH v3] usb: cdns3: Variable 'length' set but not used

2020-10-14 Thread Pawel Laszczak
Patch removes not used variable 'length' from cdns3_wa2_descmiss_copy_data function. Fixes: 141e70fef4ee ("usb: cdns3: gadget: need to handle sg case for workaround 2 case") Signed-off-by: Pawel Laszczak Acked-by: Roger Quadros --- Changelog: v3 - added "Acked-by" tag. v2 - added "Fixes" tag.

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

2020-10-14 Thread Stephen Rothwell
Hi all, After merging the rpmsg tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/remoteproc/mtk_scp.c: In function 'mt8192_scp_before_load': drivers/remoteproc/mtk_scp.c:326:2: error: implicit declaration of function 'dsb' [-Werror=implicit-function-declaration]

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-14 Thread Fāng-ruì Sòng
On Wed, Oct 14, 2020 at 4:04 PM Kees Cook wrote: > > On Sun, Oct 04, 2020 at 07:57:20PM -0700, Kees Cook wrote: > > Under some circumstances, the compiler generates .ctors.* sections. This > > is seen doing a cross compile of x86_64 from a powerpc64el host: > > > > x86_64-linux-gnu-ld: warning:

[PATCH v2 1/1] dt-bindings: misc: add support for both property names cmd-gpios and cmd-gpio

2020-10-14 Thread Zhen Lei
The definition "gpio_suffixes[] = { "gpios", "gpio" }" shows that both property names "cmd-gpios" and "cmd-gpio" are supported. But currently only "cmd-gpios" is allowed in this yaml, and the name used in mmp2-olpc-xo-1-75.dts is cmd-gpio. As a result, the following errors is reported. slave:

Re: [PATCH RFC V3 9/9] x86/pks: Add PKS test code

2020-10-14 Thread Ira Weiny
On Tue, Oct 13, 2020 at 12:02:07PM -0700, Dave Hansen wrote: > On 10/9/20 12:42 PM, ira.we...@intel.com wrote: > > #ifdef CONFIG_X86_32 > > /* > > * We can fault-in kernel-space virtual memory on-demand. The > > diff --git a/include/linux/pkeys.h b/include/linux/pkeys.h > > index

[PATCH v2 0/1] fix all errors except one reported by dt_binding_check

2020-10-14 Thread Zhen Lei
v1 --> v2: 1. I'm sorry. I'm not familiar with the GPIO driver, which leads to a low-level mistake. Now, I rewrite the patch 6/6 in v1. For more detail, please refer: https://lore.kernel.org/linux-arm-kernel/49b680f8-d7d7-8ea3-894c-73cbfacc5...@huawei.com/T/#u v1: When people add

Re: [PATCH] net: sockmap: Don't call bpf_prog_put() on NULL pointer

2020-10-14 Thread John Fastabend
Jakub Sitnicki wrote: > On Mon, Oct 12, 2020 at 07:09 PM CEST, Alex Dewar wrote: > > If bpf_prog_inc_not_zero() fails for skb_parser, then bpf_prog_put() is > > called unconditionally on skb_verdict, even though it may be NULL. Fix > > and tidy up error path. > > > > Addresses-Coverity-ID:

Re: [PATCH v2 1/7] staging: qlge: replace ql_* with qlge_* to avoid namespace clashes with other qlogic drivers

2020-10-14 Thread Coiby Xu
On Thu, Oct 15, 2020 at 12:26:28PM +0800, Coiby Xu wrote: On Thu, Oct 15, 2020 at 10:01:36AM +0900, Benjamin Poirier wrote: On 2020-10-14 18:43 +0800, Coiby Xu wrote: To avoid namespace clashes with other qlogic drivers and also for the sake of naming consistency, use the "qlge_" prefix as

Re: [PATCH v6 69/80] IB/srpt: docs: add a description for cq_size member

2020-10-14 Thread Bart Van Assche
On 10/13/20 4:54 AM, Mauro Carvalho Chehab wrote: > Changeset c804af2c1d31 ("IB/srpt: use new shared CQ mechanism") > added a new member for struct srpt_rdma_ch, but didn't add the > corresponding kernel-doc markup, as repoted when doing > "make htmldocs": >

Re: [PATCH] opp: Don't always remove static OPPs in _of_add_opp_table_v1()

2020-10-14 Thread Viresh Kumar
On 15-10-20, 02:35, Aisheng Dong wrote: > Hi Viresh > > Thanks for the quick fix. > > > From: Viresh Kumar > > Sent: Wednesday, October 14, 2020 12:26 PM > > > > The patch missed returning 0 early in case of success and hence the static > > OPPs > > got removed by mistake. Fix it. > > > >

Re: [PATCH v2 1/7] staging: qlge: replace ql_* with qlge_* to avoid namespace clashes with other qlogic drivers

2020-10-14 Thread Coiby Xu
On Thu, Oct 15, 2020 at 10:01:36AM +0900, Benjamin Poirier wrote: On 2020-10-14 18:43 +0800, Coiby Xu wrote: To avoid namespace clashes with other qlogic drivers and also for the sake of naming consistency, use the "qlge_" prefix as suggested in drivers/staging/qlge/TODO. Suggested-by:

Re: [PATCH v2 2/7] staging: qlge: Initialize devlink health dump framework

2020-10-14 Thread Coiby Xu
On Wed, Oct 14, 2020 at 04:08:46PM +0300, Dan Carpenter wrote: On Wed, Oct 14, 2020 at 06:43:01PM +0800, Coiby Xu wrote: static int qlge_probe(struct pci_dev *pdev, const struct pci_device_id *pci_entry) { struct net_device *ndev = NULL; struct

Re: [PATCH v7 3/3] iommu/tegra-smmu: Add PCI support

2020-10-14 Thread Nicolin Chen
On Wed, Oct 14, 2020 at 06:42:36PM +0100, Robin Murphy wrote: > On 2020-10-09 17:19, Nicolin Chen wrote: > > This patch simply adds support for PCI devices. > > > > Reviewed-by: Dmitry Osipenko > > Tested-by: Dmitry Osipenko > > Signed-off-by: Nicolin Chen > > --- > > > > Changelog > > v6->v7

Re: [PATCH RFC V3 7/9] x86/entry: Preserve PKRS MSR across exceptions

2020-10-14 Thread Ira Weiny
On Wed, Oct 14, 2020 at 09:06:44PM -0700, Dave Hansen wrote: > On 10/14/20 8:46 PM, Ira Weiny wrote: > > On Tue, Oct 13, 2020 at 11:52:32AM -0700, Dave Hansen wrote: > >> On 10/9/20 12:42 PM, ira.we...@intel.com wrote: > >>> @@ -341,6 +341,9 @@ noinstr void irqentry_enter(struct pt_regs *regs, >

Re: [PATCH RFC V3 8/9] x86/fault: Report the PKRS state on fault

2020-10-14 Thread Ira Weiny
On Tue, Oct 13, 2020 at 11:56:53AM -0700, Dave Hansen wrote: > > @@ -548,6 +549,11 @@ show_fault_oops(struct pt_regs *regs, unsigned long > > error_code, unsigned long ad > > (error_code & X86_PF_PK)? "protection keys violation" : > >

Re: [PATCH RFC V3 7/9] x86/entry: Preserve PKRS MSR across exceptions

2020-10-14 Thread Dave Hansen
On 10/14/20 8:46 PM, Ira Weiny wrote: > On Tue, Oct 13, 2020 at 11:52:32AM -0700, Dave Hansen wrote: >> On 10/9/20 12:42 PM, ira.we...@intel.com wrote: >>> @@ -341,6 +341,9 @@ noinstr void irqentry_enter(struct pt_regs *regs, >>> irqentry_state_t *state) >>> /* Use the combo lockdep/tracing

Re: [f2fs-dev] [PATCH 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl

2020-10-14 Thread Eric Biggers
On Wed, Oct 14, 2020 at 11:27:30AM +0900, Daeho Jeong wrote: > > f2fs_readonly() is redundant with mnt_want_write_file(). > > > > Also, shouldn't this require a writable file descriptor? As-is, this ioctl > > can > > be called on a file owned by another user, as long as the caller has read > >

Re: fw_devlink on will break all snps,dw-apb-gpio users

2020-10-14 Thread Jisheng Zhang
On Wed, 14 Oct 2020 10:29:36 -0700 Saravana Kannan wrote: > CAUTION: Email originated externally, do not click links or open attachments > unless you recognize the sender and know the content is safe. > > > On Wed, Oct 14, 2020 at 4:12 AM Jisheng Zhang > wrote: > > > > Hi, > > > > If set

Re: [PATCH v1 02/29] virtio-mem: simplify calculation in virtio_mem_mb_state_prepare_next_mb()

2020-10-14 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:52:56PM +0200, David Hildenbrand wrote: >We actually need one byte less (next_mb_id is exclusive, first_mb_id is >inclusive). Simplify. > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc: Pankaj Gupta >Signed-off-by: David Hildenbrand >--- > drivers/virtio/virtio_mem.c

[PATCH 8/8] dt-bindings: gpio: dw-apb: remove never-used "snps,dw-apb-gpio-port"

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml | 5 - 1 file changed, 5 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml

[PATCH 1/8] ARM: dts: berlin: Remove compatible string from dw apb gpio port

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2.dtsi | 6 -- arch/arm/boot/dts/berlin2cd.dtsi | 6 -- arch/arm/boot/dts/berlin2q.dtsi | 6 -- 3 files changed, 18 deletions(-) diff --git a/arch/arm/boot/dts/berlin2.dtsi

[PATCH 5/8] arm64: dts: hip05: Remove compatible string from dw apb gpio port

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/hisilicon/hip05.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi b/arch/arm64/boot/dts/hisilicon/hip05.dtsi index bc49955360db..390225f8979c 100644 ---

[PATCH 6/8] arm: dts: socfpga: Remove compatible string from dw apb gpio port

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index

[PATCH 0/8] remove never-used "snps,dw-apb-gpio-port"

2020-10-14 Thread Jisheng Zhang
The "snps,dw-apb-gpio-port" is never used. Jisheng Zhang (8): ARM: dts: berlin: Remove compatible string from dw apb gpio port ARM: dts: socfpga: Remove compatible string from dw apb gpio port arm64: dts: apm: remove compatible string from dw apb gpio port arm64: dts: bitmain: Remove

[PATCH 7/8] arm64: dts: synaptics: Remove compatible string from dw apb gpio port

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/synaptics/as370.dtsi | 2 -- arch/arm64/boot/dts/synaptics/berlin4ct.dtsi | 6 -- 2 files changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/synaptics/as370.dtsi

[PATCH 2/8] ARM: dts: socfpga: Remove compatible string from dw apb gpio port

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/socfpga.dtsi| 3 --- arch/arm/boot/dts/socfpga_arria10.dtsi| 3 --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 2 -- 3 files changed, 8 deletions(-) diff --git

[PATCH 3/8] arm64: dts: apm: remove compatible string from dw apb gpio port

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 1 - arch/arm64/boot/dts/apm/apm-storm.dtsi | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi

[PATCH 4/8] arm64: dts: bitmain: Remove compatible string from dw apb gpio port

2020-10-14 Thread Jisheng Zhang
The compatible string is never used. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/bitmain/bm1880.dtsi b/arch/arm64/boot/dts/bitmain/bm1880.dtsi index fa6e6905f588..f80373358bba 100644 ---

Re: [PATCH v1 01/29] virtio-mem: determine nid only once using memory_add_physaddr_to_nid()

2020-10-14 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:52:55PM +0200, David Hildenbrand wrote: >Let's determine the target nid only once in case we have none specified - >usually, we'll end up with node 0 either way. > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc: Pankaj Gupta >Signed-off-by: David Hildenbrand

[PATCH] RCU: fix a typo in comments of rcu_blocking_is_gp

2020-10-14 Thread Zhouyi Zhou
There is a tiny typo in comment of function rcu_blocking_is_gp. Signed-off-by: Zhouyi Zhou --- kernel/rcu/tree.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index f78ee75..4cca03f 100644 --- a/kernel/rcu/tree.c +++

Re: [PATCH RFC V3 7/9] x86/entry: Preserve PKRS MSR across exceptions

2020-10-14 Thread Ira Weiny
On Tue, Oct 13, 2020 at 11:52:32AM -0700, Dave Hansen wrote: > On 10/9/20 12:42 PM, ira.we...@intel.com wrote: > > @@ -341,6 +341,9 @@ noinstr void irqentry_enter(struct pt_regs *regs, > > irqentry_state_t *state) > > /* Use the combo lockdep/tracing function */ > > trace_hardirqs_off();

Re: [PATCH 1/2] dccp: ccid: move timers to struct dccp_sock

2020-10-14 Thread Jakub Kicinski
On Tue, 13 Oct 2020 19:18:48 +0200 Kleber Sacilotto de Souza wrote: > From: Thadeu Lima de Souza Cascardo > > When dccps_hc_tx_ccid is freed, ccid timers may still trigger. The reason > del_timer_sync can't be used is because this relies on keeping a reference > to struct sock. But as we keep a

Re: [PATCH 2/2] Revert "dccp: don't free ccid2_hc_tx_sock struct in dccp_disconnect()"

2020-10-14 Thread Jakub Kicinski
On Tue, 13 Oct 2020 19:18:49 +0200 Kleber Sacilotto de Souza wrote: > From: Thadeu Lima de Souza Cascardo > > This reverts commit 2677d20677314101293e6da0094ede7b5526d2b1. > > This fixes an issue that after disconnect, dccps_hc_tx_ccid will still be > kept, allowing the socket to be reused as a

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-14 Thread Paul E. McKenney
On Wed, Oct 14, 2020 at 04:55:53PM -0700, Paul E. McKenney wrote: > On Thu, Oct 15, 2020 at 12:39:54AM +0200, Peter Zijlstra wrote: > > On Wed, Oct 14, 2020 at 03:11:52PM -0700, Paul E. McKenney wrote: > > > On Wed, Oct 14, 2020 at 11:53:19PM +0200, Peter Zijlstra wrote: > > > > On Wed, Oct 14,

Re: [PATCH 5/8] x86/clear_page: add clear_page_uncached()

2020-10-14 Thread Ankur Arora
On 2020-10-14 2:12 p.m., Borislav Petkov wrote: On Wed, Oct 14, 2020 at 02:07:30PM -0700, Andy Lutomirski wrote: I assume it’s for a little optimization of clearing more than one page per SFENCE. In any event, based on the benchmark data upthread, we only want to do NT clears when they’re

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-14 Thread Coiby Xu
On Tue, Oct 13, 2020 at 09:37:04AM +0900, Benjamin Poirier wrote: On 2020-10-12 19:24 +0800, Coiby Xu wrote: [...] > I think, but didn't check in depth, that in those drivers, the devlink > device is tied to the pci device and can exist independently of the > netdev, at least in principle. >

[PATCH v3 3/3] mm/slub: Actually fix freelist pointer vs redzoning

2020-10-14 Thread Kees Cook
It turns out that SLUB redzoning ("slub_debug=Z") checks from s->object_size rather than from s->inuse (which is normally bumped to make room for the freelist pointer), so a cache created with an object size less than 24 would have the freelist pointer written beyond s->object_size, causing the

[PATCH v3 0/3] Actually fix freelist pointer vs redzoning

2020-10-14 Thread Kees Cook
v3: - fix commit messages to properly reflect the direction of the overwrite - justify the less-than-word-size patch better - add Acks - move some Fixes up into the commit log as just references v2: https://lore.kernel.org/lkml/20201009195411.4018141-1-keesc...@chromium.org v1:

[PATCH v3 1/3] mm/slub: Clarify verification reporting

2020-10-14 Thread Kees Cook
Instead of repeating "Redzone" and "Poison", clarify which sides of those zones got tripped. Additionally fix column alignment in the trailer. Before: BUG test (Tainted: GB): Redzone overwritten ... Redzone (ptrval): bb bb bb bb bb bb bb bb Object

[PATCH v3 2/3] mm/slub: Fix redzoning for small allocations

2020-10-14 Thread Kees Cook
The redzone area for SLUB exists between s->object_size and s->inuse (which is at least the word-aligned object_size). If a cache were created with an object_size smaller than sizeof(void *), the in-object stored freelist pointer would overwrite the redzone (e.g. with boot param "slub_debug=ZF"):

Re: [PATCH net-next] net: ptp: get rid of IPV4_HLEN() and OFF_IHL macros

2020-10-14 Thread Richard Cochran
On Wed, Oct 14, 2020 at 01:58:05PM +0200, Christian Eggers wrote: > Both macros are already marked for removal. I'm not sure what Daniel Borkmann meant by that comment, but ... > switch (type & PTP_CLASS_PMASK) { > case PTP_CLASS_IPV4: > - ptr += IPV4_HLEN(ptr) +

Re: linux-next: manual merge of the tip tree with the dma-mapping tree

2020-10-14 Thread Stephen Rothwell
Hi all, On Tue, 6 Oct 2020 17:11:35 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in: > > arch/x86/kernel/setup.c > > between commit: > > f47e22d65d08 ("dma-mapping: split ") > > from the dma-mapping tree and commit: > > a945c8345ec0

[RESEND PATCH] crypto: sa2ul - Reduce stack usage

2020-10-14 Thread Herbert Xu
Resending to linux-crypto. ---8<--- This patch reduces the stack usage in sa2ul: 1. Move the exported sha state into sa_prepare_iopads so that it can occupy the same space as the k_pad buffer. 2. Use one buffer for ipad/opad in sa_prepare_iopads. 3. Remove ipad/opad buffer from

Re: [PATCH v2 17/17] ASoC: sun8i-codec: Add the AIF3 DAI, widgets, and routes

2020-10-14 Thread Samuel Holland
On 10/14/20 1:19 AM, Samuel Holland wrote: > AIF3 has some differences from AIF1 and AIF2: > - It supports one channel only > - It supports master mode only > - It is not directly connected to any of the mixers; instead all audio >goes through a mux with AIF2. > - It does not have its own

[PATCH v8] Add MediaTek MT6779 devapc driver

2020-10-14 Thread Neal Liu
add subject On Thu, 2020-10-15 at 11:20 +0800, Neal Liu wrote: > These patch series introduce a MediaTek MT6779 devapc driver. > > MediaTek bus fabric provides TrustZone security support and data protection > to prevent slaves from being accessed by unexpected masters. > The security violation

[PATCH] mgmt: Add supports of variable length parameter in mgmt_config

2020-10-14 Thread Howard Chung
This adds support of variable length parameter in mgmt_config. Signed-off-by: Howard Chung Reviewed-by: Alain Michaud --- net/bluetooth/mgmt_config.c | 134 +--- 1 file changed, 80 insertions(+), 54 deletions(-) diff --git a/net/bluetooth/mgmt_config.c

Re: [PATCH 6/6] dt-bindings: misc: correct the property name cmd-gpios to cmd-gpio

2020-10-14 Thread Leizhen (ThunderTown)
On 2020/10/14 21:50, Rob Herring wrote: > On Wed, Oct 14, 2020 at 09:29:26AM +0800, Leizhen (ThunderTown) wrote: >> >> >> On 2020/10/14 1:32, Dan Murphy wrote: >>> Zhen >>> >>> On 10/13/20 11:08 AM, Zhen Lei wrote: The property name used in arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts is

Re: [PATCH 5/8] x86/clear_page: add clear_page_uncached()

2020-10-14 Thread Ankur Arora
On 2020-10-14 2:07 p.m., Andy Lutomirski wrote: On Oct 14, 2020, at 12:58 PM, Borislav Petkov wrote: On Wed, Oct 14, 2020 at 08:45:37AM -0700, Andy Lutomirski wrote: On Wed, Oct 14, 2020 at 1:33 AM Ankur Arora wrote: Define clear_page_uncached() as an alternative_call() to

[PATCH v8 1/2] dt-bindings: devapc: add bindings for mtk-devapc

2020-10-14 Thread Neal Liu
Add bindings for mtk-devapc. Signed-off-by: Neal Liu --- .../devicetree/bindings/soc/mediatek/devapc.yaml | 58 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/devapc.yaml diff --git

linux-next: manual merge of the devicetree tree with Linus' tree

2020-10-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/x86/index.rst between commit: ea4e3bef4c94 ("Documentation/x86: Add documentation for /proc/cpuinfo feature flags") from Linus' tree and commit: 441848282c59 ("dt: Remove booting-without-of.rst")

[no subject]

2020-10-14 Thread Neal Liu
These patch series introduce a MediaTek MT6779 devapc driver. MediaTek bus fabric provides TrustZone security support and data protection to prevent slaves from being accessed by unexpected masters. The security violation is logged and sent to the processor for further analysis or

[PATCH v8 2/2] soc: mediatek: add mt6779 devapc driver

2020-10-14 Thread Neal Liu
MediaTek bus fabric provides TrustZone security support and data protection to prevent slaves from being accessed by unexpected masters. The security violation is logged and sent to the processor for further analysis or countermeasures. Any occurrence of security violation would raise an

Re: [PATCH 0/2] vfs: move the clone/dedupe/remap helpers to a single file

2020-10-14 Thread Al Viro
On Wed, Oct 14, 2020 at 05:31:14PM -0700, Darrick J. Wong wrote: > AFAICT, nobody is attempting to land any major changes in any of the vfs > remap functions during the 5.10 window -- for-next showed conflicts only > in the Makefile, so it seems like a quiet enough time to do this. There > are

RE: [PATCH] firmware: imx: always export scu symbols

2020-10-14 Thread Joakim Zhang
Hi Ying, > -Original Message- > From: Ying Liu > Sent: 2020年10月15日 9:33 > To: Joakim Zhang ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx > ; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org; Peng Fan >

Re: [PATCH] slub: Actually fix freelist pointer vs redzoning

2020-10-14 Thread Kees Cook
On Wed, Oct 14, 2020 at 10:36:01PM -0400, Waiman Long wrote: > On 10/8/20 7:34 PM, Kees Cook wrote: > > It turns out that SLUB redzoning ("slub_debug=Z") checks from > > s->object_size rather than from s->inuse (which is normally bumped to > > make room for the freelist pointer), so a cache

Re: [PATCH v6 2/2] PCI/ERR: Split the fatal and non-fatal error recovery handling

2020-10-14 Thread Kuppuswamy, Sathyanarayanan
On 10/14/20 6:58 PM, Ethan Zhao wrote: On Thu, Oct 15, 2020 at 1:06 AM Kuppuswamy, Sathyanarayanan wrote: On 10/14/20 8:07 AM, Ethan Zhao wrote: On Wed, Oct 14, 2020 at 5:00 PM Kuppuswamy Sathyanarayanan wrote: Commit bdb5ac85777d ("PCI/ERR: Handle fatal error recovery") merged fatal

[PATCH] optee: remove address tag in check_mem_type()

2020-10-14 Thread Volodymyr Babchuk
Before passing 'start' to find_vma() we need to remove tags from it to get sane results. Signed-off-by: Volodymyr Babchuk --- drivers/tee/optee/call.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tee/optee/call.c b/drivers/tee/optee/call.c index a5afbe6dee68..61420395137b

Re: [git pull] drm next pull for 5.10-rc1

2020-10-14 Thread Dave Airlie
On Thu, 15 Oct 2020 at 11:33, Dave Airlie wrote: > > Hi Linus, > > This is the main drm pull request for 5.10. > > Not a major amount of change, the i915 trees got split into display > and gt trees to better facilitate higher level review, and there's a > major refactoring of i915 GEM locking to

Re: [PATCH 0/2] vfs: move the clone/dedupe/remap helpers to a single file

2020-10-14 Thread Linus Torvalds
On Wed, Oct 14, 2020 at 5:31 PM Darrick J. Wong wrote: > > So, I have a few questions, particularly for Al, Andrew, and Linus: > > (1) Do you find this reorganizing acceptable? I don't see a problem. > (3) Can I just grab the copyrights from mm/filemap.c? Or fs/read_write.c? > Or something

[PATCH] iommu/amd: Increase interrupt remapping table limit to 512 entries

2020-10-14 Thread Suravee Suthikulpanit
Certain device drivers allocate IO queues on a per-cpu basis. On AMD EPYC platform, which can support up-to 256 cpu threads, this can exceed the current MAX_IRQ_PER_TABLE limit of 256, and result in the error message: AMD-Vi: Failed to allocate IRTE This has been observed with certain NVME

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

2020-10-14 Thread Stephen Rothwell
Hi all, On Tue, 13 Oct 2020 18:31:07 +1100 Stephen Rothwell wrote: > > On Mon, 21 Sep 2020 14:09:01 +1000 Stephen Rothwell > wrote: > > > > After merging the iommu tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > drivers/gpu/drm/msm/msm_iommu.c: In

[PATCH] drm/amd: remove unnecessary conversion from bool value to bool

2020-10-14 Thread Bernard Zhao
In functions vegam_is_dpm_running & vegam_populate_avfs_parameters, maybe there is no need to conver bool condition to bool variable or bool return value. This change is to make the code a bit more readable. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c | 7

Re: [PATCH] slub: Actually fix freelist pointer vs redzoning

2020-10-14 Thread Waiman Long
On 10/8/20 7:34 PM, Kees Cook wrote: It turns out that SLUB redzoning ("slub_debug=Z") checks from s->object_size rather than from s->inuse (which is normally bumped to make room for the freelist pointer), so a cache created with an object size less than 24 would have their freelist pointer

Re: [PATCH 2/2] nvmem: core: add OF_RECONFIG handler for nvmem cells

2020-10-14 Thread kernel test robot
-randconfig-a006-20201014 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project e7b4feea8e1bf520b34ad8c116abab6677344b74) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

RE: [PATCH] opp: Don't always remove static OPPs in _of_add_opp_table_v1()

2020-10-14 Thread Aisheng Dong
Hi Viresh Thanks for the quick fix. > From: Viresh Kumar > Sent: Wednesday, October 14, 2020 12:26 PM > > The patch missed returning 0 early in case of success and hence the static > OPPs > got removed by mistake. Fix it. > > Fixes: 90d46d71cce2 ("opp: Handle multiple calls for same OPP

Re: [PATCH 1/1] net: ftgmac100: Fix Aspeed ast2600 TX hang issue

2020-10-14 Thread Joel Stanley
On Thu, 15 Oct 2020 at 01:49, Dylan Hung wrote: > > > I was encountering this issue when I was running the iperf TX test. The > > symptom is the TX descriptors are consumed, but no complete packet is sent > > out. > > > > What parameters are you using for iperf? I did a lot of testing with > >

RE: [PATCH 12/13] remoteproc: Refactor rproc delete and cdev release path

2020-10-14 Thread Peng Fan
> Subject: [PATCH 12/13] remoteproc: Refactor rproc delete and cdev release > path > > Refactor function rproc_del() and rproc_cdev_release() to take into account > scenarios where the remote processor has been attached to. If the remote > processor has been started by the remoteproc core then

RE: [PATCH 11/13] remoteproc: Properly deal with detach request

2020-10-14 Thread Peng Fan
> Subject: [PATCH 11/13] remoteproc: Properly deal with detach request > > This patch introduces the capability to detach a remote processor that has > been attached to or booted by the remoteproc core. For that to happen a > rproc::ops::detach() operation need to be available. > >

RE: [PATCH 10/13] remoteproc: Properly deal with a stop request when attached

2020-10-14 Thread Peng Fan
> Subject: [PATCH 10/13] remoteproc: Properly deal with a stop request when > attached > > This patch introduces the capability to stop a remote processor that has been > attached to by the remoteproc core. For that to happen a rproc::ops::stop() > operation need to be available. > >

RE: [PATCH 13/13] remoteproc: Properly deal with a kernel panic when attached

2020-10-14 Thread Peng Fan
> Subject: [PATCH 13/13] remoteproc: Properly deal with a kernel panic when > attached > > The panic handler operation of registered remote processors should also be > called when remote processors have been attached to. > > Signed-off-by: Mathieu Poirier > --- >

Re: [PATCH v5 00/13] bus/fsl-mc: Extend mc-bus driver functionalities in preparation for mc-bus VFIO support

2020-10-14 Thread Alex Williamson
On Fri, 2 Oct 2020 16:05:49 +0200 Greg KH wrote: > On Fri, Oct 02, 2020 at 04:56:52PM +0300, Laurentiu Tudor wrote: > > Hi Greg, > > > > On 10/2/2020 4:55 PM, Greg KH wrote: > > > On Tue, Sep 29, 2020 at 02:06:41PM +0300, Laurentiu Tudor wrote: > > >> > > >> > > >> On 9/29/2020 11:54 AM,

[PATCH v2] Add support for mv88e6393x family of Marvell.

2020-10-14 Thread Pavana Sharma
The Marvell 88E6393X device is a single-chip integration of a 11-port Ethernet switch with eight integrated Gigabit Ethernet (GbE) transceivers and three 10-Gigabit interfaces. This patch adds functionalities specific to mv88e6393x family (88E6393X, 88E6193X and 88E6191X) Signed-off-by: Pavana

  1   2   3   4   5   6   7   8   9   10   >