Re: [PATCH v3 1/2] dma-direct: provide the ability to reserve per-numa CMA

2020-07-22 Thread Christoph Hellwig
On Sun, Jun 28, 2020 at 11:12:50PM +1200, Barry Song wrote: > struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) > { > size_t count = size >> PAGE_SHIFT; > struct page *page = NULL; > struct cma *cma = NULL; > + int nid = dev ? dev_to_node(dev) : N

Re: [PATCH v2 1/2] iio: gyro: Add driver support for ADXRS290

2020-07-22 Thread Nishant Malpani
On 22/07/20 3:53 pm, Andy Shevchenko wrote: On Wed, Jul 22, 2020 at 12:40 PM Nishant Malpani wrote: On 22/07/20 3:08 am, Andy Shevchenko wrote: On Tue, Jul 21, 2020 at 11:35 PM Nishant Malpani wrote: On 22/07/20 1:16 am, Andy Shevchenko wrote: ... Can't you declare table as const int?

Re: [PATCH] mtd: spi-nor: intel-spi: Simulate WRDI command

2020-07-22 Thread Tudor.Ambarus
+ Mika Hi, Mika, Would you please review the patch from below? Thanks! On 7/22/20 5:01 PM, Alexander Sverdlin wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > From: Alexander Sverdlin > > After spi_nor_write_disable() return code chec

Re: kernel BUG at mm/vmalloc.c:LINE! (2)

2020-07-22 Thread Qian Cai
On Mon, Jul 20, 2020 at 10:06:18PM +0200, Uladzislau Rezki wrote: > On Mon, Jul 20, 2020 at 09:48:21AM -0700, syzbot wrote: > > syzbot has found a reproducer for the following issue on: > > > > HEAD commit:ab8be66e Add linux-next specific files for 20200720 > > git tree: linux-next > > c

Re: [RFC PATCH 0/1] Add LTR controls

2020-07-22 Thread Hans Verkuil
On 20/07/2020 16:33, diksh...@codeaurora.org wrote: > On 2020-07-16 14:25, Hans Verkuil wrote: >> On 16/06/2020 20:41, diksh...@codeaurora.org wrote: >>> Hi Hans, Nicolas, >>> >>> Thanks for your comments. >>> >>> On 2020-06-12 14:41, Hans Verkuil wrote: Hi Dikshita, Nicolas, On 11/0

Re: [PATCH v3 2/2] soc: mediatek: add mtk-devapc driver

2020-07-22 Thread Chun-Kuang Hu
Hi, Neal: Neal Liu 於 2020年7月22日 週三 上午11:49寫道: > > Hi Chun-Kuang, > > On Wed, 2020-07-22 at 07:21 +0800, Chun-Kuang Hu wrote: > > Hi, Neal: > > > > Neal Liu 於 2020年7月21日 週二 下午12:00寫道: > > > > > > > > + > > > +/* > > > + * mtk_devapc_dump_vio_dbg - get the violation index and dump the full > > >

Re: [PATCH] gpio: omap: improve coding style for pin config flags

2020-07-22 Thread Gustavo A. R. Silva
On Wed, Jul 22, 2020 at 02:07:56PM +0200, Drew Fustini wrote: > Change the handling of pin config flags from if/else to switch > statement to make the code more readable and cleaner. > > Suggested-by: Gustavo A. R. Silva > Signed-off-by: Drew Fustini Acked-by: Gustavo A. R. Silva Thanks, Drew

Re: linux-next: interesting merge in the zonefs tree

2020-07-22 Thread Damien Le Moal
On 2020/07/22 22:58, Stephen Rothwell wrote: > Hi all, > > It looks an old version of the block tree has been merged into the > zonefs tree. Is that deliberate? Other trees should not be merged unless > they are guaranteed not to be rebased (which is what has happened here). > I must have done

[PATCH v3] iommu/mediatek: check 4GB mode by reading infracfg

2020-07-22 Thread Miles Chen
In previous discussion [1] and [2], we found that it is risky to use max_pfn or totalram_pages to tell if 4GB mode is enabled. Check 4GB mode by reading infracfg register, remove the usage of the un-exported symbol max_pfn. This is a step towards building mtk_iommu as a kernel module. --- Chang

Re: [PATCH] usb: gadget: net2280: fix memory leak on probe error handling paths

2020-07-22 Thread Alan Stern
On Tue, Jul 21, 2020 at 11:15:58PM +0300, Evgeny Novikov wrote: > Driver does not release memory for device on error handling paths in > net2280_probe() when gadget_release() is not registered yet. > > The patch fixes the bug like in other similar drivers. > > Found by Linux Driver Verification p

Re: [PATCH v3 1/2] dma-direct: provide the ability to reserve per-numa CMA

2020-07-22 Thread Christoph Hellwig
On Sun, Jun 28, 2020 at 11:12:50PM +1200, Barry Song wrote: > This is useful for at least two scenarios: > 1. ARM64 smmu will get memory from local numa node, it can save its > command queues and page tables locally. Tests show it can decrease > dma_unmap latency at lot. For example, without this p

Re: [PATCH RFC v2 2/3] io_uring: add IOURING_REGISTER_RESTRICTIONS opcode

2020-07-22 Thread Stefano Garzarella
On Wed, Jul 22, 2020 at 12:35:15PM +1000, Daurnimator wrote: > On Wed, 22 Jul 2020 at 03:11, Jens Axboe wrote: > > > > On 7/21/20 4:40 AM, Stefano Garzarella wrote: > > > On Thu, Jul 16, 2020 at 03:26:51PM -0600, Jens Axboe wrote: > > >> On 7/16/20 6:48 AM, Stefano Garzarella wrote: > > >>> diff -

Re: [PATCH] MAINTAINERS: altera: change maintainer for Altera drivers

2020-07-22 Thread Thor Thayer
On 7/22/20 9:08 AM, Greg KH wrote: On Wed, Jul 22, 2020 at 09:09:40AM -0500, richard.g...@linux.intel.com wrote: From: Richard Gong Thor is moving to a new position and I will take over the maintainership. Add myself as maintainer for 3 Altera drivers below: 1. Altera I2C driver 2. Altera Syst

Re: [PATCH -next] iommu: Make some functions static

2020-07-22 Thread Joerg Roedel
On Mon, Jul 13, 2020 at 10:25:42PM +0800, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/iommu/iommu.c:386:5: warning: > symbol 'iommu_insert_resv_region' was not declared. Should it be static? > drivers/iommu/iommu.c:2182:5: warning: > symbol '__iommu_map' was not declar

[GIT PULL] XArray for 5.8

2020-07-22 Thread Matthew Wilcox
The following changes since commit 4fa640dc52302b5e62b01b05c755b055549633ae: Merge tag 'vfio-v5.8-rc7' of git://github.com/awilliam/linux-vfio into master (2020-07-20 13:30:59 -0700) are available in the Git repository at: git://git.infradead.org/users/willy/xarray.git tags/xarray-5.8 for

Re: [PATCH] MAINTAINERS: altera: change maintainer for Altera drivers

2020-07-22 Thread Greg KH
On Wed, Jul 22, 2020 at 09:09:40AM -0500, richard.g...@linux.intel.com wrote: > From: Richard Gong > > Thor is moving to a new position and I will take over the maintainership. > Add myself as maintainer for 3 Altera drivers below: > 1. Altera I2C driver > 2. Altera System Manager driver > 3. Alt

Re: [PATCH 06/24] md: open code vfs_stat in md_setup_drive

2020-07-22 Thread Christoph Hellwig
On Wed, Jul 22, 2020 at 08:44:32AM +0100, Al Viro wrote: > On Tue, Jul 21, 2020 at 08:27:01PM +0200, Christoph Hellwig wrote: > > On Tue, Jul 21, 2020 at 05:55:39PM +0100, Al Viro wrote: > > > How about fs/for_init.c and putting the damn helpers there? With > > > calling conventions as close to sy

Re: [PATCH] drm/vkms: add missing drm_crtc_vblank_put to the get/put pair on flush

2020-07-22 Thread Melissa Wen
On 07/22, dan...@ffwll.ch wrote: > On Wed, Jul 22, 2020 at 08:04:11AM -0300, Melissa Wen wrote: > > This patch adds a missing drm_crtc_vblank_put op to the pair > > drm_crtc_vblank_get/put (inc/decrement counter to guarantee vblanks). > > > > It clears the execution of the following kms_cursor_crc

Re: [PATCH v6 1/2] leds: pwm: add support for default-state device property

2020-07-22 Thread Pavel Machek
> This patch adds support for "default-state" devicetree property, which > allows to defer pwm init to first use of led. > > This allows to configure the PWM early in bootloader to let the LED > blink until an application in Linux userspace sets something different. > > Signed-off-by: Denis Oste

Re: [PATCH v2 2/2] media: atomisp: Fix coding style issue - correct multiline comments

2020-07-22 Thread Mauro Carvalho Chehab
Em Wed, 22 Jul 2020 17:00:52 +0530 Rahul Gottipati escreveu: > This fixes some coding style issues of multiline comments to > correct a few checkpatch.pl warnings. > > Signed-off-by: Rahul Gottipati > --- > Changes in v2: > Distributed changes across 2 patches instead of the previous 1. >

Re: [PATCH v4 2/2] i2c: busses: convert to devm_platform_request_irq()

2020-07-22 Thread Dejin Zheng
On Fri, Jul 17, 2020 at 09:11:52PM +0200, Heiko Stübner wrote: > Am Freitag, 17. Juli 2020, 18:11:58 CEST schrieb Dejin Zheng: > > Use devm_platform_request_irq() to simplify code, and it contains > > platform_get_irq() and devm_request_irq(). > > > > Cc: Michal Simek > > Cc: Wolfram Sang > > Si

Re: [RFC PATCH v2 6/6] ASoC: q6asm-dai: add support to set_codec_params

2020-07-22 Thread Daniel Baluta
On Tue, Jul 21, 2020 at 8:03 PM Srinivas Kandagatla wrote: > > Make use of new set_codec_params callback to allow decoder switching > during gapless playback. > > Signed-off-by: Srinivas Kandagatla > --- > sound/soc/qcom/qdsp6/q6asm-dai.c | 33 > 1 file changed,

Re: [PATCH v6 01/12] iommu: Change type of pasid to u32

2020-07-22 Thread Joerg Roedel
On Mon, Jul 13, 2020 at 04:47:56PM -0700, Fenghua Yu wrote: > PASID is defined as a few different types in iommu including "int", > "u32", and "unsigned int". To be consistent and to match with uapi > definitions, define PASID and its variations (e.g. max PASID) as "u32". > "u32" is also shorter an

Re: [PATCH v2 1/2] media: atomisp: Fix coding style issue - remove beginning whitespaces

2020-07-22 Thread Mauro Carvalho Chehab
Em Wed, 22 Jul 2020 16:58:31 +0530 Rahul Gottipati escreveu: > This removes whitespaces at the beginning of a few lines to fix > some checkpatch.pl warnings. > > Signed-off-by: Rahul Gottipati > --- > Changes in v2: > Distributed changes across 2 patches instead of the previous 1 > > dr

[PATCH] mtd: spi-nor: intel-spi: Simulate WRDI command

2020-07-22 Thread Alexander Sverdlin
From: Alexander Sverdlin After spi_nor_write_disable() return code checks were introduced in the spi-nor front end intel-spi backend stopped to work because WRDI was never supported and always failed. Just pretend it was sucessful and ignore the command itself. HW sequencer shall do the right th

linux-next: interesting merge in the zonefs tree

2020-07-22 Thread Stephen Rothwell
Hi all, It looks an old version of the block tree has been merged into the zonefs tree. Is that deliberate? Other trees should not be merged unless they are guaranteed not to be rebased (which is what has happened here). -- Cheers, Stephen Rothwell pgpgPO34Q9BFH.pgp Description: OpenPGP digi

[GIT PULL for v5.8-rc7] media fixes

2020-07-22 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v5.8-3 For a series of fixes for the upcoming stating atomisp driver. They solve issues when probing atomisp on devices with multiple cameras and get rid of warnings when built with W=1.

[PATCH] MAINTAINERS: altera: change maintainer for Altera drivers

2020-07-22 Thread richard . gong
From: Richard Gong Thor is moving to a new position and I will take over the maintainership. Add myself as maintainer for 3 Altera drivers below: 1. Altera I2C driver 2. Altera System Manager driver 3. Altera System Resource driver Signed-off-by: Richard Gong --- MAINTAINERS | 6 +++--- 1 file

Re: [PATCH] dynamic debug: allow printing to trace event

2020-07-22 Thread John Ogness
On 2020-07-21, Steven Rostedt wrote: >> diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c >> index 321437bbf87d..9f6d8867af7c 100644 >> --- a/lib/dynamic_debug.c >> +++ b/lib/dynamic_debug.c [..] >> +static void dynamic_printk(unsigned int flags, const char *fmt, ...) >> +{ >> +if (flags

Re: [PATCH AUTOSEL 4.4 7/9] ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later

2020-07-22 Thread Sasha Levin
On Wed, Jul 15, 2020 at 01:52:05PM +0300, Kai Vehmanen wrote: Hi Sasha, On Tue, 14 Jul 2020, Sasha Levin wrote: From: Kai Vehmanen [ Upstream commit 56275036d8185f92eceac7479d48b858ee3dab84 ] When HDMI PCM devices are opened in a specific order, with at least one HDMI/DP receiver connected,

[PATCH v2] KEYS: remove redundant memset

2020-07-22 Thread trix
From: Tom Rix Reviewing use of memset in keyctrl_pkey.c keyctl_pkey_params_get prologue code to set params up memset(params, 0, sizeof(*params)); params->encoding = "raw"; keyctl_pkey_query has the same prologue and calls keyctl_pkey_params_get. So remove the prologue. Fixes:

Re: [PATCH] dt-bindings: spi: update bindings for MT8192 SoC

2020-07-22 Thread Mark Brown
On Tue, 21 Jul 2020 10:48:19 +0800, Leilk Liu wrote: > Add a DT binding documentation for the MT8192 soc. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: update bindings for MT8192 SoC commit: 30962fe33ab5ed4bbd78c12f4b9e25a85c3e8d

Re: [PATCH] spi: spi-cadence: add support for chip select high

2020-07-22 Thread Mark Brown
On Sat, 11 Jul 2020 07:16:55 +1000, Shreyas Joshi wrote: > The spi cadence driver should support spi-cs-high in mode bits > so that the peripherals that needs the chip select to be high active can > use it. Add the SPI-CS-HIGH flag in the supported mode bits. Applied to https://git.kernel.org/

Re: [PATCH v2 1/2] dt-bindings: spi: update bindings for MT8192 SoC

2020-07-22 Thread Mark Brown
On Tue, 21 Jul 2020 20:24:35 +0800, Leilk Liu wrote: > Add a DT binding documentation for the MT8192 soc. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/2] spi: update bindings for MT8192 SoC commit: 30962fe33ab5ed4bbd78c12f4b9e25a85c3e8d

Re: [PATCH v2 1/8] spi: lantiq: fix: Rx overflow error in full duplex mode

2020-07-22 Thread Mark Brown
On Fri, 17 Jul 2020 14:27:50 +0800, Dilip Kota wrote: > In full duplex mode, rx overflow error is observed. To overcome the error, > wait until the complete data got received and proceed further. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/8

Re: [PATCH 0/5] Some bug fix for lpspi

2020-07-22 Thread Mark Brown
On Tue, 14 Jul 2020 15:52:46 +0800, Clark Wang wrote: > This series mainly fixes some recently discovered problems about CS for > LPSPI module. > > And two patches to improve the reliability of the driver. > > Regards, > Clark > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel

Re: [PATCH v1] spi: spi-topcliff-pch: use generic power management

2020-07-22 Thread Mark Brown
On Mon, 20 Jul 2020 21:27:15 +0530, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above mentioned,

Re: [PATCH 0/7] SOF IMX fixes

2020-07-22 Thread Mark Brown
On Mon, 20 Jul 2020 10:20:39 +0300, Daniel Baluta wrote: > This patchseries contains a couple of SOF IMX fixes > found during our first IMX SOF release. > > Daniel Baluta (7): > ASoC: SOF: define INFO_ flags in dsp_ops for imx8 > ASoC: SOF: imx: Use ARRAY_SIZE instead of hardcoded value > AS

[PATCH v3 4/6] usb: gadget: udc: atmel: use 1 bank endpoints for control transfers

2020-07-22 Thread cristian.birsan
From: Cristian Birsan Use 1 bank endpoints for control transfers Signed-off-by: Cristian Birsan --- drivers/usb/gadget/udc/atmel_usba_udc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index f767708598a4.

[PATCH v3 2/6] dt-bindings: usb: atmel: Update DT bindings documentation for sam9x60

2020-07-22 Thread cristian.birsan
From: Cristian Birsan Add sam9x60 binding. Signed-off-by: Cristian Birsan Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/atmel-usb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/

[PATCH v3 6/6] ARM: dts: at91: sam9x60ek: enable usb device

2020-07-22 Thread cristian.birsan
From: Cristian Birsan Enable usb device for sam9x60ek board. Signed-off-by: Cristian Birsan --- arch/arm/boot/dts/at91-sam9x60ek.dts | 13 + arch/arm/boot/dts/sam9x60.dtsi | 14 ++ 2 files changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dt

[PATCH v3 5/6] usb: gadget: udc: atmel: update endpoint allocation for sam9x60

2020-07-22 Thread cristian.birsan
From: Cristian Birsan The DPRAM memory from the USB High Speed Device Port (UDPHS) hardware block was increased. This patch updates the endpoint allocation for sam9x60 to take advantage of this larger memory. At the same time the constraint to allocate the endpoints in order was lifted. To handle

[PATCH v3 0/6] usb: gadget: udc: atmel: add usb device support for SAM9x60 SoC

2020-07-22 Thread cristian.birsan
From: Cristian Birsan This patch set adds usb device support for SAM9x60 SoC. The DPRAM memory for the USB High Speed Device Port (UDPHS) hardware block was increased and the allocation method is changed. This patch series simplifies the endpoint allocation scheme to acomodate this SoC and the ol

[PATCH v3 1/6] usb: gadget: udc: atmel: use of_find_matching_node_and_match

2020-07-22 Thread cristian.birsan
From: Claudiu Beznea Instead of trying to match every possible compatible use of_find_matching_node_and_match() and pass the compatible array. Signed-off-by: Claudiu Beznea --- drivers/usb/gadget/udc/atmel_usba_udc.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions

Re: [PATCH -next] fork: silence a false postive warning in __mmdrop

2020-07-22 Thread Peter Zijlstra
On Wed, Jul 22, 2020 at 09:19:00AM -0400, Qian Cai wrote: > On Wed, Jul 22, 2020 at 12:06:37PM +0200, pet...@infradead.org wrote: > > On Thu, Jun 04, 2020 at 11:03:44AM -0400, Qian Cai wrote: > > > The linux-next commit bf2c59fce407 ("sched/core: Fix illegal RCU from > > > offline CPUs") delayed, >

Re: [PATCH for v5.9] ASoC: Replace HTTP links with HTTPS ones

2020-07-22 Thread Mark Brown
On Sun, 19 Jul 2020 17:38:22 +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't con

[PATCH v3 3/6] usb: gadget: udc: atmel: simplify endpoint allocation

2020-07-22 Thread cristian.birsan
From: Cristian Birsan Simplify the endpoint allocation and cleanup the code. Signed-off-by: Cristian Birsan --- drivers/usb/gadget/udc/atmel_usba_udc.c | 21 - drivers/usb/gadget/udc/atmel_usba_udc.h | 1 - 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/dr

[PATCH] media: dvb-frontends/cxd2099: report errors

2020-07-22 Thread trix
From: Tom Rix Clang static analysis reports this error drivers/media/dvb-frontends/cxd2099.c:420:2: warning: Undefined or garbage value returned to caller return val; ^~ In read_cam_control, the call to read_io can fail. When it fails val is not set. The failure statu

Re: [PATCH] iio: adc: ad7124: move chip ID & name on the chip_info table

2020-07-22 Thread Jonathan Cameron
On Wed, 22 Jul 2020 10:07:19 +0300 Alexandru Ardelean wrote: > On Tue, Jul 21, 2020 at 9:41 PM Andy Shevchenko > wrote: > > > > On Mon, Jul 20, 2020 at 2:30 PM Jonathan Cameron wrote: > > > > > > On Tue, 14 Jul 2020 08:11:11 +0300 > > > Alexandru Ardelean wrote: > > > > > > > This change d

答复: 答复: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

2020-07-22 Thread liwei (CM)
-邮件原件- 发件人: Catalin Marinas [mailto:catalin.mari...@arm.com] 发送时间: 2020年7月22日 20:49 收件人: liwei (CM) 抄送: Mike Rapoport ; w...@kernel.org; Xiaqing (A) ; Chenfeng (puck) ; butao ; fengbaopeng ; nsaenzjulie...@suse.de; steve.cap...@arm.com; Song Bao Hua (Barry Song) ; linux-arm-ker...@li

Re: [GIT PULL] iommu/arm-smmu: Updates for 5.9

2020-07-22 Thread Joerg Roedel
Hi Will, On Tue, Jul 21, 2020 at 09:03:53AM +0100, Will Deacon wrote: > Please pull these Arm SMMU driver updates for 5.9. Summary is in the tag, > but the main thing is support for two new SoC integrations, one of which > is considerably more brain-dead than the other (determining which one is >

Re: [PATCH v6 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-22 Thread Martin K. Petersen
Christoph, > As this monster seesm to come back again and again let me re-iterate > my statement: > > I do not think Linux should support a broken standards extensions that > creates a huge share state between the Linux initator and the target > device like this with all its associated problems.

Re: [PATCH v3 6/7] riscv: Add KPROBES_ON_FTRACE supported

2020-07-22 Thread Guo Ren
Hi Masami, Current riscv ftrace_caller utilize fp(s0) - 8 in stack to get ra of function, eg: foo: 2bb0: 7119addisp,sp,-128 2bb2: f8a2sd s0,112(sp) 2bb4: fc86sd ra,120(sp) ... 2bc4: 010

Re: [PATCH] khugepaged: Fix null-pointer dereference due to race

2020-07-22 Thread David Hildenbrand
On 22.07.20 14:14, Kirill A. Shutemov wrote: > khugepaged has to drop mmap lock several times while collapsing a page. > The situation can change while the lock is dropped and we need to > re-validate that the VMA is still in place and the PMD is still subject > for collapse. > > But we miss one c

Re: [PATCH v2 3/3] clk: zynqmp: Use firmware specific mux clock flags

2020-07-22 Thread Michael Tretter
On Tue, 21 Jul 2020 23:55:32 -0700, Amit Sunil Dhamne wrote: > From: Rajan Vaja > > Use ZynqMP specific mux clock flags instead of using CCF flags. > > Signed-off-by: Rajan Vaja > Signed-off-by: Tejas Patel > Signed-off-by: Amit Sunil Dhamne > --- > drivers/clk/zynqmp/clk-mux-zynqmp.c | 14 +

Re: [PATCH v2 2/3] clk: zynqmp: Use firmware specific divider clock flags

2020-07-22 Thread Michael Tretter
On Tue, 21 Jul 2020 23:55:31 -0700, Amit Sunil Dhamne wrote: > From: Rajan Vaja > > Use ZynqMP specific divider clock flags instead of using CCF flags. > > Signed-off-by: Rajan Vaja > Signed-off-by: Tejas Patel > Signed-off-by: Amit Sunil Dhamne > --- > drivers/clk/zynqmp/clk-zynqmp.h | 9 +

general protection fault in udp_tunnel_notify_del_rx_port

2020-07-22 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:88825726 Merge tag 'drm-fixes-2020-07-17-1' of git://anong.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=143518bb10 kernel config: https://syzkaller.appspot.com/x/.config?x=a160d1053fc89af5 das

Re: [PATCH] drv: iommu: amd: Remove double zero check

2020-07-22 Thread Joerg Roedel
On Wed, Jul 22, 2020 at 02:44:50PM +0800, Libing Zhou wrote: > The free_pages() does zero check, therefore remove double zero > check here. > > Signed-off-by: Libing Zhou > --- > drivers/iommu/amd/init.c | 11 ++- > 1 file changed, 2 insertions(+), 9 deletions(-) Applied, thanks.

Re: [PATCH v2 1/3] clk: zynqmp: Use firmware specific common clock flags

2020-07-22 Thread Michael Tretter
On Tue, 21 Jul 2020 23:55:30 -0700, Amit Sunil Dhamne wrote: > From: Rajan Vaja > > Currently firmware passes CCF specific flags to ZynqMP clock driver. > So firmware needs to be updated if CCF flags are changed. The firmware > should have its own 'flag number space' that is distinct from the > c

linux-next: Tree for Jul 22

2020-07-22 Thread Stephen Rothwell
Hi all, Changes since 20200721: My fixes tree contains: dbf24e30ce2e ("device_cgroup: Fix RCU list debugging warning") The xtensa tree gained a conflict against the csky tree. The pci tree gained a build failure so I used the version from next-20200721. The bpf-next tree gained conflicts ag

Re: [PATCH -next] fork: silence a false postive warning in __mmdrop

2020-07-22 Thread Qian Cai
On Wed, Jul 22, 2020 at 12:06:37PM +0200, pet...@infradead.org wrote: > On Thu, Jun 04, 2020 at 11:03:44AM -0400, Qian Cai wrote: > > The linux-next commit bf2c59fce407 ("sched/core: Fix illegal RCU from > > offline CPUs") delayed, > > > > idle->active_mm = &init_mm; > > > > into finish_cpu() ins

Re: [PATCH v12 11/15] perf stat: implement control commands handling

2020-07-22 Thread Alexey Budankov
On 22.07.2020 15:56, Arnaldo Carvalho de Melo wrote: > Em Fri, Jul 17, 2020 at 10:05:06AM +0300, Alexey Budankov escreveu: >> >> Implement handling of 'enable' and 'disable' control commands coming >> from control file descriptor. If poll event splits initiated timeout >> interval then the remind

RE: [RFC] raw_copy_from_user() semantics

2020-07-22 Thread David Laight
From: Catalin Marinas > Sent: 22 July 2020 12:37 > > On Sun, Jul 19, 2020 at 12:34:11PM -0700, Linus Torvalds wrote: > > On Sun, Jul 19, 2020 at 12:28 PM Linus Torvalds > > wrote: > > > I think we should try to get rid of the exact semantics. > > > > Side note: I think one of the historical reaso

Re: linux-next: Fixes tag needs some work in the leds tree

2020-07-22 Thread Pavel Machek
On Wed 2020-07-22 08:33:37, Stephen Rothwell wrote: > Hi all, > > In commit > > 347b711870ab ("leds: multicolor: Fix camel case in documentation") > > Fixes tag > > Fixes: f5a6eb5c5e38 ("leds: multicolor: Introduce a multicolor class > definition") Thanks, I squashed the commits together

Re: [PATCH][next][V2] media: allegro: fix potential null dereference on header

2020-07-22 Thread Michael Tretter
On Wed, 22 Jul 2020 14:09:03 +0100, Colin King wrote: > From: Colin Ian King > > The pointer header is an alias to msg and msg is being null checked. > However, if msg is null then header is also null and this can lead to > a null pointer dereference on the assignment type = header->type. Fix > t

Re: [PATCH v5 3/4] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-07-22 Thread Laurent Pinchart
Hello, On Sun, Jul 19, 2020 at 07:18:06PM +0200, Sam Ravnborg wrote: > Hi Vinod. > > Three trivial points below. > The rest looks good. > > With these fixed you can add: > Reviewed-by: Sam Ravnborg > > Sam > > On Wed, Jul 08, 2020 at 04:05:58PM +0530, Vinod Koul wrote: > > Lontium Lt961

Re: [PATCH] iommu/qcom: Use domain rather than dev as tlb cookie

2020-07-22 Thread Joerg Roedel
On Tue, Jul 21, 2020 at 12:45:17AM +0530, Naresh Kamboju wrote: > On Mon, 20 Jul 2020 at 21:21, Rob Clark wrote: > > > > From: Rob Clark > > > > The device may be torn down, but the domain should still be valid. Lets > > use that as the tlb flush ops cookie. > > > > Fixes a problem reported in [

[PATCH] staging: vchiq: Fix refcounting bug in buffer_from_host()

2020-07-22 Thread Dan Carpenter
If we fail to queue the buffer then it can never be dequeued. This can lead to a forever loop in stop_streaming() when we wait for everything to finish. Fixes: 70ec64ccdaac ("staging: bcm2835-camera: Ensure all buffers are returned on disable") Signed-off-by: Dan Carpenter --- >From static anal

[PATCH][next][V2] media: allegro: fix potential null dereference on header

2020-07-22 Thread Colin King
From: Colin Ian King The pointer header is an alias to msg and msg is being null checked. However, if msg is null then header is also null and this can lead to a null pointer dereference on the assignment type = header->type. Fix this just using header->type after the null check and removing the

Re: [PATCH] OMAP: iommu: check for failure of a call to omap_iommu_dump_ctx

2020-07-22 Thread Joerg Roedel
On Tue, Jul 14, 2020 at 08:22:11PM +0100, Colin King wrote: > From: Colin Ian King > > It is possible for the call to omap_iommu_dump_ctx to return > a negative error number, so check for the failure and return > the error number rather than pass the negative value to > simple_read_from_buffer. >

Re: [net-next v4 PATCH 1/7] hsr: enhance netlink socket interface to support PRP

2020-07-22 Thread Murali Karicheri
Hi Randy On 7/20/20 2:37 PM, Randy Dunlap wrote: On 7/20/20 9:57 AM, Murali Karicheri wrote: diff --git a/net/hsr/Kconfig b/net/hsr/Kconfig index 8095b034e76e..e2e396870230 100644 --- a/net/hsr/Kconfig +++ b/net/hsr/Kconfig @@ -4,24 +4,35 @@ # config HSR - tristate "High-availabil

Re: BUG: sleeping function called from invalid context at kernel/locking/mutex.c db410c

2020-07-22 Thread Paul E. McKenney
On Wed, Jul 22, 2020 at 10:04:21AM +0200, Arnd Bergmann wrote: > On Wed, Jul 22, 2020 at 9:44 AM Naresh Kamboju > wrote: > > > > Kernel BUG noticed on arm64 db410c device while booting linux next 20200721 > > tag. > > Continually popping up these BUG messages on the boot console and kernel > > w

Re: [RFC 2/7] ath10k: Add support to process rx packet in thread

2020-07-22 Thread Felix Fietkau
On 2020-07-22 14:55, Johannes Berg wrote: > On Wed, 2020-07-22 at 14:27 +0200, Felix Fietkau wrote: > >> I'm considering testing a different approach (with mt76 initially): >> - Add a mac80211 rx function that puts processed skbs into a list >> instead of handing them to the network stack directly

Re: [PATCH][next] media: allegro: fix potential null dereference on header

2020-07-22 Thread Michael Tretter
On Mon, 20 Jul 2020 17:38:04 +0100, Colin King wrote: > From: Colin Ian King > > The pointer header is an alias to msg and msg is being null checked. > However, if msg is null then header is also null and this can lead to > a null pointer dereference on the assignment type = header->type. Fix > t

Re: [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961

2020-07-22 Thread Joerg Roedel
On Tue, Jul 14, 2020 at 11:20:53AM +0100, Lad Prabhakar wrote: > Lad Prabhakar (1): > iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[] > > Marian-Cristian Rotariu (1): > iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code Applied, thanks.

Re: [PATCH v12 11/15] perf stat: implement control commands handling

2020-07-22 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2020 at 10:05:06AM +0300, Alexey Budankov escreveu: > > Implement handling of 'enable' and 'disable' control commands coming > from control file descriptor. If poll event splits initiated timeout > interval then the reminder is calculated and still waited in the > following evlist_

Re: [RFC 1/7] mac80211: Add check for napi handle before WARN_ON

2020-07-22 Thread Johannes Berg
On Tue, 2020-07-21 at 22:44 +0530, Rakesh Pillai wrote: > The function ieee80211_rx_napi can be now called > from a thread context as well, with napi context > being NULL. > > Hence add the napi context check before giving out > a warning for softirq count being 0. > > Tested-on: WCN3990 hw1.0 SN

Re: [RFC 2/7] ath10k: Add support to process rx packet in thread

2020-07-22 Thread Johannes Berg
On Wed, 2020-07-22 at 14:27 +0200, Felix Fietkau wrote: > I'm considering testing a different approach (with mt76 initially): > - Add a mac80211 rx function that puts processed skbs into a list > instead of handing them to the network stack directly. Would this be *after* all the mac80211 process

Re: Linux 4.9.231

2020-07-22 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index e426d0c90188..1b1342a8785a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 230 +SUBLEVEL = 231 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/include/asm/elf.h b/arch/arc/include/asm/elf.h index aa2

Linux 5.4.53

2020-07-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.53 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.189

2020-07-22 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 44e8bab159ad..baee73134d03 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -47,6 +47,8 @@ Optional properties:

Re: [PATCH v3 2/2] net: dsa: ocelot: Add support for QinQ Operation

2020-07-22 Thread Vladimir Oltean
On Wed, Jul 22, 2020 at 06:32:00PM +0800, hongbo.w...@nxp.com wrote: > From: "hongbo.wang" > > This featue can be test using network test tools > TX-tool -> swp0 -> swp1 -> RX-tool > > TX-tool simulates Customer that will send and receive packets with single > VLAN tag(CTAG), RX

Linux 4.19.134

2020-07-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.134 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Linux 5.7.10

2020-07-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.7.10 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.7.y and can be browsed at the normal kernel.org git web browser:

Linux 4.14.189

2020-07-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.189 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Linux 4.4.231

2020-07-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.231 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.231

2020-07-22 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 847f2537d39d..46178c83906c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 230 +SUBLEVEL = 231 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arc/include/asm/elf.h b/arch/arc/include/asm/elf.h index 8

Linux 4.9.231

2020-07-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.231 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

[PATCH] remoteproc: virtio: support sharing vdev buffer

2020-07-22 Thread Peng Fan
Support sharing vdev buffer between multiple vdevs by using name "vdevbuffer". Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/remoteproc_virtio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/remoteproc/remoteproc_virtio.c b/drivers/remoteproc/remotepro

Re: [PATCH v2 10/13] cpufreq: powernow-k8: Mark 'hi' and 'lo' dummy variables as __always_unused

2020-07-22 Thread Pavel Machek
On Wed 2020-07-15 09:26:31, Lee Jones wrote: > if we fail to use a variable, even a dummy ones, then the compiler > complains that it is set but not used. We know this is fine, so we > set them as __always_unused here to let the compiler know. > > Fixes the following W=1 kernel build warning(s):

Re: [PATCH v2] selftest: txtimestamp: fix net ns entry logic

2020-07-22 Thread Willem de Bruijn
On Wed, Jul 22, 2020 at 4:37 AM Paolo Pisati wrote: > > On Tue, Jul 21, 2020 at 6:26 PM Willem de Bruijn > wrote: > > > > Fixes: cda261f421ba ("selftests: add txtimestamp kselftest") > > > > Acked-by: Willem de Bruijn > > Besides, is it just me or this test fails frequently? I've been > running

Re: [PATCH v13 1/2] ACPI / APEI: Add a notifier chain for unknown (vendor) CPER records

2020-07-22 Thread Andy Shevchenko
On Wed, Jul 22, 2020 at 12:34:23PM +, Shiju Jose wrote: > >-Original Message- > >From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > >Sent: 22 July 2020 12:02 > >To: Shiju Jose > >Cc: linux-a...@vger.kernel.org; linux-...@vger.kernel.org; linux- > >ker...@vger.kernel.org

Re: [PATCH 5.7 000/243] 5.7.10-rc2 review

2020-07-22 Thread Greg Kroah-Hartman
On Tue, Jul 21, 2020 at 02:59:22PM +0530, Naresh Kamboju wrote: > On Tue, 21 Jul 2020 at 00:46, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.7.10 release. > > There are 243 patches in this series, all will be posted as a response > > to this one. If a

Re: [PATCH] leds: Replace HTTP links with HTTPS ones

2020-07-22 Thread Pavel Machek
Hi! > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't contain `\bxmlns\b`: > For each link, `\bhttp://[^# \

Re: 答复: [PATCH] arm64: mm: free unused memmap for sparse memory model that define VMEMMAP

2020-07-22 Thread Catalin Marinas
On Wed, Jul 22, 2020 at 08:41:17AM +, liwei (CM) wrote: > Mike Rapoport wrote: > > On Tue, Jul 21, 2020 at 03:32:03PM +0800, Wei Li wrote: > > > For the memory hole, sparse memory model that define SPARSEMEM_VMEMMAP > > > do not free the reserved memory for the page map, this patch do it. > >

Re: [PATCH 4.19 000/133] 4.19.134-rc1 review

2020-07-22 Thread Greg Kroah-Hartman
On Tue, Jul 21, 2020 at 01:56:33PM +0200, Pavel Machek wrote: > Hi! > > > This is the start of the stable review cycle for the 4.19.134 release. > > There are 133 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please >

Re: [PATCH 2/2] iommu/dma: Avoid SAC address trick for PCIe devices

2020-07-22 Thread Joerg Roedel
On Tue, Jul 14, 2020 at 12:42:36PM +0100, Robin Murphy wrote: > Oh bother - yes, this could have been masking all manner of bugs. That > system will presumably also break if you managed to exhaust the 32-bit IOVA > space such that the allocator moved up to the higher range anyway, or if you > passe

Re: [PATCH 5.7 000/243] 5.7.10-rc2 review

2020-07-22 Thread Greg Kroah-Hartman
On Tue, Jul 21, 2020 at 09:38:29AM -0700, Guenter Roeck wrote: > On Mon, Jul 20, 2020 at 09:16:26PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.10 release. > > There are 243 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.7 233/244] RISC-V: Acquire mmap lock before invoking walk_page_range

2020-07-22 Thread Greg KH
On Tue, Jul 21, 2020 at 03:50:35PM -0700, Palmer Dabbelt wrote: > On Mon, 20 Jul 2020 12:14:03 PDT (-0700), Greg KH wrote: > > On Mon, Jul 20, 2020 at 06:50:10PM +, Atish Patra wrote: > > > On Mon, 2020-07-20 at 23:11 +0530, Naresh Kamboju wrote: > > > > RISC-V build breaks on stable-rc 5.7 bra

Re: [PATCH 5.7 000/243] 5.7.10-rc2 review

2020-07-22 Thread Greg Kroah-Hartman
On Tue, Jul 21, 2020 at 03:17:08PM +0200, Thierry Reding wrote: > On Mon, Jul 20, 2020 at 09:16:26PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.10 release. > > There are 243 patches in this series, all will be posted as a response > > to this one.

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