Re: [PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init

2020-12-07 Thread Thomas Zimmermann
Hi Am 07.12.20 um 10:29 schrieb tiantao (H): 在 2020/12/7 17:22, Thomas Zimmermann 写道: Hi Am 07.12.20 um 10:05 schrieb Tian Tao: Using drmm_mode_config_init() sets up managed release of modesetting resources. Individual patches usually contain a changelog to highlight the difference to p

Re: [PATCH 0/4] USB: ftdio_sio: GPIO validity fixes

2020-12-07 Thread Andy Shevchenko
On Fri, Dec 4, 2020 at 6:49 PM Marc Zyngier wrote: > > Having recently tried to use the CBUS GPIOs that come thanks to the > ftdio_sio driver, it occurred to me that the driver has a couple of > usability issues: > > - it advertises potential GPIOs that are reserved to other uses (LED > control,

[PATCH 2/2] arm64: dts: meson: vim3: enable hdmi audio loopback

2020-12-07 Thread Jerome Brunet
Enable audio capture frontends and a tdm decoder. This makes it possible to loopback the audio played on the hdmi codec, which is the only output interface at the moment. Of course, one TODDR device would be enough to do that but since the 3 FRDDRs are enabled on the playback side, let's do the sa

[PATCH] f2fs: fix to account inline xattr correctly during recovery

2020-12-07 Thread Chao Yu
During recovery, we may missed to update inline xattr count correctly, fix it. Signed-off-by: Chao Yu --- fs/f2fs/node.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index e65d73293a3f..3a24423ac65f 100644 --- a/fs/f2fs/node.c +++

Re: [PATCH v2 1/2] drivers: gpio: put virtual gpio device into their own submenu

2020-12-07 Thread Andy Shevchenko
On Thu, Dec 3, 2020 at 9:22 PM Enrico Weigelt, metux IT consult wrote: > > Since we already have a few virtual gpio devices, and more to come, gpio -> GPIO > this category deserves its own submenu. -- With Best Regards, Andy Shevchenko

[PATCH v4] phram: Allow the user to set the erase page size.

2020-12-07 Thread Guohua Zhong
From: Patrick O'Grady Permit the user to specify the erase page size as a parameter. This solves two problems: - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't create images with erase sizes less than 8KiB; many architectures define PAGE_SIZE as 4KiB. - Allows more effective use

[PATCH RESEND] f2fs: compress: deny setting unsupported compress algorithm

2020-12-07 Thread Chao Yu
If kernel doesn't support certain kinds of compress algorithm, deny to set them as compress algorithm of f2fs via 'compress_algorithm=%s' mount option. Signed-off-by: Chao Yu --- no changes, just rebase on dev branch. fs/f2fs/super.c | 16 1 file changed, 16 insertions(+) diff

Re: devkmsg: was [PATCH next v2 3/3] printk: remove logbuf_lock, add syslog_lock

2020-12-07 Thread Petr Mladek
On Sun 2020-12-06 21:57:46, John Ogness wrote: > On 2020-12-04, Petr Mladek wrote: > >> diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > >> index e9018c4e1b66..7385101210be 100644 > >> --- a/kernel/printk/printk.c > >> +++ b/kernel/printk/printk.c > >> @@ -785,7 +749,6 @@ static loff

Re: [PATCH v15 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-12-07 Thread Miquel Raynal
Hello, Johan Jonker wrote on Sun, 6 Dec 2020 15:10:57 +0100: > Hi Yifeng, > > Meanwhile, could you post a RFC version for Uboot based on this version > plus comments, so people can test the whole process from programming, > booting and kernel? > > On 11/30/20 1:49 PM, Johan Jonker wrote: > > H

RE: [RFC PATCH v2 2/2] scheduler: add scheduler level for clusters

2020-12-07 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Vincent Guittot [mailto:vincent.guit...@linaro.org] > Sent: Thursday, December 3, 2020 10:39 PM > To: Song Bao Hua (Barry Song) > Cc: Valentin Schneider ; Catalin Marinas > ; Will Deacon ; Rafael J. Wysocki > ; Cc: Len Brown ; > gre...@linuxfoundation.org; Jo

Re: [PATCH v1 1/5] Bluetooth: advmon offload MSFT add rssi support

2020-12-07 Thread Marcel Holtmann
Hi Archie, > MSFT needs rssi parameter for monitoring advertisement packet, > therefore we should supply them from mgmt. > > Signed-off-by: Archie Pusaka > Reviewed-by: Miao-chen Chou > Reviewed-by: Yun-Hao Chung I don’t need any Reviewed-by if they are not c

Re: [PATCH net-next v2 1/4] vm_sockets: Include flags field in the vsock address data structure

2020-12-07 Thread Stefano Garzarella
On Fri, Dec 04, 2020 at 07:02:32PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. With the multi transport support (guest->host and host->guest), nested VMs can also use vsock channels for communication. In addition to this, b

Re: tick/sched: Make jiffies update quick check more robust

2020-12-07 Thread Peter Zijlstra
On Fri, Dec 04, 2020 at 11:55:19AM +0100, Thomas Gleixner wrote: > /* > + * 64bit can do a quick check without holding jiffies lock and > + * without looking at the sequence count. The smp_load_acquire() >* pairs with the update done later in this function. >* > +

Should link->eh_context.i.serror’s value incorporate link->eh_info.serror before doning ata_eh_analyze_serror()?

2020-12-07 Thread wanqian (D)
Hi Tejun, In SATA EH processing, I found the SERROR register was cleared during interrupt handling in ahci_error_intr(), and its value has been saved to the link->eh_info.serror. But the SERROR register value was read again in the ata_eh_link_autopsy(), and its value was saved to link->eh

Re: [PATCH net-next v2 3/4] af_vsock: Set VMADDR_FLAG_TO_HOST flag on the receive path

2020-12-07 Thread Stefano Garzarella
On Fri, Dec 04, 2020 at 07:02:34PM +0200, Andra Paraschiv wrote: The vsock flags can be set during the connect() setup logic, when initializing the vsock address data structure variable. Then the vsock transport is assigned, also considering this flags field. The vsock transport is also assigned

Re: [PATCH net-next v2 4/4] af_vsock: Assign the vsock transport considering the vsock address flags

2020-12-07 Thread Stefano Garzarella
On Fri, Dec 04, 2020 at 07:02:35PM +0200, Andra Paraschiv wrote: The vsock flags field can be set in the connect and (listen) receive paths. When the vsock transport is assigned, the remote CID is used to distinguish between types of connection. Use the vsock flags value (in addition to the CID

Re: syslog: was: [PATCH next v2 3/3] printk: remove logbuf_lock, add syslog_lock

2020-12-07 Thread Petr Mladek
On Sun 2020-12-06 22:12:21, John Ogness wrote: > On 2020-12-04, Petr Mladek wrote: > > On Tue 2020-12-01 21:59:41, John Ogness wrote: > >> Since the ringbuffer is lockless, there is no need for it to be > >> protected by @logbuf_lock. Remove @logbuf_lock. > >> > >> --- a/kernel/printk/printk.c >

[PATCH] misc: isl29003: Fix typo for get/set mode

2020-12-07 Thread Zhou Xingxing
The operation of get/set mode was same with get/set resolution. It is a typo absolutely. This patch updates these bits operated by get/set mode. Signed-off-by: Zhou Xingxing --- drivers/misc/isl29003.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/isl29003.

Re: [PATCH net-next v2 2/4] vm_sockets: Add VMADDR_FLAG_TO_HOST vsock flag

2020-12-07 Thread Stefano Garzarella
On Fri, Dec 04, 2020 at 07:02:33PM +0200, Andra Paraschiv wrote: Add VMADDR_FLAG_TO_HOST vsock flag that is used to setup a vsock connection where all the packets are forwarded to the host. Then, using this type of vsock channel, vsock communication between sibling VMs can be built on top of it.

Re: [PATCH 4.14 00/20] 4.14.211-rc1 review

2020-12-07 Thread Naresh Kamboju
On Sun, 6 Dec 2020 at 17:08, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.211 release. > There are 20 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH next v2 2/3] printk: change @clear_seq to atomic64_t

2020-12-07 Thread John Ogness
On 2020-12-07, Peter Zijlstra wrote: >> Yes, and it is read-only access. Perhaps atomic64_t is the wrong thing >> to use here. We could use a seqcount_latch and a shadow variable so that >> if a writer has been preempted, we can use the previous value. (Only >> kmsg_dump would need to use the lock

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Mike Rapoport
On Mon, Dec 07, 2020 at 10:49:26AM +0100, Ard Biesheuvel wrote: > On Mon, 7 Dec 2020 at 10:42, Mike Rapoport wrote: > > > > On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: > > > On 2020-12-07 09:09, Ard Biesheuvel wrote: > > > > (+ Marc) > > > > > > > > On Fri, 4 Dec 2020 at 12:14, W

Re: [PATCH net-next v2 0/4] vsock: Add flags field in the vsock address

2020-12-07 Thread Stefano Garzarella
Hi Andra, On Fri, Dec 04, 2020 at 07:02:31PM +0200, Andra Paraschiv wrote: vsock enables communication between virtual machines and the host they are running on. Nested VMs can be setup to use vsock channels, as the multi transport support has been available in the mainline since the v5.5 Linux

Re: [linux-sunxi] Re: [PATCH 3/3] arm64: allwinner: dts: a64: add DT for PineTab developer sample

2020-12-07 Thread Maxime Ripard
On Sun, Dec 06, 2020 at 10:03:16PM +0100, Clément Péron wrote: > Hi Maxime > > On Tue, 1 Dec 2020 at 11:35, Maxime Ripard wrote: > > > > On Sat, Nov 28, 2020 at 10:07:27PM +0100, Clément Péron wrote: > > > Hi Maxime, Icenowy, > > > > > > On Sat, 28 Nov 2020 at 12:59, Icenowy Zheng wrote: > > > >

Re: 0001-add-amlogic-gpio-to-irq

2020-12-07 Thread Andy Shevchenko
On Fri, Dec 4, 2020 at 4:25 PM Jerome Brunet wrote: > On Fri 04 Dec 2020 at 10:13, Linus Walleij wrote: > This HW only has 8 irqs that can each be mapped to a pin. No direct > translation can be made, we have to allocate an irq to monitor the line. > So when gpio_to_irq() was called, we had to d

Re: [RFC PATCH 16/27] KVM: arm64: Prepare Hyp memory protection

2020-12-07 Thread Will Deacon
On Fri, Dec 04, 2020 at 06:01:52PM +, Quentin Perret wrote: > On Thursday 03 Dec 2020 at 12:57:33 (+), Fuad Tabba wrote: > > > > +int hyp_create_idmap(void); > > > +int hyp_map_vectors(void); > > > +int hyp_back_vmemmap(phys_addr_t phys, unsigned long size, phys_addr_t > > > back); > > >

Re: [PATCH v2 2/2] power: supply: mt6360_charger: add MT6360 charger support

2020-12-07 Thread Gene Chen
Resend again, Gene Chen 於 2020年11月19日 週四 上午10:24寫道: > > Dear Reviewers, > >Please let me know if there is anything need to be revised. > > Gene Chen 於 2020年11月3日 週二 下午6:41寫道: > > > > From: Gene Chen > > > > Add basic support for the battery charger for MT6360 PMIC > > > > Signed-off-by: Gen

Re: [PATCH] iommu/io-pgtalbe-arm: Remove "iopte_type(pte, l)" extra parameter "l"

2020-12-07 Thread Will Deacon
On Mon, Dec 07, 2020 at 04:14:04PM +0800, Kunkun Jiang wrote: > Knowing from the code, the macro "iopte_type(pte, l)" doesn't use the > parameter "l" (level). So we'd better to remove it. > > Fixes: e1d3c0fd701df(iommu: add ARM LPAE page table allocator) > Signed-off-by: Kunkun Jiang > --- > dri

Re: [PATCH] sched/fair: Don't migrate with src_cpu == dst_cpu

2020-12-07 Thread Scott Wood
On Thu, 2020-12-03 at 09:47 +0100, Peter Zijlstra wrote: > On Thu, Dec 03, 2020 at 12:04:49AM -0600, Scott Wood wrote: > > Besides being a waste of time to try to move tasks to where they already > > are, this avoids triggering the WARN_ON_ONCE(is_migration_disabled(p)) > > in set_task_cpu(). > >

Re: wm8960: add DAC Slope switch

2020-12-07 Thread Charles Keepax
On Tue, Nov 24, 2020 at 06:23:13PM +0100, Lukas F. Hartmann wrote: > The WM8960 DAC has a "DAC Slope" switch that can toggle between two > different output filter curves. This patch adds support for it. > > Signed-off-by: Lukas F. Hartmann > --- > +static int wm8960_put_dacslope(struct snd_kcontr

Re: [PATCH pidfd] signal: Add missing __user annotation to copy_siginfo_from_user_any

2020-12-07 Thread Christian Brauner
On Mon, Dec 07, 2020 at 01:02:52AM +0100, Jann Horn wrote: > copy_siginfo_from_user_any() takes a userspace pointer as second > argument; annotate the parameter type accordingly. > > Signed-off-by: Jann Horn > --- > I'm messing around with clang's version of __user annotation checking > and it sp

Re: [PATCH v2 1/2] drivers: gpio: put virtual gpio device into their own submenu

2020-12-07 Thread Bartosz Golaszewski
On Thu, Dec 3, 2020 at 8:11 PM Enrico Weigelt, metux IT consult wrote: > > Since we already have a few virtual gpio devices, and more to come, > this category deserves its own submenu. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/Kconfig | 4 > 1 file changed, 4

Re: [PATCH v8 5/5] MIPS: DTS: img: Fix schema warnings for pwm-leds

2020-12-07 Thread Thomas Bogendoerfer
On Sat, Nov 28, 2020 at 10:53:53PM +0100, Alexander Dahl wrote: > The node names for devices using the pwm-leds driver follow a certain > naming scheme (now). Parent node name is not enforced, but recommended > by DT project. > > Signed-off-by: Alexander Dahl > --- > > Notes: > v7 -> v8: >

Re: [PATCH v2] MIPS: KASLR: Avoid endless loop in sync_icache when synci_step is zero

2020-12-07 Thread Thomas Bogendoerfer
On Fri, Dec 04, 2020 at 09:11:46AM +0800, Jinyang He wrote: > Avoid endless loop if synci_step was zero read by rdhwr instruction. > > Most platforms do not need to do synci instruction operations when > synci_step is 0. But for example, the synci implementation on Loongson64 > platform has some c

Re: [PATCH v5] coresight: etm4x: Modify core-commit of cpu to avoid the overflow of HiSilicon ETM

2020-12-07 Thread Suzuki K Poulose
On 12/7/20 2:08 AM, Qi Liu wrote: Hi Mathieu, On 2020/12/5 2:55, Mathieu Poirier wrote: On Thu, Nov 26, 2020 at 09:34:30PM +0800, Qi Liu wrote: The ETM device can't keep up with the core pipeline when cpu core is at full speed. This may cause overflow within core and its ETM. This is a common

Re: WARNING: bad unlock balance detected! - mkfs.ext4/426 is trying to release lock (rcu_read_lock)

2020-12-07 Thread Naresh Kamboju
On Mon, 7 Dec 2020 at 11:37, Matthew Wilcox wrote: > > On Mon, Dec 07, 2020 at 11:17:29AM +0530, Naresh Kamboju wrote: > > While running "mkfs -t ext4" on arm64 juno-r2 device connected with SSD > > drive > > the following kernel warning reported on stable rc 5.9.13-rc1 kernel. > > > > Steps to r

Re: [PATCH] do_exit(): panic() when double fault detected

2020-12-07 Thread Andy Shevchenko
On Sun, Dec 6, 2020 at 3:16 PM Vladimir Kondratiev wrote: > - > Intel Israel (74) Limited > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distri

Re: [PATCH] arm64: mm: decrease the section size to reduce the memory reserved for the page map

2020-12-07 Thread Anshuman Khandual
On 12/7/20 3:34 PM, Mike Rapoport wrote: > On Mon, Dec 07, 2020 at 10:49:26AM +0100, Ard Biesheuvel wrote: >> On Mon, 7 Dec 2020 at 10:42, Mike Rapoport wrote: >>> >>> On Mon, Dec 07, 2020 at 09:35:06AM +, Marc Zyngier wrote: On 2020-12-07 09:09, Ard Biesheuvel wrote: > (+ Marc) >>

[PATCH v5 09/10] usb: cdns3: Change file names for cdns3 driver.

2020-12-07 Thread Pawel Laszczak
Patch adds prefix cdns3- to all file names related only to cdns3 driver. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/Makefile | 6 +++--- drivers/usb/cdns3/{debug.h => cdns3-debug.h} | 0 drivers/usb/cdns3/{ep0.c => cdns3-ep0.c} | 4 ++-- drivers/usb/cdns3/{ga

[PATCH v5 05/10] usb: cdns3: Changed type of gadget_dev in cdns structure

2020-12-07 Thread Pawel Laszczak
Patch changes the type for gadget_dev pointer in cdns structure from pointer to cdns3_device structure to void pointer. This filed is in reusable code and after this change it will be used to point to both cdns3_device or cdnsp_device objects. Signed-off-by: Pawel Laszczak Tested-by: Aswath Govin

[PATCH v5 01/10] usb: cdns3: Add support for DRD CDNSP

2020-12-07 Thread Pawel Laszczak
Patch adds support for Cadence DRD Super Speed Plus controller(CDNSP). CDNSP DRD is a part of Cadence CDNSP controller. The DRD CDNSP controller has a lot of difference on hardware level but on software level is quite compatible with CDNS3 DRD. For this reason CDNS3 DRD part of CDNS3 driver was reu

[PATCH v5 06/10] usb: cdnsp: Device side header file for CDNSP driver

2020-12-07 Thread Pawel Laszczak
Patch defines macros, registers and structures used by Device side driver. Because the size of main patch is very big, I’ve decided to create separate patch for cdnsp-gadget.h. It should simplify reviewing the code. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/cdnsp-gadget.h | 1463 +

[PATCH v5 04/10] usb: cdns3: Refactoring names in reusable code

2020-12-07 Thread Pawel Laszczak
Patch change the functions and objects names in reusable code. The reusable code includes core.c, core.h, drd.c and drd.h files. It also changes the names of all references to these functions and objects in other cdns3 files. There are a lot of changes, but all changes are very trivial. The reason

[PATCH v5 08/10] usb: cdnsp: Add tracepoints for CDNSP driver

2020-12-07 Thread Pawel Laszczak
Patch adds the series of tracepoints that can be used for debugging issues detected in driver. Signed-off-by: Pawel Laszczak Reviewed-by: Peter Chen --- drivers/usb/cdns3/Makefile | 5 + drivers/usb/cdns3/cdnsp-debug.h | 583 + drivers/usb/cdns3/cdnsp-ep0.c| 22

[PATCH v5 00/10] Introduced new Cadence USBSSP DRD Driver.

2020-12-07 Thread Pawel Laszczak
This patch introduce new Cadence USBSS DRD driver to linux kernel. The Cadence USBSS DRD Controller is a highly configurable IP Core which can be instantiated as Dual-Role Device (DRD), Peripheral Only and Host Only (XHCI)configurations. The current driver has been validated with FPGA burned. We

[PATCH v5 03/10] usb: cdns3: Moves reusable code to separate module

2020-12-07 Thread Pawel Laszczak
Patch moves common reusable code used by cdns3 and cdnsp driver to cdns-usb-common library. This library include core.c, drd.c and host.c files. Signed-off-by: Pawel Laszczak Tested-by: Aswath Govindraju --- drivers/usb/cdns3/Kconfig | 8 drivers/usb/cdns3/Makefile | 8 +

[PATCH v5 02/10] usb: cdns3: Split core.c into cdns3-plat and core.c file

2020-12-07 Thread Pawel Laszczak
Patch splits file core.c into core.c containing the common reusable code and cnd3-plat.c containing device platform specific code. These changes are required to make possible reuse DRD part of CDNS3 driver in CDNSP driver. Signed-off-by: Pawel Laszczak Tested-by: Aswath Govindraju --- drivers/u

[PATCH v5 10/10] MAINTAINERS: add Cadence USBSSP DRD IP driver entry

2020-12-07 Thread Pawel Laszczak
Patch adds entry for USBSSP (CDNSP) driver into MAINTARNERS file. Signed-off-by: Pawel Laszczak --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 213b92ffe891..255390789176 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3859,6 +3859,15 @

[PATCH v3 1/2] drm/msm: Add speed-bin support to a618 gpu

2020-12-07 Thread Akhil P Oommen
Some GPUs support different max frequencies depending on the platform. To identify the correct variant, we should check the gpu speedbin fuse value. Add support for this speedbin detection to a6xx family along with the required fuse details for a618 gpu. Signed-off-by: Akhil P Oommen --- Changes

[PATCH v3 2/2] arm: dts: sc7180: Add support for gpu fuse

2020-12-07 Thread Akhil P Oommen
Add support for gpu fuse to help identify the supported opps. Signed-off-by: Akhil P Oommen --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 6678

Re: [PATCH v7 2/3] drm: Add support for the LogiCVC display controller

2020-12-07 Thread Maxime Ripard
On Wed, Dec 02, 2020 at 05:06:40PM +0100, Paul Kocialkowski wrote: > > > +static void logicvc_crtc_atomic_begin(struct drm_crtc *drm_crtc, > > > + struct drm_atomic_state *state) > > > +{ > > > + struct logicvc_crtc *crtc = logicvc_crtc(drm_crtc); > > > + struct drm_cr

Re: [PATCH] tty: Remove dead termiox code

2020-12-07 Thread Adam Borowski
On Fri, Dec 04, 2020 at 10:10:16AM +0100, Greg Kroah-Hartman wrote: > On Fri, Dec 04, 2020 at 09:51:07AM +0100, Jiri Slaby wrote: > > > > > On Fri, Dec 04, 2020 at 08:22:41AM +0100, Jiri Slaby wrote: > > > > > > On 03. 12. 20, 3:03, Jann Horn wrote: > > > > > > > Delete this dead code; but leave th

Order Inquiry (JL) 12/07/2020-

2020-12-07 Thread John Lewis Plc
Dear linux-kernel The famous brand John Lewis PLC, is UK's largest multi-channel retailer with over 76 shops and multiple expansion in Africa furnished by European/Asian/American products. We are sourcing for new products to attract new customers and also retain our existing ones, create new p

Re: [PATCH v3 10/13] media: v4l2-fwnode: Update V4L2_FWNODE_CSI2_MAX_DATA_LANES to 8

2020-12-07 Thread Hans Verkuil
On 03/12/2020 19:59, Sowjanya Komatineni wrote: > Some CSI2 receivers support 8 data lanes. > > So, this patch updates CSI2 maximum data lanes to be 8. > > Signed-off-by: Sowjanya Komatineni > --- > drivers/media/platform/ti-vpe/cal-camerarx.c | 2 +- > include/media/v4l2-fwnode.h

Re: [PATCH v1 1/5] Bluetooth: advmon offload MSFT add rssi support

2020-12-07 Thread Archie Pusaka
Hi Marcel, On Mon, 7 Dec 2020 at 17:57, Marcel Holtmann wrote: > > Hi Archie, > > > MSFT needs rssi parameter for monitoring advertisement packet, > > therefore we should supply them from mgmt. > > > > Signed-off-by: Archie Pusaka > > Reviewed-by: Miao-chen Chou > > Revi

ping // [PATCH] mtd:cfi_cmdset_0002: fix atomic sleep bug when CONFIG_MTD_XIP=y

2020-12-07 Thread Xiaoming Ni
ping On 2020/11/27 21:07, Xiaoming Ni wrote: When CONFIG_MTD_XIP=y, local_irq_disable() is called in xip_disable(). To avoid sleep in interrupt context, we need to call local_irq_enable() before schedule(). The problem call stack is as follows: bug1: do_write_oneword_retry()

Re: ping // [PATCH] mtd:cfi_cmdset_0002: fix atomic sleep bug when CONFIG_MTD_XIP=y

2020-12-07 Thread Miquel Raynal
Hi Xiaoming, Xiaoming Ni wrote on Mon, 7 Dec 2020 18:48:33 +0800: > ping > > On 2020/11/27 21:07, Xiaoming Ni wrote: > > When CONFIG_MTD_XIP=y, local_irq_disable() is called in xip_disable(). > > To avoid sleep in interrupt context, we need to call local_irq_enable() > > before schedule(). > >

Re: [PATCH] perf arm pmu: fix build error on MUSL libc

2020-12-07 Thread Will Deacon
On Sun, Dec 06, 2020 at 11:45:27PM +0900, Chanho Park wrote: > __always_inline can cause build error on musl libc. The fix patch has > submitted but not merged yet[1]. To build perf tool with musl libc, > inclusion is necessary and it should be included before > perf_event.h. > > from /usr/includ

Re: [PATCH v4 0/5] Add GPIO support for MStar/SigmaStar ARMv7

2020-12-07 Thread Daniel Palmer
Hi Linus, On Sun, 6 Dec 2020 at 06:43, Linus Walleij wrote: > OK finished! > Patches 1, 2 & 3 applied to the GPIO tree for v5.11. Awesome! Thank you Linus. :) Arnd and Olof: Sorry for being a noob.. Is there anything I need to do for patches 4 and 5 (device tree bits)? They are in the Linux So

[PATCH 1/2] f2fs: convert to F2FS_*_INO macro

2020-12-07 Thread liush
From: Yangtao Li Use F2FS_ROOT_INO, F2FS_NODE_INO and F2FS_META_INO macro for better code readability. Signed-off-by: Yangtao Li Signed-off-by: Shaohua Liu --- fs/f2fs/super.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 00e

[PATCH 2/2] f2fs: don't check PAGE_SIZE again in sanity_check_raw_super()

2020-12-07 Thread liush
From: Yangtao Li Many flash devices read and write a single IO based on a multiple of 4KB, and we support only 4KB page cache size now. Since we already check page size in init_f2fs_fs(), so remove page size check in sanity_check_raw_super(). Signed-off-by: Yangtao Li Signed-off-by: Shaohua Li

Re: [PATCH] iommu: Up front sanity check in the arm_lpae_map

2020-12-07 Thread Will Deacon
On Sat, Dec 05, 2020 at 04:29:57PM +0800, Keqian Zhu wrote: > ... then we have more chance to detect wrong code logic. This could do with being a bit more explicit. Something like: Although handling a mapping request with no permissions is a trivial no-op, defer the early return u

[PATCH 1/2] f2fs: convert to F2FS_*_INO macro

2020-12-07 Thread liush
From: Yangtao Li Use F2FS_ROOT_INO, F2FS_NODE_INO and F2FS_META_INO macro for better code readability. Signed-off-by: Yangtao Li Signed-off-by: Shaohua Liu --- fs/f2fs/super.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 00e

Re: [PATCH] scsi: ufs: Enable WB flush during suspend only if WB is enabled

2020-12-07 Thread Bean Huo
On Mon, 2020-12-07 at 13:50 +0800, Stanley Chu wrote: > WriteBootser flush during suspend is not necessary to be enabled if > WriteBooster feature is disabled. Simply adding a check to prevent > unexpected power drain. > > Signed-off-by: Stanley Chu > --- > drivers/scsi/ufs/ufshcd.c | 2 +- > 1

[PATCH 2/2] f2fs: don't check PAGE_SIZE again in sanity_check_raw_super()

2020-12-07 Thread liush
From: Yangtao Li Many flash devices read and write a single IO based on a multiple of 4KB, and we support only 4KB page cache size now. Since we already check page size in init_f2fs_fs(), so remove page size check in sanity_check_raw_super(). Signed-off-by: Yangtao Li Signed-off-by: Shaohua Li

Re: [PATCH bpf-next v3 12/14] bpf: Pull tools/build/feature biz into selftests Makefile

2020-12-07 Thread Brendan Jackman
On Fri, Dec 04, 2020 at 11:00:24AM -0800, Andrii Nakryiko wrote: > On Fri, Dec 4, 2020 at 1:41 AM Brendan Jackman wrote: > > > > On Thu, Dec 03, 2020 at 01:01:27PM -0800, Andrii Nakryiko wrote: > > > On Thu, Dec 3, 2020 at 8:07 AM Brendan Jackman > > > wrote: > > > > > > > > This is somewhat car

Re: [PATCH] iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs

2020-12-07 Thread Will Deacon
On Mon, 7 Dec 2020 03:19:20 -0600, Suravee Suthikulpanit wrote: > According to the AMD IOMMU spec, the commit 73db2fc595f3 > ("iommu/amd: Increase interrupt remapping table limit to 512 entries") > also requires the interrupt table length (IntTabLen) to be set to 9 > (power of 2) in the device tabl

Re: [patch 0/3] tick: Annotate and document the intentionaly racy tick_do_timer_cpu

2020-12-07 Thread Marco Elver
On Sun, 6 Dec 2020 at 22:21, Thomas Gleixner wrote: > There have been several reports about KCSAN complaints vs. the racy access > to tick_do_timer_cpu. The syzbot moderation queue has three different > patterns all related to this. There are a few more... > > As I know that this is intentional an

Re: [PATCH v2] iommu: Improve the performance for direct_mapping

2020-12-07 Thread Will Deacon
On Mon, 7 Dec 2020 17:35:53 +0800, Yong Wu wrote: > Currently direct_mapping always use the smallest pgsize which is SZ_4K > normally to mapping. This is unnecessary. we could gather the size, and > call iommu_map then, iommu_map could decide how to map better with the > just right pgsize. > > >Fr

Re: [RFC PATCH 16/27] KVM: arm64: Prepare Hyp memory protection

2020-12-07 Thread Mark Rutland
On Mon, Dec 07, 2020 at 10:20:03AM +, Will Deacon wrote: > On Fri, Dec 04, 2020 at 06:01:52PM +, Quentin Perret wrote: > > On Thursday 03 Dec 2020 at 12:57:33 (+), Fuad Tabba wrote: > > > > > > +SYM_FUNC_START(__kvm_init_switch_pgd) > > > > + /* Turn the MMU off */ > > > > +

Re: [PATCH v6 1/8] dt-bindings: display: simple: fix alphabetical order for EDT compatibles

2020-12-07 Thread Oleksij Rempel
On Sat, Dec 05, 2020 at 08:32:29PM +0100, Sam Ravnborg wrote: > Hi Oleksij > Thanks for fixing this, but something is not correct. > I think you switched around the order of comment and compatible. Ack, i confused my self with comments like: > > - - edt,etm0700g0dh6 > > -# Emerging D

Re: 0001-add-amlogic-gpio-to-irq

2020-12-07 Thread Jerome Brunet
On Mon 07 Dec 2020 at 11:18, Andy Shevchenko wrote: > On Fri, Dec 4, 2020 at 4:25 PM Jerome Brunet wrote: >> On Fri 04 Dec 2020 at 10:13, Linus Walleij wrote: > >> This HW only has 8 irqs that can each be mapped to a pin. No direct >> translation can be made, we have to allocate an irq to mon

Re: [PATCH v17 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-12-07 Thread Miquel Raynal
On Tue, 2020-11-10 at 01:23:33 UTC, "Ramuthevar, Vadivel MuruganX" wrote: > From: Ramuthevar Vadivel Murugan > > This patch adds the new IP of Nand Flash Controller(NFC) support > on Intel's Lightning Mountain(LGM) SoC. > > DMA is used for burst data transfer operation, also DMA HW supports > al

Re: [PATCH v17 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC

2020-12-07 Thread Miquel Raynal
On Tue, 2020-11-10 at 01:23:32 UTC, "Ramuthevar, Vadivel MuruganX" wrote: > From: Ramuthevar Vadivel Murugan > > Add YAML file for dt-bindings to support NAND Flash Controller > on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > Reviewed-by: Rob Herring Appl

Re: [PATCH v7 1/2] mtd: spinand: micron: Generalize the structure names

2020-12-07 Thread Miquel Raynal
Hi Thirumalesha, Thirumalesha Narasimhappa wrote on Sun, 8 Nov 2020 19:37:34 +0800: > Rename the read/write/update of SPINAND_OP_VARIANTS() to a generic names I applied this patch with a minor change: it's not a generalization of the name, but quite the opposite. Thanks, Miquèl

Re: [PATCH v7 2/2] mtd: spinand: micron: Add support for MT29F2G01AAAED

2020-12-07 Thread Miquel Raynal
On Sun, 2020-11-08 at 11:37:35 UTC, Thirumalesha Narasimhappa wrote: > The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit > ECC > > Signed-off-by: Thirumalesha Narasimhappa Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel

Re: [RFC PATCH 16/27] KVM: arm64: Prepare Hyp memory protection

2020-12-07 Thread Will Deacon
On Mon, Dec 07, 2020 at 11:05:45AM +, Mark Rutland wrote: > On Mon, Dec 07, 2020 at 10:20:03AM +, Will Deacon wrote: > > On Fri, Dec 04, 2020 at 06:01:52PM +, Quentin Perret wrote: > > > On Thursday 03 Dec 2020 at 12:57:33 (+), Fuad Tabba wrote: > > > > > > > > +SYM_FUNC_START(__kv

Re: [PATCH v6 2/8] dt-bindings: display: simple: add EDT compatibles already supported by the driver

2020-12-07 Thread Oleksij Rempel
On Sat, Dec 05, 2020 at 08:35:38PM +0100, Sam Ravnborg wrote: > Hi Oleksij, > > On Wed, Dec 02, 2020 at 09:18:20AM +0100, Oleksij Rempel wrote: > > Some EDT compatibles are already supported by the driver but will fail > > on checkpatch script. Fix it by syncing dt-bindings documentation with the

Re: [PATCH v1 3/3] scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM

2020-12-07 Thread Bean Huo
On Mon, 2020-12-07 at 07:57 +, Avri Altman wrote: > > TP_printk( > > - "%s: %s: HDR:%s, CDB:%s", > > + "%s: %s: HDR:%s, %s:%s", > > __get_str(str), __get_str(dev_name), > > __print_hex(__entry->hdr, sizeof(__entry->hdr)), >

Re: [PATCH v4 1/3] dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support

2020-12-07 Thread Borislav Petkov
On Mon, Dec 07, 2020 at 05:00:11PM +0800, Troy Lee wrote: > Adding Aspeed AST2400 and AST2600 binding for edac driver. > > Signed-off-by: Troy Lee > Acked-by: Joel Stanley > --- > .../devicetree/bindings/edac/aspeed-sdram-edac.txt | 9 ++--- > 1 file changed, 6 insertions(+), 3 deleti

Re: [RFC PATCH 16/27] KVM: arm64: Prepare Hyp memory protection

2020-12-07 Thread Fuad Tabba
On Mon, Dec 7, 2020 at 11:05 AM Mark Rutland wrote: > > On Mon, Dec 07, 2020 at 10:20:03AM +, Will Deacon wrote: > > On Fri, Dec 04, 2020 at 06:01:52PM +, Quentin Perret wrote: > > > On Thursday 03 Dec 2020 at 12:57:33 (+), Fuad Tabba wrote: > > > > > > > > +SYM_FUNC_START(__kvm_init_

Re: [PATCH] mtd: core: Fix refcounting for unpartitioned MTDs

2020-12-07 Thread Miquel Raynal
On Sun, 2020-12-06 at 20:22:20 UTC, Richard Weinberger wrote: > Apply changes to usecount also the the master partition. > Otherwise we have no refcounting at all if an MTD has no partitions. > > Cc: sta...@vger.kernel.org > Fixes: 46b5889cc2c5 ("mtd: implement proper partition handling") > Signed

Re: [PATCH v4] phram: Allow the user to set the erase page size.

2020-12-07 Thread Miquel Raynal
On Mon, 2020-12-07 at 09:55:29 UTC, Guohua Zhong wrote: > From: Patrick O'Grady > > Permit the user to specify the erase page size as a parameter. > This solves two problems: > > - phram can access images made by mkfs.jffs2. mkfs.jffs2 won't > create images with erase sizes less than 8KiB; many

[PATCH drm/hisilicon v2 0/2] Code refactoring

2020-12-07 Thread Tian Tao
patch #1 is used drmm_mode_config_init() to do code refactoring. patch #2 is deleted unused variable ‘priv’ to avoid warning. Changes since v1: patch #1 is removed the unused structure member variable mode_config_initialized. Tian Tao (2): drm/hisilicon: Use managed mode-config init drm/hisil

[PATCH drm/hisilicon v2 2/2] drm/hisilicon: Delete unused local parameters

2020-12-07 Thread Tian Tao
delete unused variable ‘priv’ to avoid warning. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/h

[PATCH drm/hisilicon v2 1/2] drm/hisilicon: Use managed mode-config init

2020-12-07 Thread Tian Tao
Using drmm_mode_config_init() sets up managed release of modesetting resources. v2: Remove the unused structure member variable mode_config_initialized. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 14 +++--- drivers/gpu/d

Re: [PATCH v2] mtd: physmap: physmap-bt1-rom: Fix __iomem addrspace removal warning

2020-12-07 Thread Miquel Raynal
On Wed, 2020-11-25 at 07:26:40 UTC, Serge Semin wrote: > sparse is unhappy with us casting the __iomem address space pointer to > a type with no address space attribute specified: > > "sparse warnings: (new ones prefixed by >>)" > >> drivers/mtd/maps/physmap-bt1-rom.c:78:18: sparse: sparse: cast r

Re: [RFC PATCH 16/27] KVM: arm64: Prepare Hyp memory protection

2020-12-07 Thread Fuad Tabba
On Fri, Dec 4, 2020 at 6:01 PM Quentin Perret wrote: > > On Thursday 03 Dec 2020 at 12:57:33 (+), Fuad Tabba wrote: > > > > +int hyp_create_idmap(void); > > > +int hyp_map_vectors(void); > > > +int hyp_back_vmemmap(phys_addr_t phys, unsigned long size, phys_addr_t > > > back); > > > +int hyp

Re: [PATCH v6 3/8] dt-bindings: display: simple: Add Kyocera tcg070wvlq panel

2020-12-07 Thread Oleksij Rempel
On Sat, Dec 05, 2020 at 08:36:39PM +0100, Sam Ravnborg wrote: > On Wed, Dec 02, 2020 at 09:18:21AM +0100, Oleksij Rempel wrote: > > So far, this panel seems to be compatible with "lg,lb070wv8", on other > > hand it is better to set this compatible in the devicetree. So, let's > > add it for now onl

Re: recursion handling: Re: [PATCH next v2 3/3] printk: remove logbuf_lock, add syslog_lock

2020-12-07 Thread Petr Mladek
On Sun 2020-12-06 22:50:54, John Ogness wrote: > On 2020-12-04, Petr Mladek wrote: > > On Tue 2020-12-01 21:59:41, John Ogness wrote: > >> Since the ringbuffer is lockless, there is no need for it to be > >> protected by @logbuf_lock. Remove @logbuf_lock. > >> > >> --- a/kernel/printk/printk.c >

Re: [PATCH v2 2/3] scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1

2020-12-07 Thread Bean Huo
On Mon, 2020-12-07 at 08:02 +, Avri Altman wrote: > > According to the JEDEC UFS 3.1 Spec, If > > fWriteBoosterBufferFlushDuringHibernate > > is set to one, the device flushes the WriteBooster Buffer data > > automatically > > whenever the link enters the hibernate (HIBERN8) state. While the >

Re: [PATCH v5] coresight: etm4x: Modify core-commit of cpu to avoid the overflow of HiSilicon ETM

2020-12-07 Thread Qi Liu
Hi Suzuki, On 2020/12/7 18:38, Suzuki K Poulose wrote: > On 12/7/20 2:08 AM, Qi Liu wrote: >> Hi Mathieu, >> >> On 2020/12/5 2:55, Mathieu Poirier wrote: >>> On Thu, Nov 26, 2020 at 09:34:30PM +0800, Qi Liu wrote: The ETM device can't keep up with the core pipeline when cpu core is at f

Re: [PATCH] EDAC/mv64x60: Remove orphan mv64x60 driver

2020-12-07 Thread Borislav Petkov
On Mon, Dec 07, 2020 at 03:02:53PM +1100, Michael Ellerman wrote: > The mv64x60 EDAC driver depends on CONFIG_MV64X60. But that symbol is > not user-selectable, and the last code that selected it was removed > with the C2K board support in 2018, see: > > 92c8c16f3457 ("powerpc/embedded6xx: Remov

KVM_SET_CPUID doesn't check supported bits (was Re: [PATCH 0/6] KVM: x86: KVM_SET_SREGS.CR4 bug fixes and cleanup)

2020-12-07 Thread stsp
09.10.2020 18:30, Sean Christopherson пишет: The only other effect of setting VMXE was clearing VME. Which shouldn't affect anything either, right? Hmm, clearing VME would mean that exceptions/interrupts within the guest would trigger a switch out of v86 and into vanilla protected mode. v86 and

Re: [PATCH v2 1/2] drivers: gpio: put virtual gpio device into their own submenu

2020-12-07 Thread Enrico Weigelt, metux IT consult
On 07.12.20 11:31, Bartosz Golaszewski wrote: > I'd call this section "Virtual GPIO drivers" because the code contains > drivers not devices. fixed in v2. --mtx -- --- Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert werden ! Für eine vertrauliche Kommunikation senden

[PATCH] iommu/arm-smmu-v3: Fix not checking return value about devm_add_action

2020-12-07 Thread Tian Tao
Use devm_add_action_or_reset to avoid the situation where the release function is not called when devm_add_action returns an error. Signed-off-by: Tian Tao v2: check the return value about evm_add_action_or_reset() --- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 5 +++-- 1 file changed, 3 ins

Re: [V9fs-developer] [RFC PATCH] 9p: create writeback fid on shared mmap

2020-12-07 Thread Dominique Martinet
Chengguang Xu wrote on Mon, Dec 07, 2020: > > , VM_MAYWRITE is set anytime we have a shared map where file has > > been opened read-write, which seems to be what you want with regards to > > protecting from mprotect calls. > > > > How about simply changing check from WRITE to MAYWRITE? > > I

Re: [PATCH] arm64: enable GENERIC_FIND_FIRST_BIT

2020-12-07 Thread Will Deacon
On Sat, Dec 05, 2020 at 08:54:06AM -0800, Yury Norov wrote: > ARM64 doesn't implement find_first_{zero}_bit in arch code and doesn't > enable it in config. It leads to using find_next_bit() which is less > efficient: [...] > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 1515f6f153a

[PATCH v2] drivers: gpio: put virtual gpio device into their own submenu

2020-12-07 Thread Enrico Weigelt, metux IT consult
Since we already have a few virtual GPIO drivers, and more to come, this category deserves its own submenu. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/gpio/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 5d4de5cd6

Re: [PATCH] drivers/hv: remove obsolete TODO and fix misleading typo in comment

2020-12-07 Thread Wei Liu
On Sun, Dec 06, 2020 at 11:48:50AM +0100, Stefan Eschenbacher wrote: > Removes an obsolete TODO in the VMBus module and fixes a misleading typo > in the comment for the macro MAX_NUM_CHANNELS, where two digits have been > twisted. > > Signed-off-by: Stefan Eschenbacher > Co-developed-by: Max Stol

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