[PATCH v3 1/3] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-27 Thread cy_huang
From: ChiYuan Huang Mediatek MT6360 is a multi-functional IC that includes USB Type-C. It works with Type-C Port Controller Manager to provide USB PD and USB Type-C functionalities. v1 to v2 1. Add fix to Prevent the race condition from interrupt and tcpci port unregister during module remove.

[PATCH v3 2/3] usb typec: mt6360: Rename driver/Kconfig/Makefile from mt6360 to mt636x

2020-08-27 Thread cy_huang
From: ChiYuan Huang 1. Rename file form tcpci_mt6360.c to tcpci_mt636x.c 2. Rename internal function from mt6360 to mt636x, except the register definition. 3. Change Kconfig/Makefile from MT6360 to MT636X. Signed-off-by: ChiYuan Huang --- drivers/usb/typec/tcpm/Kconfig| 6 +- drivers

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-27 Thread Mark Brown
On Thu, Aug 27, 2020 at 12:06:57AM +0300, Vladimir Oltean wrote: > On Wed, Aug 26, 2020 at 09:45:47PM +0100, Mark Brown wrote: > > On Wed, Aug 26, 2020 at 11:41:08PM +0300, Vladimir Oltean wrote: > > > Something doesn't look right about PRP0001, what's the catch? > > Microsoft decided not to impl

Re: WARNING: at drivers/opp/core.c:678 dev_pm_opp_set_rate+0x4cc/0x5d4 - on arm x15

2020-08-27 Thread Stephen Rothwell
Hi Viresh, On Thu, 27 Aug 2020 15:16:51 +0530 Viresh Kumar wrote: > > On 27-08-20, 15:04, Naresh Kamboju wrote: > > While boot testing arm x15 devices the Kernel warning noticed with linux > > next > > tag 20200825. > > > > BAD: next-20200825 > > GOOD: next-20200824 > > > > metadata: > > g

Re: [PATCH v10 3/4] media: docs: add glossary.rst with common terms used at V4L2 spec

2020-08-27 Thread Sakari Ailus
Hi Mauro, On Thu, Aug 27, 2020 at 09:21:47AM +0200, Mauro Carvalho Chehab wrote: > Add a glossary of terms used within the media userspace API > documentation, as several concepts are complex enough to cause > misunderstandings. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../userspace-api

[PATCH net-next v1 3/3] hinic: add support to query function table

2020-08-27 Thread Luo bin
add debugfs node for querying function table, for example: cat /sys/kernel/debug/hinic/:15:00.0/func_table/valid Signed-off-by: Luo bin --- V0~V1: - remove command interfaces to the read only files - split addition of each object into a separate patch .../net/ethernet/huawei/hinic/hinic_deb

[PATCH v3 3/3] usb typec: mt6360: Add MT6360 Type-C DT binding documentation

2020-08-27 Thread cy_huang
From: ChiYuan Huang Add a devicetree binding documentation for the MT6360 Type-C driver. usb typec: mt6360: Rename DT binding doument from mt6360 to mt636x Change binding document file name from mt6360 to mt636xfor the future compatible. Also change internal description from mt6360 to mt636x.

[PATCH] mmc: sdhci-msm: Enable restore_dll_config flag for sc7180 target

2020-08-27 Thread Veerabhadrarao Badiganti
On sc7180 target, issues are observed with HS400 mode due to a hardware limitation. If sdcc clock is dynamically gated and ungated, the very next command is failing with command CRC/timeout errors. To mitigate this issue, DLL phase has to be restored whenever sdcc clock is gated dynamically. The r

[PATCH] net: Set trailer iff skb1 is the last one

2020-08-27 Thread Miaohe Lin
Set trailer iff skb1 is the skbuff where the tailbits space begins. Signed-off-by: Miaohe Lin --- net/core/skbuff.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 0b24aed04060..18ed56316e56 100644 --- a/net/core/skbuff.c +++ b/ne

[PATCH net-next v1 2/3] hinic: add support to query rq info

2020-08-27 Thread Luo bin
add debugfs node for querying rq info, for example: cat /sys/kernel/debug/hinic/:15:00.0/RQs/0x0/rq_hw_pi Signed-off-by: Luo bin --- V0~V1: - remove command interfaces to the read only files - split addition of each object into a separate patch .../net/ethernet/huawei/hinic/hinic_debugfs.c

Re: [PATCH 28/35] kasan: define KASAN_GRANULE_SIZE for HW_TAGS

2020-08-27 Thread Vincenzo Frascino
On 8/27/20 11:41 AM, Catalin Marinas wrote: > On Fri, Aug 14, 2020 at 07:27:10PM +0200, Andrey Konovalov wrote: >> Hardware tag-based KASAN has granules of MTE_GRANULE_SIZE. Define >> KASAN_GRANULE_SIZE to MTE_GRANULE_SIZE for CONFIG_KASAN_HW_TAGS. >> >> Signed-off-by: Andrey Konovalov >> --- >

Re: [PATCH 02/18] fsinfo: Add fsinfo() syscall to query filesystem information [ver #21]

2020-08-27 Thread Michael Kerrisk (man-pages)
Hello David, On Mon, 3 Aug 2020 at 15:37, David Howells wrote: > > Add a system call to allow filesystem information to be queried. A request > value can be given to indicate the desired attribute. Support is provided > for enumerating multi-value attributes. Do we have an up to date manual pa

Re: [PATCH 26/35] kasan, arm64: Enable TBI EL1

2020-08-27 Thread Catalin Marinas
On Thu, Aug 27, 2020 at 12:05:55PM +0100, Vincenzo Frascino wrote: > On 8/27/20 11:40 AM, Catalin Marinas wrote: > > On Fri, Aug 14, 2020 at 07:27:08PM +0200, Andrey Konovalov wrote: > >> diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S > >> index 152d74f2cc9c..6880ddaa5144 100644 > >> ---

[PATCH net-next v1 0/3] hinic: add debugfs support

2020-08-27 Thread Luo bin
add debugfs node for querying sq/rq info and function table Luo bin (3): hinic: add support to query sq info hinic: add support to query rq info hinic: add support to query function table drivers/net/ethernet/huawei/hinic/Makefile| 3 +- .../net/ethernet/huawei/hinic/hinic_debugfs.c

[PATCH net-next v1 1/3] hinic: add support to query sq info

2020-08-27 Thread Luo bin
add debugfs node for querying sq info, for example: cat /sys/kernel/debug/hinic/:15:00.0/SQs/0x0/sq_pi Signed-off-by: Luo bin --- V0~V1: - remove command interfaces to the read only files - split addition of each object into a separate patch drivers/net/ethernet/huawei/hinic/Makefile|

Re: [PATCH 26/35] kasan, arm64: Enable TBI EL1

2020-08-27 Thread Vincenzo Frascino
On 8/27/20 11:40 AM, Catalin Marinas wrote: > On Fri, Aug 14, 2020 at 07:27:08PM +0200, Andrey Konovalov wrote: >> diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S >> index 152d74f2cc9c..6880ddaa5144 100644 >> --- a/arch/arm64/mm/proc.S >> +++ b/arch/arm64/mm/proc.S >> @@ -38,7 +38,7 @@ >>

Re: [PATCH V3 2/3] arm64: dts: qcom: sc7180: Add sleep pin ctrl for BT uart

2020-08-27 Thread Matthias Kaehlcke
Hi Satya, On Thu, Aug 27, 2020 at 08:37:33PM +0530, ska...@codeaurora.org wrote: > Hi Matthias, > > On 2020-08-26 22:10, Matthias Kaehlcke wrote: > > Hi Satya, > > > > On Wed, Aug 26, 2020 at 09:35:15PM +0530, ska...@codeaurora.org wrote: > > > Hi Matthias, > > > > > > On 2020-08-25 22:08, Matt

Re: [PATCH 2/5] Add manpages for move_mount(2)

2020-08-27 Thread Michael Kerrisk (man-pages)
Hello David, On 8/24/20 2:24 PM, David Howells wrote: > Add manual pages to document the move_mount() system call. > > Signed-off-by: David Howells > --- > > man2/move_mount.2 | 267 > + > 1 file changed, 267 insertions(+) > create mode 10

Re: [PATCH v5 1/3] dt-bindings: interrupt-controller: Add Actions SIRQ controller binding

2020-08-27 Thread Cristian Ciocaltea
Hi Marc, On Thu, Aug 27, 2020 at 11:35:06AM +0100, Marc Zyngier wrote: > On 2020-08-27 11:06, Cristian Ciocaltea wrote: > > On Wed, Aug 26, 2020 at 04:48:38PM -0600, Rob Herring wrote: > > > On Wed, Aug 26, 2020 at 3:42 PM Cristian Ciocaltea > > > wrote: > > [...] > > > > Ultimately the GIC tri

Re: [PATCH v6 13/76] x86/boot/compressed/64: Add IDT Infrastructure

2020-08-27 Thread Arvind Sankar
On Mon, Aug 24, 2020 at 10:54:08AM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Add code needed to setup an IDT in the early pre-decompression > boot-code. The IDT is loaded first in startup_64, which is after > EfiExitBootServices() has been called, and later reloaded when the > kernel im

[PATCH v3 1/5] cpufreq: intel_pstate: Refuse to turn off with HWP enabled

2020-08-27 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" After commit f6ebbcf08f37 ("cpufreq: intel_pstate: Implement passive mode with HWP enabled") it is possible to change the driver status to "off" via sysfs with HWP enabled, which effectively causes the driver to unregister itself, but HWP remains active and it forces the

[PATCH v3 0/5] cpufreq: intel_pstate: Address some HWP-related oddities

2020-08-27 Thread Rafael J. Wysocki
Hi All, The v3 is here to address feedback from Srinivas and Doug, and Artem concerns regarding the EPP sysfs interface changes. The purpose of this series is to address some peculiarities related to taking CPUs offline/online and switching between different operation modes with HWP enabled that

[PATCH v3 3/5] cpufreq: intel_pstate: Tweak the EPP sysfs interface

2020-08-27 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" Modify the EPP sysfs interface to reject attempts to change the EPP to values different from 0 ("performance") in the active mode with the "performance" policy (ie. scaling_governor set to "performance"), to avoid situations in which the kernel appears to discard data pa

[PATCH v3 2/5] cpufreq: intel_pstate: Update cached EPP in the active mode

2020-08-27 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" Make intel_pstate update the cached EPP value when setting the EPP via sysfs in the active mode just like it is the case in the passive mode, for consistency, but also for the benefit of subsequent changes. No intentional functional impact. Signed-off-by: Rafael J. Wys

[PATCH v3 5/5] cpufreq: intel_pstate: Free memory only when turning off

2020-08-27 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" When intel_pstate switches the operation mode from "active" to "passive" or the other way around, freeing its data structures representing CPUs and allocating them again from scratch is not necessary and wasteful. Moreover, if these data structures are preserved, the ca

[PATCH v3 4/5] cpufreq: intel_pstate: Add ->offline and ->online callbacks

2020-08-27 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" Add ->offline and ->online driver callbacks to prepare for taking a CPU offline and to restore its working configuration when it goes back online, respectively, to avoid invoking the ->init callback on every CPU online which is quite a bit of unnecessary overhead. Defin

[PATCH] clk: Make kerneldoc consistent

2020-08-27 Thread Thierry Reding
From: Thierry Reding The kerneldoc comment for of_parse_clkspec() mentions in one place that the value of the index parameter dictates how name is used, whereas in reality it's the name parameter that dictates whether or not the index parameter is used. In a later paragraph the kerneldoc comment

Re: [GIT PULL] fscache rewrite -- please drop for now

2020-08-27 Thread David Howells
Christoph Hellwig wrote: > FYI, a giant rewrite dropping support for existing consumer is always > rather awkward. Is there any way you could pre-stage some infrastructure > changes, and then do a temporary fscache2, which could then be renamed > back to fscache once everyone switched over? Tha

Re: [PATCH] udf: Use kvzalloc() in udf_sb_alloc_bitmap()

2020-08-27 Thread Denis Efremov
> @@ -1013,10 +1013,7 @@ static struct udf_bitmap *udf_sb_alloc_bitmap(struct > super_block *sb, u32 index) > size = sizeof(struct udf_bitmap) + > (sizeof(struct buffer_head *) * nr_groups); I missed that this size is a good place to use struct_size for overflow checking. I

[PATCH v2 0/2] dt-bindings: can: document R8A774E1

2020-08-27 Thread Lad Prabhakar
Hi All, Both the patches are part of series [1] (patch 18/20, 19/20), rest of the patches have been acked/merged so just sending two patches from the series. [1] https://lkml.org/lkml/2020/7/15/515 Cheers, Prabhakar Changes for v2: * Added R8A774E1 to the list of SoCs that can use CANFD through

[PATCH v2 2/2] dt-bindings: can: rcar_can: Document r8a774e1 support

2020-08-27 Thread Lad Prabhakar
Document SoC specific bindings for RZ/G2H (R8A774E1) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring --- Documentation/devicetree/bindings/net/can/rcar_can.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(

[PATCH v2 1/2] dt-bindings: can: rcar_canfd: Document r8a774e1 support

2020-08-27 Thread Lad Prabhakar
Document the support for rcar_canfd on R8A774E1 SoC devices. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring --- Documentation/devicetree/bindings/net/can/rcar_canfd.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 delet

Re: remove the last set_fs() in common code, and remove it for x86 and powerpc v2

2020-08-27 Thread Christoph Hellwig
> Diffstat: Actually no diffstat here as David Howells pointed out. Here we go: arch/Kconfig |3 arch/alpha/Kconfig |1 arch/arc/Kconfig |1 arch/arm/Kconfig |1 arch/arm64/Kconfig

Re: [PATCH v1 01/10] powerpc/pseries/iommu: Replace hard-coded page shift

2020-08-27 Thread Leonardo Bras
Hello Alexey, thank you for this feedback! On Sat, 2020-08-22 at 19:33 +1000, Alexey Kardashevskiy wrote: > > +#define TCE_RPN_BITS 52 /* Bits 0-51 represent > > RPN on TCE */ > > Ditch this one and use MAX_PHYSMEM_BITS instead? I am pretty sure this > is the actual li

[PATCH] mmc: sdhci-msm: When dev_pm_opp_of_add_table() returns 0 it's not an error

2020-08-27 Thread Douglas Anderson
The commit d05a7238fe1c ("mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()") works fine in the case where there is no OPP table. However, if there is an OPP table then dev_pm_opp_of_add_table() will return 0. Since 0 != -ENODEV then the "if (ret != -ENODEV)" will evaluate to true

RE: [PATCH v9 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-08-27 Thread Ben Levinsky
Hi Michael, Thanks for comment. Maybe I missed some of the comments then? I had thought that your comments were the following and that I had answered them in the code: V8 3/5: - zynqmp_pm_set_rpu_mode: pass arg1 instead of 0 to zynqmp_pm_invoke_fn This should be reflected in v9 3/5 - update kerne

Re: [PATCH] sched/numa: use runnable_avg to classify node

2020-08-27 Thread Mel Gorman
On Tue, Aug 25, 2020 at 02:18:18PM +0200, Vincent Guittot wrote: > Use runnable_avg to classify numa node state similarly to what is done for > normal load balancer. This helps to ensure that numa and normal balancers > use the same view of the state of the system. > > - large arm64system: 2 nodes

Re: [PATCH 1/1] USB: PHY: JZ4770: Fix uninitialized value written to HW register

2020-08-27 Thread Zhou Yanjie
Hi 在 2020/8/27 下午9:50, Paul Cercueil 写道: Le jeu. 27 août 2020 à 16:25, Felipe Balbi a écrit : Hi, Paul Cercueil writes:   @@ -172,7 +172,8 @@ static int ingenic_usb_phy_init(struct usb_phy  *phy)    return err;    }   -    priv->soc_info->usb_phy_init(phy);   +    reg = priv

[PATCH] sched/debug: Add new tracepoint to track cpu_capacity

2020-08-27 Thread vincent . donnefort
From: Vincent Donnefort rq->cpu_capacity is a key element in several scheduler parts, such as EAS task placement and load balancing. Tracking this value enables testing and/or debugging by a toolkit. Signed-off-by: Vincent Donnefort diff --git a/include/linux/sched.h b/include/linux/sched.h in

Re: [PATCH 7/7] [NOT FOR MERGE] ARM: dts: sun8i: a83t: bananapi-m3: Enable OV8865 camera

2020-08-27 Thread Maxime Ripard
Hi, On Wed, Aug 26, 2020 at 10:58:34AM +0200, Kévin L'hôpital wrote: > > > +&ccu { > > > + assigned-clocks = <&ccu CLK_CSI_MCLK>; > > > + assigned-clock-parents = <&osc24M>; > > > + assigned-clock-rates = <2400>; > > > +}; > > > > Why do you need to use assigned-clocks here? > > I could do

[PATCH v7 1/9] iommu: Change type of pasid to u32

2020-08-27 Thread Fenghua Yu
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 and a little more explicit than "unsigned int". No PASID type change

[PATCH] mmc: sdhci-msm: We need to restore_dll_config for sc7180

2020-08-27 Thread Douglas Anderson
Although sc7180 is supposed to have a hardware fix that means that we don't have to restore the DLL config like we did with sdm845, apparently the hardware fix doesn't work in all cases. Until it's understood under exactly which cases we the hardware fix malfunctions, let's go back to restoring th

Re: [PATCH 5/7] media: sunxi: sun6i-csi: Add support of MIPI CSI-2 for A83T

2020-08-27 Thread Maxime Ripard
On Wed, Aug 26, 2020 at 11:17:28AM +0200, Kévin L'hôpital wrote: > > > + mdelay(10); > > > > Why do you need an mdelay here? > > yes a msleep could be more correct here. My question was more about whether/why you need one in the first place, not necessarily how you would implement that delay.

Re: [PATCH v5 1/3] dt-bindings: interrupt-controller: Add Actions SIRQ controller binding

2020-08-27 Thread Marc Zyngier
Cristian, On 2020-08-27 16:24, Cristian Ciocaltea wrote: Hi Marc, On Thu, Aug 27, 2020 at 11:35:06AM +0100, Marc Zyngier wrote: On 2020-08-27 11:06, Cristian Ciocaltea wrote: > On Wed, Aug 26, 2020 at 04:48:38PM -0600, Rob Herring wrote: > > On Wed, Aug 26, 2020 at 3:42 PM Cristian Ciocaltea >

Re: [PATCH v8 1/2] Add a "nosymfollow" mount option.

2020-08-27 Thread Aleksa Sarai
On 2020-08-27, Al Viro wrote: > On Wed, Aug 26, 2020 at 02:48:19PM -0600, Ross Zwisler wrote: > > > Al, now that the changes to fs/namei.c have landed and we're past the merge > > window for v5.9, what are your thoughts on this patch and the associated > > test? > > Humm... should that be nd->

Re: [PATCH] sched/numa: use runnable_avg to classify node

2020-08-27 Thread Vincent Guittot
On Thu, 27 Aug 2020 at 17:35, Mel Gorman wrote: > > On Tue, Aug 25, 2020 at 02:18:18PM +0200, Vincent Guittot wrote: > > Use runnable_avg to classify numa node state similarly to what is done for > > normal load balancer. This helps to ensure that numa and normal balancers > > use the same view of

[PATCH v2] ARM/dma-mapping: use kvzalloc() in __iommu_alloc_buffer()

2020-08-27 Thread Denis Efremov
Use kvzalloc() in __iommu_alloc_buffer() instead of open-coding it. Size computation wrapped in array_size() macro to prevent potential integer overflows. Signed-off-by: Denis Efremov --- Changes in v2: - array_size() added arch/arm/mm/dma-mapping.c | 6 +- 1 file changed, 1 insertion(+),

Re: [PATCH v6 7/7] sdhci: tegra: Add missing TMCLK for data timeout

2020-08-27 Thread Sowjanya Komatineni
On 8/27/20 8:14 AM, Jon Hunter wrote: On 27/08/2020 16:03, Sowjanya Komatineni wrote: On 8/27/20 1:40 AM, Jon Hunter wrote: On 27/08/2020 04:50, Sowjanya Komatineni wrote: commit b5a84ecf025a ("mmc: tegra: Add Tegra210 support") Tegra210 and later has a separate sdmmc_legacy_tm (TMCLK) used

Re: [PATCH] mmc: sdhci-msm: Enable restore_dll_config flag for sc7180 target

2020-08-27 Thread Doug Anderson
Hi, On Thu, Aug 27, 2020 at 8:22 AM Veerabhadrarao Badiganti wrote: > > On sc7180 target, issues are observed with HS400 mode due to a > hardware limitation. If sdcc clock is dynamically gated and ungated, > the very next command is failing with command CRC/timeout errors. > > To mitigate this is

Re: [PATCH] mmc: sdhci-msm: We need to restore_dll_config for sc7180

2020-08-27 Thread Doug Anderson
Hi, On Thu, Aug 27, 2020 at 8:41 AM Douglas Anderson wrote: > > Although sc7180 is supposed to have a hardware fix that means that we > don't have to restore the DLL config like we did with sdm845, > apparently the hardware fix doesn't work in all cases. Until it's > understood under exactly whi

Re: [RFC PATCH v2 3/3] Add Device Tree Bindings for mikroBUS port

2020-08-27 Thread Rob Herring
On Tue, Aug 18, 2020 at 6:48 AM Vaishnav M A wrote: > > This patch adds device tree bindings for the mikroBUS port, > device tree overlays for the mikrobus Port on the BeagleBoard.org > PocketBeagle is available here : > github.com/beagleboard/bb.org-overlays/blob/master/src/arm/PB-MIKROBUS-0.dts

Re: [PATCH 13/18] iommu/tegra: Add IOMMU_DOMAIN_DMA support

2020-08-27 Thread Thierry Reding
On Thu, Aug 20, 2020 at 04:08:32PM +0100, Robin Murphy wrote: > Now that arch/arm is wired up for default domains and iommu-dma, > implement the corresponding driver-side support for DMA domains. > > Signed-off-by: Robin Murphy > --- > drivers/iommu/tegra-smmu.c | 37 +---

Re: [PATCH] Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"

2020-08-27 Thread Steve deRosier
On Tue, Aug 25, 2020 at 10:49 PM Mauro Carvalho Chehab wrote: > > This patch causes a regression betwen Kernel 5.7 and 5.8 at wlcore: > with it applied, WiFi stops working, and the Kernel starts printing > this message every second: > >wlcore: PHY firmware version: Rev 8.2.0.0.242 >wlcore:

[PATCH v1 4/6] powerpc/vdso: Initialise vdso32_kbase at compile time

2020-08-27 Thread Christophe Leroy
Initialise vdso32_kbase at compile time like vdso64_kbase. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index c173c70ca7d2..6390a37dacea 100644 ---

[PATCH v1 6/6] powerpc/vdso: Declare vdso_patches[] as __initdata

2020-08-27 Thread Christophe Leroy
vdso_patches[] table is used only at init time. Mark it __initdata. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index 600df1164a0b..efaaee94f273 100644

[PATCH v1 2/6] powerpc/vdso: Don't reference vdso32 static functions/vars without CONFIG_VDSO32

2020-08-27 Thread Christophe Leroy
When CONFIG_VDSO32 is not selected, just don't reference the static vdso32 variables and functions. This allows the compiler to optimise them out, and allows to drop an #ifdef CONFIG_VDSO32. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/vdso.c | 14 +++--- 1 file changed, 7 in

[PATCH v1 1/6] powerpc/vdso: Remove DBG()

2020-08-27 Thread Christophe Leroy
DBG() is defined as void when DEBUG is not defined, and DEBUG is explicitly undefined. It means there is no other way than modifying source code to get the messages printed. It was most likely useful in the first days of VDSO, but today the only 3 DBG() calls don't deserve a special handling. Ju

[PATCH v1 5/6] powerpc/vdso: Declare constant vars as __ro_after_init

2020-08-27 Thread Christophe Leroy
To avoid any risk of modification of vital VDSO variables, declare them __ro_after_init. vdso32_kbase and vdso64_kbase could be made 'const', but it would have high impact on all functions using them as the compiler doesn't expect const property to be discarded. Signed-off-by: Christophe Leroy -

[PATCH v1 3/6] powerpc/vdso: Don't rely on vdso_pages being 0 for failure

2020-08-27 Thread Christophe Leroy
If vdso initialisation failed, vdso_ready is not set. Otherwise, vdso_pages is only 0 when it is a 32 bits task and CONFIG_VDSO32 is not selected. As arch_setup_additional_pages() now bails out directly in that case, we don't need to set vdso_pages to 0. Signed-off-by: Christophe Leroy --- arch

Re: [PATCH] udf: Use kvzalloc() in udf_sb_alloc_bitmap()

2020-08-27 Thread Joe Perches
On Thu, 2020-08-27 at 18:28 +0300, Denis Efremov wrote: > > @@ -1013,10 +1013,7 @@ static struct udf_bitmap *udf_sb_alloc_bitmap(struct > > super_block *sb, u32 index) > > size = sizeof(struct udf_bitmap) + > > (sizeof(struct buffer_head *) * nr_groups); > > I missed that this siz

Re: [ANNOUNCE] v5.9-rc2-rt1

2020-08-27 Thread Daniel Vacek
On Thu, Aug 27, 2020 at 2:49 PM Daniel Wagner wrote: > > > Would be interesting to see the size numbers for v5.6-rt? Hmm, I'll > > just start the compiler. It's all scripted anyway :) > > v5.6-rt: > > -rw-r--r-- 1 wagi users 28688896 Aug 27 13:38 rpi3-image-ll-v5.6.19-rt12 > -rw-r--r-- 1 wagi user

Re: [PATCH] fs/affs: Fix basic permission bits to actually work

2020-08-27 Thread John Paul Adrian Glaubitz
Hi Max! On 8/27/20 5:49 PM, Max Staudt wrote: > The basic permission bits (protection bits in AmigaOS) have been broken > in Linux' affs - it would only set bits, but never delete them. > Also, contrary to the documentation, the Archived bit was not handled. > > Let's fix this for good, and set t

Re: [PATCH v6 7/7] sdhci: tegra: Add missing TMCLK for data timeout

2020-08-27 Thread Jon Hunter
On 27/08/2020 16:43, Sowjanya Komatineni wrote: > > On 8/27/20 8:14 AM, Jon Hunter wrote: >> On 27/08/2020 16:03, Sowjanya Komatineni wrote: >>> On 8/27/20 1:40 AM, Jon Hunter wrote: On 27/08/2020 04:50, Sowjanya Komatineni wrote: > commit b5a84ecf025a ("mmc: tegra: Add Tegra210 support

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-27 Thread Linus Walleij
On Thu, Aug 27, 2020 at 4:00 PM Kent Gibson wrote: > This patchset defines and implements a new version of the > GPIO CDEV uAPI to address existing 32/64-bit alignment issues, add > support for debounce, event sequence numbers, and allow for requested > lines with different configurations. > It p

Re: [PATCH 5.8 130/232] sched/uclamp: Protect uclamp fast path code with static key

2020-08-27 Thread Greg Kroah-Hartman
On Thu, Aug 27, 2020 at 02:53:31PM +0100, Qais Yousef wrote: > On 08/20/20 11:19, Greg Kroah-Hartman wrote: > > From: Qais Yousef > > > > [ Upstream commit 46609ce227039fd192e0ecc7d940bed587fd2c78 ] > > > > There is a report that when uclamp is enabled, a netperf UDP test > > regresses compared

Re: [PATCH 16/18] staging/media/tegra-vde: Clean up IOMMU workaround

2020-08-27 Thread Thierry Reding
On Thu, Aug 27, 2020 at 10:05:14AM +0300, Dmitry Osipenko wrote: > 24.08.2020 17:01, Robin Murphy пишет: > ... > >> Robin, thank you very much for the clarifications! > >> > >> In accordance to yours comments, this patch can't be applied until Tegra > >> SMMU will support IOMMU_DOMAIN_IDENTITY and

RE: [PATCH v2 06/10] fs/ntfs3: Add compression

2020-08-27 Thread Konstantin Komarov
From: Randy Dunlap Sent: Friday, August 21, 2020 7:46 PM > [] > > +// 0x3FFF > > +#define HeaderOfNonCompressedChunk ((LZNT_CHUNK_SIZE + 2 - 3) | 0x3000) > > Do we need something in coding-style.rst that says: > Avoid CamelCase in Linux kernel source code. > ? Hi! Thanks. Will get rid of

[PATCH net] rxrpc: Fix memory leak in rxkad_verify_response()

2020-08-27 Thread David Howells
From: Dinghao Liu Fix a memory leak in rxkad_verify_response() whereby the response buffer doesn't get freed if we fail to allocate a ticket buffer. Fixes: ef68622da9cc ("rxrpc: Handle temporary errors better in rxkad security") Signed-off-by: Dinghao Liu Signed-off-by: David Howells --- net

Re: [PATCH] deprecated.rst: Remove now removed uninitialized_var

2020-08-27 Thread Joe Perches
On Thu, 2020-08-27 at 07:58 -0700, Kees Cook wrote: > On Wed, Aug 26, 2020 at 08:12:01PM -0700, Joe Perches wrote: > > It's now gone from the kernel so remove it from the deprecated API text. > > > > Signed-off-by: Joe Perches > > Oh! Right, thank you. I forgot to rewrite this. I'd like to keep

[PATCH] fs/affs: Fix basic permission bits to actually work

2020-08-27 Thread Max Staudt
The basic permission bits (protection bits in AmigaOS) have been broken in Linux' affs - it would only set bits, but never delete them. Also, contrary to the documentation, the Archived bit was not handled. Let's fix this for good, and set the bits such that Linux and classic AmigaOS can coexist i

[PATCH][next] drm/amdgpu/swsmu: fix potential uint32_t multiplication overflow

2020-08-27 Thread Colin King
From: Colin Ian King The calculation of tmp64 is performed using a 32 bit multiply and then is stored in the uint64_t variable tmp64. This indicates that a 64 bit result may be expected, so cast crystal_clock_freq to a uint64_t to ensure a 64 bit multiplication is being performed to avoid any pot

RE: [PATCH 01/10] fs: don't allow kernel reads and writes without iter ops

2020-08-27 Thread David Laight
From: Christoph Hellwig > Sent: 27 August 2020 16:00 > > Don't allow calling ->read or ->write with set_fs as a preparation for > killing off set_fs. All the instances that we use kernel_read/write on > are using the iter ops already. > > If a file has both the regular ->read/->write methods and

Re: [PATCH V2 0/2] Enable DVFS support for IPQ6018

2020-08-27 Thread Kathiravan T
Bjorn, Can you help to share your comments on this series? Thanks, Kathiravan T. On 8/17/2020 12:48 PM, Kathiravan T wrote: Add A53 PLL, APCS clock, RPM Glink, RPM message RAM, cpu-opp-table, SMPA2 regulator to enable the cpu frequency on IPQ6018. [v2] - Rebased on v5.9-rc1

Re: [PATCH v6 02/76] KVM: SVM: Add GHCB definitions

2020-08-27 Thread Arvind Sankar
On Tue, Aug 25, 2020 at 01:04:46PM +0200, Borislav Petkov wrote: > On Tue, Aug 25, 2020 at 11:22:24AM +0200, Joerg Roedel wrote: > > I don't think so, if I look at the history of these checks their whole > > purpose seems to be to alert the developer/maintainer when their size > > changes and that

Re: [PATCH v5 00/20] gpio: cdev: add uAPI v2

2020-08-27 Thread Bartosz Golaszewski
On Thu, Aug 27, 2020 at 5:53 PM Linus Walleij wrote: > > On Thu, Aug 27, 2020 at 4:00 PM Kent Gibson wrote: > > > This patchset defines and implements a new version of the > > GPIO CDEV uAPI to address existing 32/64-bit alignment issues, add > > support for debounce, event sequence numbers, and

RE: [PATCH v2 08/10] fs/ntfs3: Add Kconfig, Makefile and doc

2020-08-27 Thread Konstantin Komarov
From: Randy Dunlap Sent: Friday, August 21, 2020 8:23 PM > > On 8/21/20 9:25 AM, Konstantin Komarov wrote: > > This adds fs/ntfs3 Kconfig, Makefile and Documentation file [] > > + > > +- This driver implements NTFS read/write support for normal, sparsed and > >

RE: [PATCH v2 02/10] fs/ntfs3: Add initialization of super block

2020-08-27 Thread Konstantin Komarov
From: Randy Dunlap Sent: Friday, August 21, 2020 8:36 PM > On 8/21/20 9:25 AM, Konstantin Komarov wrote: > > > > +/* O:BAG:BAD:(A;OICI;FA;;;WD) */ > > What is that notation, please? > Apologies. It's MS's SSDL. We will have it explained a bit more in V3. > > +const u8 s_dir_security[] __alig

Re: [PATCH] staging: ion: remove from the tree

2020-08-27 Thread Greg Kroah-Hartman
On Thu, Aug 27, 2020 at 09:31:27AM -0400, Laura Abbott wrote: > On 8/27/20 8:36 AM, Greg Kroah-Hartman wrote: > > The ION android code has long been marked to be removed, now that we > > dma-buf support merged into the real part of the kernel. > > > > It was thought that we could wait to remove th

Re: [PATCH] MAINTAINERS: Add security docs to SECURITY CONTACT

2020-08-27 Thread Greg Kroah-Hartman
On Thu, Aug 27, 2020 at 03:20:16PM +0200, Krzysztof Kozlowski wrote: > On Thu, Aug 27, 2020 at 03:18:27PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Aug 27, 2020 at 03:13:30PM +0200, Krzysztof Kozlowski wrote: > > > When changing the documents related to kernel security workflow, notify > > > the

Re: [PATCH] net: Add 'else' to split mutually exclusive case

2020-08-27 Thread David Miller
From: Miaohe Lin Date: Thu, 27 Aug 2020 07:15:52 -0400 > Add else to split mutually exclusive case and avoid unnecessary check. > > Signed-off-by: Miaohe Lin I see no value to this, the compiler is doing the right thing already and this does not add to code readability either. I'm not applyin

Re: [PATCH] net: Call ip_hdrlen() when skbuff is not fragment

2020-08-27 Thread David Miller
From: Miaohe Lin Date: Thu, 27 Aug 2020 07:17:59 -0400 > When skbuff is fragment, we exit immediately and leave ip_hdrlen() as > unused. And remove the unnecessary local variable fragment. > > Signed-off-by: Miaohe Lin I don't think this is a useful optimization sorry, the common case will be

Re: [PATCH] net: exit immediately when encounter ipv6 fragment in skb_checksum_setup_ipv6()

2020-08-27 Thread David Miller
From: Miaohe Lin Date: Thu, 27 Aug 2020 07:21:59 -0400 > skb_checksum_setup_ipv6() always return -EPROTO if ipv6 packet is fragment. > So we should not continue to parse other header type in this case. Also > remove unnecessary local variable 'fragment'. > > Signed-off-by: Miaohe Lin Again, th

RE: [PATCH v2 00/10] fs: NTFS read-write driver GPL implementation by Paragon Software.

2020-08-27 Thread Konstantin Komarov
From: Joe Perches Sent: Friday, August 21, 2020 10:21 PM > > On Fri, 2020-08-21 at 16:24 +, Konstantin Komarov wrote: > > This patch adds NTFS Read-Write driver to fs/ntfs3. > > Thanks. > Proper ntfs read/write support will be great addition. > > Trivia: > > If this patchset is submitted a

Re: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain

2020-08-27 Thread Derrick, Jonathan
On Thu, 2020-08-27 at 06:34 +, h...@infradead.org wrote: > On Wed, Aug 26, 2020 at 09:43:27PM +, Derrick, Jonathan wrote: > > Feel free to review my set to disable the MSI remapping which will > > make > > it perform as well as direct-attached: > > > > https://patchwork.kernel.org/project/

Re: [PATCH 08/23] jfs: use ASSERT_FAIL()/ASSERT_WARN() to cleanup some code

2020-08-27 Thread kernel test robot
Hi Chunguang, Thank you for the patch! Yet something to improve: [auto build test ERROR on mkp-scsi/for-next] [also build test ERROR on scsi/for-next block/for-next linus/master asm-generic/master v5.9-rc2 next-20200827] [If your patch is applied to the wrong git tree, kindly drop us a note

RE: [PATCH v2 02/10] fs/ntfs3: Add initialization of super block

2020-08-27 Thread Konstantin Komarov
From: Joe Perches Sent: Friday, August 21, 2020 10:39 PM > > On Fri, 2020-08-21 at 16:25 +, Konstantin Komarov wrote: > > Initialization of super block for fs/ntfs3 > [] > > diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c > [] > > + > > +/** > > + * ntfs_trace() - print preformated ntfs spec

Re: [PATCH v2] null_blk: add support for max open/active zone limit for zoned devices

2020-08-27 Thread Randy Dunlap
On 8/27/20 8:04 AM, Damien Le Moal wrote: > On 2020/08/27 23:51, Randy Dunlap wrote: >> On 8/27/20 6:50 AM, Niklas Cassel wrote: >>> Add support for user space to set a max open zone and a max active zone >>> limit via configfs. By default, the default values are 0 == no limit. >> >> Hi, >> >> How

Re: [PATCH v2] efi/efivars: Create efivars mount point via efivars abstraction

2020-08-27 Thread joeyli
On Wed, Aug 26, 2020 at 11:56:33PM +0800, Joey Lee wrote: > Hi Ard, > > On Wed, Aug 26, 2020 at 02:08:18PM +0200, Ard Biesheuvel wrote: > > On Wed, 26 Aug 2020 at 02:46, Lee, Chun-Yi wrote: > > > > > > This patch creates efivars mount point when active efivars abstraction > > > be set. It is usef

Re: [PATCH v36 12/24] x86/sgx: Add SGX_IOC_ENCLAVE_CREATE

2020-08-27 Thread Borislav Petkov
On Thu, Aug 27, 2020 at 04:24:36PM +0300, Jarkko Sakkinen wrote: > I have not checked if this passes checkpatch.pl yet, but I would > be surprised if that did not pass (obviously I'll check that). Right, when you're done with the patchset, just do checkpatch.pl -g ... on it before sending and yo

Re: [PATCH v2 08/10] fs/ntfs3: Add Kconfig, Makefile and doc

2020-08-27 Thread Joe Perches
On Thu, 2020-08-27 at 16:01 +, Konstantin Komarov wrote: > From: Randy Dunlap > Sent: Friday, August 21, 2020 8:23 PM [] > > > +- Full journaling support (currently journal replaying is supported) > > > over JBD. > > > > journalling > > seems to be preferred. > > > Have to disagre

[PATCH v2 04/13] dt-bindings: phy: Add PHY_TYPE_QSGMII definition

2020-08-27 Thread Swapnil Jakhade
Add definition for QSGMII phy type. Signed-off-by: Swapnil Jakhade Acked-by: Rob Herring --- include/dt-bindings/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h index 36e8c241cf48..887a31b250a8 100644 --- a/include/dt-b

[PATCH v2 03/13] phy: cadence-torrent: Add PHY APB reset support

2020-08-27 Thread Swapnil Jakhade
Add support for PHY APB reset and make it optional. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c index af307af

[PATCH v2 01/13] phy: cadence-torrent: Add single link PCIe support

2020-08-27 Thread Swapnil Jakhade
Add single link PCIe register sequences in Torrent PHY driver. Also, add support for getting SSC type from DT. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 296 +++--- 1 file changed, 266 insertions(+), 30 deletions(-) diff --git a/drivers/phy/c

[PATCH v2 02/13] phy: cadence-torrent: Check cmn_ready assertion during PHY power on

2020-08-27 Thread Swapnil Jakhade
Check if cmn_ready is set after both PLL0 and PLL1 are locked. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence

[PATCH v2 10/13] phy: cadence-torrent: Add single link SGMII/QSGMII register sequences

2020-08-27 Thread Swapnil Jakhade
Add support for single link SGMII/QSGMII configuration. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 89 +++ 1 file changed, 89 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c

Re: [PATCH net v4] net: ethernet: ti: cpsw_new: fix error handling in cpsw_ndo_vlan_rx_kill_vid()

2020-08-27 Thread David Miller
From: Murali Karicheri Date: Thu, 27 Aug 2020 10:38:39 -0400 > This patch fixes a bunch of issues in cpsw_ndo_vlan_rx_kill_vid() > > - pm_runtime_get_sync() returns non zero value. This results in >non zero value return to caller which will be interpreted as error. >So overwrite ret wit

[PATCH v2 06/13] phy: cadence-torrent: Update PHY reset for multilink configuration

2020-08-27 Thread Swapnil Jakhade
For multilink configuration, deassert PHY and link reset after PHY registers are configured in probe and only check link status in power_on callback. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 28 +-- 1 file changed, 21 insertions(+), 7 del

[PATCH v2 05/13] phy: cadence-torrent: Add support for PHY multilink configuration

2020-08-27 Thread Swapnil Jakhade
Added support for multilink configuration of Torrent PHY. Currently, maximum two links are supported. In case of multilink configuration, PHY needs to be configured for both the protocols simultaneously at the beginning as per the requirement of Torrent PHY. Also, register sequences for PCIe + SGMI

Re: [PATCH] Documentation: kunit: Add naming guidelines

2020-08-27 Thread David Gow
On Thu, Aug 27, 2020 at 9:14 PM Marco Elver wrote: > > On Thu, Jul 02, 2020 at 12:14AM -0700, David Gow wrote: > > As discussed in [1], KUnit tests have hitherto not had a particularly > > consistent naming scheme. This adds documentation outlining how tests > > and test suites should be named, in

[PATCH v2 11/13] phy: cadence-torrent: Add single link USB register sequences

2020-08-27 Thread Swapnil Jakhade
Add support for single link USB configuration. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 260 +- 1 file changed, 259 insertions(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-to

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