[PATCH 3/3] arm64: dts: meson: add support for the ODROID-N2+

2020-07-19 Thread Christian Hewitt
HardKernel ODROID-N2+ uses an Amlogic S922X rev. C chip capable of higher clock speeds than the original ODROID-N2. Hardkernel supports the big cpu cluster at 2.4GHz and the little cpu cluster at 2.0GHz. Opp points and regulator changess are from the HardKernel Linux kernel sources. Suggested-by:

[PATCH v3] staging: kpc2000: Replace depracated MSI APIs

2020-07-19 Thread Suraj Upadhyay
Replace depracated MSI IRQ enabler and disabler with pci_alloc_irq_vectors and pci_free_irq_vectors respectively. Compile tested. Signed-off-by: Suraj Upadhyay --- Changes: v3: Replaced the disabler for MSI IRQ too with pci_free_irq_vectors. v2: Fix the undefined varia

[PATCH v2] staging: media: atomisp: Replace depracated MSI APIs

2020-07-19 Thread Suraj Upadhyay
Replace depracated MSI IRQ enabler and disabler with pci_alloc_irq_vectors and pci_free_irq_vectors respectively. And as a result handle the returned error as appropriate. Compile tested. Signed-off-by: Suraj Upadhyay --- Change: v2: Replace the MSI IRQ disabler too. --- drivers/staging/

[PATCH] clk: vc5: Fix use after free in vc5_probe

2020-07-19 Thread trix
From: Tom Rix clang static analysis reports this error clk-versaclock5.c:887:3: warning: Use of memory after it is freed [unix.Malloc] dev_err(&client->dev, "unable to register %s\n", init.name); ^~~ A representative problem

[PATCH v2] staging: rts5208: rtsx: Replace depracated MSI API

2020-07-19 Thread Suraj Upadhyay
Replace depracated MSI IRQ enablers and disablers with pci_alloc_irq_vectors and pci_free_irq_vectors respectively. Compile tested. Signed-off-by: Suraj Upadhyay --- Changes: v2: Replace MSI IRQ disablers too. --- drivers/staging/rts5208/rtsx.c | 12 ++-- 1 file changed, 6 insert

Re: [PATCH 2/4] printk: store instead of processing cont parts

2020-07-19 Thread Sergey Senozhatsky
On (20/07/18 01:54), John Ogness wrote: > --- > kernel/printk/printk.c | 114 - > 1 file changed, 11 insertions(+), 103 deletions(-) > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index fec71229169e..c4274c867771 100644 > --- a/kernel/pr

[PATCH 2/2] ARM: dts: imx6qdl-cubox-i: enable DSM for the RTC

2020-07-19 Thread miguelborgesdefreitas
From: Miguel Borges de Freitas Signed-off-by: Miguel Borges de Freitas --- arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi index e3be453..a226c4e 100644 --- a/arch/arm/boo

[PATCH 1/2] rtc: pcf8523: Make DSM for battery switch-over configurable from DT

2020-07-19 Thread miguelborgesdefreitas
From: Miguel Borges de Freitas Signed-off-by: Miguel Borges de Freitas --- Documentation/devicetree/bindings/rtc/nxp,pcf8523.txt | 7 ++- Documentation/devicetree/bindings/rtc/rtc.yaml| 7 +++ drivers/rtc/rtc-pcf8523.c | 13 ++--- 3 files ch

[PATCH 0/2] rtc: pcf8523: Make DSM for battery switch-over configurable from DT and enable it for the cubox-i

2020-07-19 Thread miguelborgesdefreitas
From: Miguel Borges de Freitas The pcf8523 has two configurable modes for the battery switch-over functionality: (i) the default mode and (ii) the direct switching mode. For the default mode to work (at the moment the only driver option), a filtering circuit consisting of a series resistor of

Re: [PATCH v2 2/2] ARM: dts: stm32: Enable MIPI DSI display support.

2020-07-19 Thread Adrian Pop
Hello Hua, Thank you for your review, On Tue, Jul 14, 2020 at 6:37 AM Hua Dillon wrote: > > Hi, Adrian, > > Just one suggestion for you. > > Adrian Pop 于2020年7月3日周五 上午1:30写道: > > > > STM32f769-disco features a 4" MIPI DSI display: add support for it. > > On Cortex-M7 DMA can't use cached memory

Re: [PATCH 2/2] ARM: dts: imx6qdl-cubox-i: enable DSM for the RTC

2020-07-19 Thread Baruch Siach
Hi Miguel, On Sun, Jul 19 2020, miguelborgesdefrei...@gmail.com wrote: > From: Miguel Borges de Freitas > > Signed-off-by: Miguel Borges de Freitas > --- The commit log should explain why you enable this for Cubox-i. The information is in your cover letter. But the cover letter is not preserved

Re: [PATCH net-next v1] net: phy: at803x: add mdix configuration support for AR9331 and AR8035

2020-07-19 Thread Andrew Lunn
On Sun, Jul 19, 2020 at 10:05:30AM +0200, Oleksij Rempel wrote: > This patch add MDIX configuration ability for AR9331 and AR8035. Theoretically > it should work on other Atheros PHYs, but I was able to test only this > two. > > Since I have no certified reference HW able to detect or configure MD

Re: WARNING in do_syscall_64

2020-07-19 Thread Andy Lutomirski
On Sun, Jul 19, 2020 at 12:42 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:e9919e11 Merge branch 'for-linus' of git://git.kernel.org/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11dca4cf10 > kernel config:

Re: [PATCH v16 18/22] mm/lru: replace pgdat lru_lock with lruvec lock

2020-07-19 Thread Alexander Duyck
On Sun, Jul 19, 2020 at 2:12 AM Alex Shi wrote: > > > > 在 2020/7/18 下午10:15, Alex Shi 写道: > >>> > >>> struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb); > >>> diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h > >>> index 14c668b7e793..36c1680efd90 100644 > >>> --- a/incl

Re: [PATCH 1/2] f2fs: add sysfs symbolic link to kobject with volume name

2020-07-19 Thread Greg KH
On Sun, Jul 19, 2020 at 02:44:08PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > Added a symbolic link directory pointing to its device name > directory using the volume name of the partition in sysfs. > (i.e., /sys/fs/f2fs/vol_#x -> /sys/fs/f2fs/sda1) No, please no. That is already created

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v16 00/22] per memcg lru_lock

2020-07-19 Thread Hugh Dickins
On Fri, 17 Jul 2020, Alex Shi wrote: > 在 2020/7/16 下午10:11, Alexander Duyck 写道: > >> Thanks for Testing support from Intel 0day and Rong Chen, Fengguang Wu, > >> and Yun Wang. Hugh Dickins also shared his kbuild-swap case. Thanks! > > Hi Alex, > > > > I think I am seeing a regression with this pat

Re: [patch V3 01/13] entry: Provide generic syscall entry functionality

2020-07-19 Thread Andy Lutomirski
> On Jul 19, 2020, at 3:17 AM, Thomas Gleixner wrote: > > Andy Lutomirski writes: >>> On Sat, Jul 18, 2020 at 7:16 AM Thomas Gleixner wrote: >>> Andy Lutomirski writes: FWIW, TIF_USER_RETURN_NOTIFY is a bit of an odd duck: it's an entry/exit word *and* a context switch word. The

[PATCH for v5.9] ARM: dts: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH net-next 1/4] net: Wrap ndo_do_ioctl() to prepare for DSA stacked ops

2020-07-19 Thread Andrew Lunn
On Fri, Jul 17, 2020 at 08:05:30PM -0700, Florian Fainelli wrote: > In preparation for adding another layer of call into a DSA stacked ops > singleton, wrap the ndo_do_ioctl() call into dev_do_ioctl(). > > Signed-off-by: Florian Fainelli Reviewed-by: Andrew Lunn Andrew

[PATCH] media: m5mols: Check function pointer in m5mols_sensor_power

2020-07-19 Thread trix
From: Tom Rix clang static analysis reports this error m5mols_core.c:767:4: warning: Called function pointer is null (null dereference) [core.CallAndMessage] info->set_power(&client->dev, 0); ^~~~ In other places, the set_power ptr is checked. So add a chec

[PATCH RESEND] docs/core-api: memory-allocation: describe reclaim behaviour

2020-07-19 Thread Mike Rapoport
From: Mike Rapoport Changelog of commit dcda9b04713c ("mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful semantic") has very nice description of GFP flags that affect reclaim behaviour of the page allocator. It would be pity to keep this description buried in the log so

Re: [PATCH v5 06/15] iommu/vt-d: Support setting ioasid set to domain

2020-07-19 Thread Auger Eric
Yi, On 7/12/20 1:21 PM, Liu Yi L wrote: > From IOMMU p.o.v., PASIDs allocated and managed by external components > (e.g. VFIO) will be passed in for gpasid_bind/unbind operation. IOMMU > needs some knowledge to check the PASID ownership, hence add an interface > for those components to tell the PA

Re: [PATCH v5 08/15] iommu: Pass domain to sva_unbind_gpasid()

2020-07-19 Thread Auger Eric
Yi, On 7/12/20 1:21 PM, Liu Yi L wrote: > From: Yi Sun > > Current interface is good enough for SVA virtualization on an assigned > physical PCI device, but when it comes to mediated devices, a physical > device may attached with multiple aux-domains. Also, for guest unbind, > the PASID to be un

Re: [PATCH v5 05/15] vfio: Add PASID allocation/free support

2020-07-19 Thread Auger Eric
Yi, On 7/12/20 1:21 PM, Liu Yi L wrote: > Shared Virtual Addressing (a.k.a Shared Virtual Memory) allows sharing > multiple process virtual address spaces with the device for simplified > programming model. PASID is used to tag an virtual address space in DMA > requests and to identify the related

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v5 07/15] vfio/type1: Add VFIO_IOMMU_PASID_REQUEST (alloc/free)

2020-07-19 Thread Auger Eric
Yi, On 7/12/20 1:21 PM, Liu Yi L wrote: > This patch allows user space to request PASID allocation/free, e.g. when > serving the request from the guest. > > PASIDs that are not freed by userspace are automatically freed when the > IOASID set is destroyed when process exits. > > Cc: Kevin Tian >

Re: [PATCH net-next 2/4] net: dsa: Add wrappers for overloaded ndo_ops

2020-07-19 Thread Andrew Lunn
> +#if IS_ENABLED(CONFIG_NET_DSA) > +#define dsa_build_ndo_op(name, arg1_type, arg1_name, arg2_type, arg2_name) \ > +static int inline dsa_##name(struct net_device *dev, arg1_type arg1_name, \ > + arg2_type arg2_name) \ > +{

[PATCH for v5.9] Documentation: intel: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

[PATCH v2 0/2] kernel/trace: Remove function callback casts

2020-07-19 Thread Oscar Carter
In an effort to enable -Wcast-function-type in the top-level Makefile to support Control Flow Integrity builds, there are the need to remove all the function callback casts. ftrace_ops_list_func() can no longer be defined as ftrace_ops_no_ops(). The reason for ftrace_ops_no_ops() is to use that wh

[PATCH v2 2/2] kernel/trace: Remove function callback casts

2020-07-19 Thread Oscar Carter
In an effort to enable -Wcast-function-type in the top-level Makefile to support Control Flow Integrity builds, there are the need to remove all the function callback casts. ftrace_ops_list_func() can no longer be defined as ftrace_ops_no_ops(). The reason for ftrace_ops_no_ops() is to use that wh

[PATCH v2 1/2] kernel/trace: Prepare to remove function callback casts

2020-07-19 Thread Oscar Carter
In an effort to enable -Wcast-function-type in the top-level Makefile to support Control Flow Integrity builds, there are the need to remove all the function callback casts. ftrace_ops_list_func() can no longer be defined as ftrace_ops_no_ops(). The reason for ftrace_ops_no_ops() is to use that wh

[PATCH] drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi

2020-07-19 Thread Xin Xiong
drm_dp_mst_allocate_vcpi() invokes drm_dp_mst_topology_get_port_validated(), which increases the refcount of the "port". These reference counting issues take place in two exception handling paths separately. Either when “slots” is less than 0 or when drm_dp_init_vcpi() returns a negative value, th

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v5 0/4] Add LT9611 DSI to HDMI bridge

2020-07-19 Thread Vinod Koul
Hello, On 08-07-20, 16:05, Vinod Koul wrote: > Hi, > > This series adds driver and bindings for Lontium LT9611 bridge chip which > takes MIPI DSI as input and HDMI as output. > > This chip can be found in 96boards RB3 platform [1] commonly called DB845c. Any feedback on this series? > > [1]:

Re: [PATCH net-next 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-19 Thread Andrew Lunn
> If we have the core network stack reference DSA as a module then we > force DSA to be either built-in or not, which is not very practical, > people would still want a modular choice to be possible. The static > inline only wraps indirect function pointer calls using definitions > available at bui

Re: [PATCH v5 09/15] iommu/vt-d: Check ownership for PASIDs from user-space

2020-07-19 Thread Auger Eric
Hi Yi, On 7/12/20 1:21 PM, Liu Yi L wrote: > When an IOMMU domain with nesting attribute is used for guest SVA, a > system-wide PASID is allocated for binding with the device and the domain. > For security reason, we need to check the PASID passsed from user-space. passed > e.g. page table bind/un

Re: [PATCH] android: binder.h: drop a duplicated word

2020-07-19 Thread Christian Brauner
On Sat, Jul 18, 2020 at 05:27:38PM -0700, Randy Dunlap wrote: > Drop the repeated word "the" in a comment. > > Signed-off-by: Randy Dunlap > Cc: Greg Kroah-Hartman > Cc: Arve Hjønnevåg > Cc: Todd Kjos > Cc: Martijn Coenen > Cc: Joel Fernandes > Cc: Christian Brauner > Cc: Hridya Valsaraju

Re: [PATCH] rculist: Silence unused-value warning.

2020-07-19 Thread Paul E. McKenney
On Sun, Jul 19, 2020 at 04:20:37PM +0530, Suraj Upadhyay wrote: > The macro __list_check_srcu is used as a statement inside a for loop. > > __list_check_srcu becomes "true" when CONFIG_PROVE_RCU_LIST is not defined. > This results in compiler warning about an unused value ("true"). > > Silence th

Re: [PATCH 2/2] kvm: mmu: page_track: Fix RCU list API usage

2020-07-19 Thread Paul E. McKenney
On Sun, Jul 19, 2020 at 05:52:44PM +0530, Naresh Kamboju wrote: > On Sat, 18 Jul 2020 at 05:43, Paul E. McKenney wrote: > > > > On Sat, Jul 18, 2020 at 12:35:12AM +0530, Naresh Kamboju wrote: > > > Hi Paul, > > > > > > > I am not seeing this here. > > > > > > Do you notice any warnings while build

Re: [PATCH net-next 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-19 Thread Florian Fainelli
On 7/19/2020 9:04 AM, Andrew Lunn wrote: >> If we have the core network stack reference DSA as a module then we >> force DSA to be either built-in or not, which is not very practical, >> people would still want a modular choice to be possible. The static >> inline only wraps indirect function po

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH net-next 2/4] net: dsa: Add wrappers for overloaded ndo_ops

2020-07-19 Thread Florian Fainelli
On 7/19/2020 8:40 AM, Andrew Lunn wrote: >> +#if IS_ENABLED(CONFIG_NET_DSA) >> +#define dsa_build_ndo_op(name, arg1_type, arg1_name, arg2_type, arg2_name) \ >> +static int inline dsa_##name(struct net_device *dev, arg1_type arg1_name, \ >> + arg2_type arg2_name) \ >

[PATCH for v5.9] USB: serial: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v6 4/7] proc: allow access in init userns for map_files with CAP_CHECKPOINT_RESTORE

2020-07-19 Thread Serge E. Hallyn
On Sun, Jul 19, 2020 at 12:04:14PM +0200, Adrian Reber wrote: > Opening files in /proc/pid/map_files when the current user is > CAP_CHECKPOINT_RESTORE capable in the root namespace is useful for > checkpointing and restoring to recover files that are unreachable via > the file system such as delete

Re: [PATCH] userfaultfd: avoid the duplicated release for userfaultfd_ctx

2020-07-19 Thread Al Viro
On Sun, Jul 19, 2020 at 09:58:34PM +0800, Xu, Yanfei wrote: > ping Al Viro > > Could you please help to review this patch? Thanks a lot. That's -next, right? As for the patch itself... Frankly, Daniel's patch looks seriously wrong. * why has O_CLOEXEC been quietly smuggled in? It's a u

[PATCH 0/4] Add support for Feixin K101-IM2BYL02 panel

2020-07-19 Thread Icenowy Zheng
The controller chip of Feixin K101-IM2BA02 is going to be discontinued, so Feixin start to provide K101-IM2BYL02 panel as a replacement, which utilizes Ilitek ILI9881C controller. Add support for K101-IM2BYL02 panel. By the way, is there a way that can try both kind of panels in the same kernel/D

[PATCH for v5.9] docs: hwmon: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v6 6/7] prctl: exe link permission error changed from -EINVAL to -EPERM

2020-07-19 Thread Serge E. Hallyn
On Sun, Jul 19, 2020 at 12:04:16PM +0200, Adrian Reber wrote: > From: Nicolas Viennot > > This brings consistency with the rest of the prctl() syscall where > -EPERM is returned when failing a capability check. > > Signed-off-by: Nicolas Viennot > Signed-off-by: Adrian Reber Ok, i see how EIN

Re: [PATCH] net: neterion: vxge: reduce stack usage in VXGE_COMPLETE_VPATH_TX

2020-07-19 Thread Stephen Hemminger
On Thu, 16 Jul 2020 17:32:47 + Bixuan Cui wrote: > Fix the warning: [-Werror=-Wframe-larger-than=] > > drivers/net/ethernet/neterion/vxge/vxge-main.c: > In function'VXGE_COMPLETE_VPATH_TX.isra.37': > drivers/net/ethernet/neterion/vxge/vxge-main.c:119:1: > warning: the frame size of 1056 byte

Re: net: decnet: TODO Items

2020-07-19 Thread Stephen Hemminger
On Fri, 17 Jul 2020 11:48:16 +0530 Suraj Upadhyay wrote: > Hi Maintainers and Developers, > I am interested in the DECnet TODO list. > I just need a quick response whether they are worth doing or not > for the amount of development happening in this subsystem is extremely > low and I can't

[PATCH 2/4] dt-bindings: ili9881c: add compatible string for Feixin K101-IM2BYL02

2020-07-19 Thread Icenowy Zheng
Feixin K101-IM2BYL02 is a drop-in replacement of K101-IM2BA02 panel (which is already supported by panel-feixin-k101-im2ba02 driver) with the same pinout. It utilizes an Ilitek ILI9881C controller chip, so its compatible string should be added to ilitek,ili9881c file. Add the compatible string for

[PATCH 3/4] drm/panel: ilitek-ili9881c: add support for Feixin K101-IM2BYL02 panel

2020-07-19 Thread Icenowy Zheng
Feixin K101-IM2BYL02 is a new panel by Feixin designed as a replacement to their K101-IM2BA02 panel. This panel utilizes the Ilitek ILI9881C controller. Add this panel's initialzation sequence and timing to ILI9881C driver. Signed-off-by: Icenowy Zheng --- drivers/gpu/drm/panel/panel-ilitek-ili

Re: [PATCH 0/4] fs: add mount_setattr()

2020-07-19 Thread Al Viro
On Tue, Jul 14, 2020 at 06:14:11PM +0200, Christian Brauner wrote: > mount_setattr() can be expected to grow over time and is designed with > extensibility in mind. It follows the extensible syscall pattern we have > used with other syscalls such as openat2(), clone3(), > sched_{set,get}attr(), an

[PATCH 4/4] [DO NOT MERGE] arm64: allwinner: dts: a64: enable K101-IM2BYL02 panel for PineTab

2020-07-19 Thread Icenowy Zheng
Newer PineTab may switch to K101-IM2BYL02. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pineta

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

[PATCH 1/4] drm/panel: ilitek-ili9881c: prepare for adding support for extra panels

2020-07-19 Thread Icenowy Zheng
There're more panels with ILI9881C controller than the Bananapi one supported by this driver. Extract the mode and init sequence part, to prepare the driver for adding new panels. Signed-off-by: Icenowy Zheng --- drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 56 --- 1 file cha

Re: INFO: rcu detected stall in sys_clock_settime

2020-07-19 Thread syzbot
syzbot has bisected this issue to: commit 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 Author: Vinicius Costa Gomes Date: Sat Sep 29 00:59:43 2018 + tc: Add support for configuring the taprio scheduler bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=167142f090 start commi

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

2020-07-19 Thread Sam Ravnborg
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 Lt9611 is a DSI to HDMI bridge which supports two DSI ports and > I2S port as an input and HDMI p

[PATCH for v5.9] drm/tilcdc: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

[PATCH for v5.9] dt-bindings: aspeed-lpc: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: net: decnet: TODO Items

2020-07-19 Thread Suraj Upadhyay
On Sun, Jul 19, 2020 at 10:06:49AM -0700, Stephen Hemminger wrote: > On Fri, 17 Jul 2020 11:48:16 +0530 > Suraj Upadhyay wrote: > > > Hi Maintainers and Developers, > > I am interested in the DECnet TODO list. > > I just need a quick response whether they are worth doing or not > > for the am

[PATCH v2 1/3] arm64: dts: amlogic: meson-gx: add the Mali-450 OPP table and use DVFS

2020-07-19 Thread Martin Blumenstingl
Add the OPP table for the Mali-450 GPU and drop the hardcoded initial clock configuration. This enables GPU DVFS and thus saves power when the GPU is not in use while still being able switch to a higher clock on demand. Set the GP0_PLL clock to 744MHz (which is the only frequency which cannot be d

My Dear in the lord

2020-07-19 Thread Mina A. Brunel
My Dear in the lord My name is Mrs. Mina A. Brunel I am a Norway Citizen who is living in Burkina Faso, I am married to Mr. Brunel Patrice, a politicians who owns a small gold company in Burkina Faso; He died of Leprosy and Radesyge, in year February 2010, During his lifetime he deposited t

[PATCH v2 3/3] arm64: dts: amlogic: meson-g12: add the Mali OPP table and use DVFS

2020-07-19 Thread Martin Blumenstingl
Add the OPP table for the Mali Bifrost GPU and drop the hardcoded initial clock configuration. This enables GPU DVFS and thus saves power when the GPU is not in use while still being able switch to a higher clock on demand. Set the GP0_PLL clock to 744MHz (which is the only frequency which cannot

[PATCH v2 2/3] arm64: dts: amlogic: meson-gxm: add the Mali OPP table and use DVFS

2020-07-19 Thread Martin Blumenstingl
Add the OPP table for the Mali-T820 GPU and drop the hardcoded initial clock configuration. This enables GPU DVFS and thus saves power when the GPU is not in use while still being able switch to a higher clock on demand. Signed-off-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-gx

[PATCH v2 0/3] GPU DVFS for Meson GXBB/GXL/GXM/G12A/G12B/SM1

2020-07-19 Thread Martin Blumenstingl
Now that we have GPU DVFS support in lima [0] (in Linux 5.7) and panfrost we can make it work on Amlogic SoCs. I decided to remove code duplication for the Mali-450 GPU on GXBB and GXL so it will be easier to maintain this. This refactoring is part of patch #1. Patches #2 (GXM) and #3 (G12A, G12B,

[PATCH v7 03/10] dmaengine: Actions: Add support for S700 DMA engine

2020-07-19 Thread Amit Singh Tomar
DMA controller present on S700 SoC is compatible with the one on S900 (as most of registers are same), but it has different DMA descriptor structure where registers "fcnt" and "ctrlb" uses different encoding. For instance, on S900 "fcnt" starts at offset 0x0c and uses upper 12 bits whereas on S700

[PATCH v7 01/10] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml

2020-07-19 Thread Amit Singh Tomar
Converts the device tree bindings for the Actions Semi Owl SoCs DMA Controller over to YAML schemas. It also adds new compatible string "actions,s700-dma". Signed-off-by: Amit Singh Tomar --- Changes since v6: * No change. Changes since v5: * Removed Rob's Reviewed-by tag as his

[PATCH v7 00/10] Add MMC and DMA support for Actions S700

2020-07-19 Thread Amit Singh Tomar
This Series(v7) brought back the uSD regulator to model it correctly in DT, and for that patch 10/10 has changed. -- Series(v6) addressed the review comments from Rob and Mani, changes are made in patch 01/10 and 10/10. Rob's bot re

[PATCH v7 02/10] dmaengine: Actions: get rid of bit fields from dma descriptor

2020-07-19 Thread Amit Singh Tomar
At the moment, Driver uses bit fields to describe registers of the DMA descriptor structure that makes it less portable and maintainable, and Andre suugested(and even sketched important bits for it) to make use of array to describe this DMA descriptors instead. It gives the flexibility while extend

[PATCH v7 04/10] clk: actions: Add MMC clock-register reset bits

2020-07-19 Thread Amit Singh Tomar
This commit adds reset bits needed for MMC clock registers present on Actions S700 SoC. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v6: * No change. Changes since v5: * Added Mani's Reviewed-by: tag. Changes from v4: * Reordered it

[PATCH v7 05/10] arm64: dts: actions: limit address range for pinctrl node

2020-07-19 Thread Amit Singh Tomar
After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions Semi S700") following error has been observed while booting Linux on Cubieboard7-lite(based on S700 SoC). [0.257415] pinctrl-s700 e01b.pinctrl: can't request region for resource [mem 0xe01b-0xe01b0fff] [0

[PATCH v7 09/10] arm64: dts: actions: Add MMC controller support for S700

2020-07-19 Thread Amit Singh Tomar
This commits adds support for MMC controllers present on Actions S700 SoC, there are 3 MMC controllers in this SoC which can be used for accessing SD/EMMC/SDIO cards. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v6: * No change. Changes since v5:

[PATCH v7 10/10] arm64: dts: actions: Add uSD support for Cubieboard7

2020-07-19 Thread Amit Singh Tomar
This commit adds uSD support for Cubieboard7 board based on Actions Semi S700 SoC. SD0 is connected to uSD slot. Since there is no PMIC support added yet, fixed regulator has been used as a regulator node. Signed-off-by: Amit Singh Tomar --- Changes since v6: * Brought back the uSD fixed

[PATCH v7 07/10] dt-bindings: reset: s700: Add binding constants for mmc

2020-07-19 Thread Amit Singh Tomar
This commit adds device tree binding reset constants for mmc controller present on Actions S700 Soc. Reviewed-by: Manivannan Sadhasivam Acked-by: Rob Herring Signed-off-by: Amit Singh Tomar --- Changes since v6: * No change. Changes since v5: * Added Mani's Reviewed-by: tag. Cha

[PATCH v7 06/10] arm64: dts: actions: Add DMA Controller for S700

2020-07-19 Thread Amit Singh Tomar
This commit adds DMA controller present on Actions S700, it differs from S900 in terms of number of dma channels and requests. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Amit Singh Tomar --- Changes since v6: * No change. Changes since v5: * Added Mani's Reviewed-by: tag.

[PATCH v7 08/10] dt-bindings: mmc: owl: add compatible string actions,s700-mmc

2020-07-19 Thread Amit Singh Tomar
The commit adds a new SoC specific compatible string "actions,s700-mmc" in combination with more generic string "actions,owl-mmc". Placement order of these strings should abide by the principle of "from most specific to most general". Reviewed-by: Manivannan Sadhasivam Reviewed-by: Rob Herring

[PATCH for v5.9] dt-bindings: drm/bridge: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 0/4] fs: add mount_setattr()

2020-07-19 Thread Christian Brauner
On Sun, Jul 19, 2020 at 06:10:54PM +0100, Al Viro wrote: > On Tue, Jul 14, 2020 at 06:14:11PM +0200, Christian Brauner wrote: > > > mount_setattr() can be expected to grow over time and is designed with > > extensibility in mind. It follows the extensible syscall pattern we have > > used with othe

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

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

[PATCH] MAINTAINERS: mark usbvision as obsolete

2020-07-19 Thread bkkarthik
mark staging/media/usbvision as obsolete so checkpatch tells people not to send patches. Signed-off-by: bkkarthik --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a88bf0759c90..82120c2fcedd 100644 --- a/MAINTAINERS +++ b/MAINTAIN

[PATCH for v5.9] hwmon: (ina209) Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
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://[^# \t\r\n]*(?:\w|/)`:

[PATCH] crypto: asymmetric_keys: fix some comments in pkcs7_parser.h

2020-07-19 Thread Randy Dunlap
Drop the doubled word "the" in a comment. Change "THis" to "This". Signed-off-by: Randy Dunlap Cc: David Howells Cc: keyri...@vger.kernel.org --- crypto/asymmetric_keys/pkcs7_parser.h |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-next-20200717.orig/crypto/asymmetric_k

[PATCH] crypto: testmgr.h: delete duplicated words

2020-07-19 Thread Randy Dunlap
Delete the doubled word "from" in multiple places. Signed-off-by: Randy Dunlap Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-cry...@vger.kernel.org --- crypto/testmgr.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) --- linux-next-20200717.orig/crypto/testmgr.h +++ linux-

[PATCH] net: atm: lec_arpc.h: delete duplicated word

2020-07-19 Thread Randy Dunlap
Delete the doubled word "the" in a comment. Signed-off-by: Randy Dunlap Cc: "David S. Miller" Cc: Jakub Kicinski Cc: net...@vger.kernel.org --- net/atm/lec_arpc.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200717.orig/net/atm/lec_arpc.h +++ linux-next-20200717/n

[PATCH] net: rds: rdma_transport.h: delete duplicated word

2020-07-19 Thread Randy Dunlap
Delete the doubled word "be" in a comment. Signed-off-by: Randy Dunlap Cc: Santosh Shilimkar Cc: net...@vger.kernel.org Cc: linux-r...@vger.kernel.org --- net/rds/rdma_transport.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200717.orig/net/rds/rdma_transport.h +++

[PATCH] net: batman-adv: types.h: delete duplicated words

2020-07-19 Thread Randy Dunlap
Delete the doubled word "time" in a comment. Delete the doubled word "address" in a comment. Signed-off-by: Randy Dunlap Cc: Marek Lindner Cc: Simon Wunderlich Cc: Antonio Quartulli Cc: Sven Eckelmann Cc: b.a.t.m@lists.open-mesh.org --- net/batman-adv/types.h |4 ++-- 1 file changed,

[PATCH] sound: asihpi: delete duplicated word

2020-07-19 Thread Randy Dunlap
Delete the doubled word "of" in a comment. Signed-off-by: Randy Dunlap Cc: Takashi Iwai Cc: Jaroslav Kysela Cc: alsa-de...@alsa-project.org --- sound/pci/asihpi/hpi_internal.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200717.orig/sound/pci/asihpi/hpi_internal.h

[PATCH] security: apparmor: file.h: delete duplicated word

2020-07-19 Thread Randy Dunlap
Delete the doubled word "then" in a comment. Signed-off-by: Randy Dunlap Cc: John Johansen Cc: appar...@lists.ubuntu.com --- security/apparmor/include/file.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200717.orig/security/apparmor/include/file.h +++ linux-next-20

[PATCH] ASoC: tegra20_das.h: delete duplicated words

2020-07-19 Thread Randy Dunlap
Delete the doubled word "to" in two comments. Signed-off-by: Randy Dunlap Cc: Stephen Warren Cc: Mark Brown Cc: alsa-de...@alsa-project.org --- sound/soc/tegra/tegra20_das.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200717.orig/sound/soc/tegra/tegra20_das.h

[PATCH] ASoC: wcd9335.h: fix duplicated word

2020-07-19 Thread Randy Dunlap
Fix the doubled word "in" in a comment by adding punctuation in 3 places and capitalization. Signed-off-by: Randy Dunlap Cc: Mark Brown Cc: alsa-de...@alsa-project.org --- sound/soc/codecs/wcd9335.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-next-20200717.orig/sou

Re: [PATCH] staging: wlan-ng: properly check endpoint types

2020-07-19 Thread Rustam Kovhaev
On Sun, Jul 19, 2020 at 11:23:38AM +0200, Greg KH wrote: > On Sat, Jul 18, 2020 at 08:58:36AM -0700, Rustam Kovhaev wrote: > > As syzkaller detected, wlan-ng driver submits bulk urb without checking > > that the endpoint type is actually bulk, add usb_urb_ep_type_check() > > > > Reported-and-teste

[PATCH 05/19] perf metric: Add macros for iterating map events

2020-07-19 Thread Jiri Olsa
Adding following macros to iterate events and metric: map_for_each_event(__pe, __idx, __map) - iterates over all pmu_events_map events map_for_each_metric(__pe, __idx, __map, __metric) - iterates over all metrics that match __metric argument and use it in metricgroup__add_metric functi

[PATCH 02/19] perf metric: Add expr__add_id function

2020-07-19 Thread Jiri Olsa
Adding expr__add_id function to data for ID with zero value, which is used when scanning the expression for IDs. Acked-by: Ian Rogers Signed-off-by: Jiri Olsa --- tools/perf/util/expr.c | 31 +-- tools/perf/util/expr.h | 1 + tools/perf/util/expr.y | 2 +- 3 files

[PATCH 06/19] perf metric: Add add_metric function

2020-07-19 Thread Jiri Olsa
Decouple metric adding logging into add_metric function, so it can be used from other places in following changes. Acked-by: Ian Rogers Signed-off-by: Jiri Olsa --- tools/perf/util/metricgroup.c | 62 --- 1 file changed, 36 insertions(+), 26 deletions(-) diff --

Re: [RFC PATCH 0/5] keys: Security changes, ACLs and Container keyring

2020-07-19 Thread Eric W. Biederman
David Howells writes: > Here are some patches to provide some security changes and some container > support: Nacked-by: "Eric W. Biederman" There remain unfixed security issues in the new mount api. Those need to get fixed before it is even worth anyones time reviewing new code. Those issue

<    1   2   3   4   5   6   >