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

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 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] 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: [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] 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

[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

[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 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 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 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 ---

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:

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] 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: [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 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

[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] 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

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 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 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.

[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

[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

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] 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 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

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 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

[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 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

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

[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

[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(

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] 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

[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 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 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

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

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 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 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 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 @@ >>

[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 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: 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

[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 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.

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

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

[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 v2 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-27 Thread 啟原黃
Chunfeng Yun 於 2020年8月27日 週四 下午4:05寫道: > > On Thu, 2020-08-27 at 12:50 +0800, cy_huang wrote: > > 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. >

Re: WARNING: ODEBUG bug in get_signal

2020-08-27 Thread Oleg Nesterov
On 08/27, syzbot wrote: > > __debug_check_no_obj_freed lib/debugobjects.c:967 [inline] > debug_check_no_obj_freed+0x301/0x41c lib/debugobjects.c:998 > kmem_cache_free.part.0+0x16d/0x1f0 mm/slab.c:3692 > task_work_run+0xdd/0x190 kernel/task_work.c:141 I don't understand this trace, work->func(w

Re: [PATCH v36 22/24] selftests/x86: Add a selftest for SGX

2020-08-27 Thread Sean Christopherson
On Thu, Aug 27, 2020 at 12:47:04AM -0400, Nathaniel McCallum wrote: > > +int main(int argc, char *argv[], char *envp[]) > > +{ > > + struct sgx_enclave_exception exception; > > + struct vdso_symtab symtab; > > + Elf64_Sym *eenter_sym; > > + uint64_t result = 0; > > + s

[PATCH v2] lockdep: Allow tuning tracing capacity constants.

2020-08-27 Thread Tetsuo Handa
Since syzkaller continues various test cases until the kernel crashes, syzkaller tends to examine more locking dependencies than normal systems. As a result, syzbot is reporting that the fuzz testing was terminated due to hitting upper limits lockdep can track [1] [2] [3]. Let's allow individually

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

2020-08-27 Thread Miaohe Lin
Add else to split mutually exclusive case and avoid unnecessary check. Signed-off-by: Miaohe Lin --- net/ipv4/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 19a947bf0faa..265676fd2bbd 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/

Re: [PATCH v2] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-08-27 Thread Martin K. Petersen
Denis, > Ping? It's in my staging branch. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 0/5] ARM: dts: sun8i: r40: Enable video decoder

2020-08-27 Thread Maxime Ripard
On Tue, Aug 25, 2020 at 07:35:18PM +0200, Jernej Skrabec wrote: > Allwinner R40 SoC contains video engine very similar to that in A33. > > First two patches add system controller nodes and the rest of them > add support for Cedrus VPU. > > Please take a look. Applied all 5 patches, thanks Maxim

Re: [PATCH] drm/radeon: Prefer lower feedback dividers

2020-08-27 Thread Christian König
Am 25.08.20 um 19:33 schrieb Kai-Heng Feng: Commit 2e26ccb119bd ("drm/radeon: prefer lower reference dividers") fixed screen flicker for HP Compaq nx9420 but breaks other laptops like Asus X50SL. Turns out we also need to favor lower feedback dividers. Mhm, let's hope that this works out for a

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

2020-08-27 Thread Denis Efremov
Use kvzalloc() in udf_sb_alloc_bitmap() instead of open-coding it. Signed-off-by: Denis Efremov --- I'm not sure about TODO comment, through. fs/udf/super.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/udf/super.c b/fs/udf/super.c index 1c42f544096d..c7cd15219b7c

Re: RFC: inet_timewait_sock->tw_timer list corruption

2020-08-27 Thread Eric W. Biederman
Wang Long writes: > Hi, > > we encountered a kernel panic as following: > > [4394470.273792] general protection fault: [#1] SMP NOPTI > [4394470.274038] CPU: 0 PID: 0 Comm: swapper/0 Kdump: loaded Tainted: GW > - - - 4.18.0-80.el8.x86_64 #1 > [4394470.274477] Hardware name: Sugo

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

2020-08-27 Thread Daniel Wagner
On Thu, Aug 27, 2020 at 12:28:40PM +0200, Sebastian Andrzej Siewior wrote: > On 2020-08-27 12:16:22 [+0200], Daniel Wagner wrote: > > The -rt kernel is roughly 6MB larger. Just need to check the memory > > ranges u-boot is using. > > so that 6MiB sounded bad but then it is ~36MiB in total so…. > I

[PATCH v2 01/15] kprobes: Add generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Add a generic kretprobe trampoline handler for unifying the all cloned /arch/* kretprobe trampoline handlers. The generic kretprobe trampoline handler is based on the x86 implementation, because it is the latest implementation. It has frame pointer checking, kprobe_busy_begin/end and return addres

[PATCH v2 06/15] csky: kprobes: Use generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Signed-off-by: Masami Hiramatsu --- arch/csky/kernel/probes/kprobes.c | 78 + 1 file changed, 3 insertions(+), 75 deletions(-) diff --git a/arch/csky/kernel/probes/kprobes.c b/arch/csky/kernel/probes/kprobes.c index f0f733b7ac5a..a891fb422e76 100644 --- a/a

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

2020-08-27 Thread Miaohe Lin
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 --- net/core/skbuff.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.

[PATCH v2 07/15] ia64: kprobes: Use generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Signed-off-by: Masami Hiramatsu --- arch/ia64/kernel/kprobes.c | 79 ++-- 1 file changed, 4 insertions(+), 75 deletions(-) diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index 7a7df944d798..0e725ca9c60d 100644 --- a/arch/ia64/kernel

[PATCH] staging: android: ion: remove unnecessary intermediate variable 'objs'

2020-08-27 Thread Valery Ivanov
It is not necesssary to use 'objs' as an intermediate variable for assignment operation. Signed-off-by: Valery Ivanov --- drivers/staging/android/ion/ion.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion

[PATCH v2 08/15] mips: kprobes: Use generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Signed-off-by: Masami Hiramatsu --- arch/mips/kernel/kprobes.c | 55 +++- 1 file changed, 4 insertions(+), 51 deletions(-) diff --git a/arch/mips/kernel/kprobes.c b/arch/mips/kernel/kprobes.c index d043c2f897fc..b58f49b7555e 100644 --- a/arch/mips/kernel

Re: Kernel panic : Unable to handle kernel paging request at virtual address - dead address between user and kernel address ranges

2020-08-27 Thread Naresh Kamboju
On Thu, 27 Aug 2020 at 15:42, Viresh Kumar wrote: > > On 27-08-20, 11:48, Arnd Bergmann wrote: > > > > [3.680477] dev_pm_opp_put_clkname+0x30/0x58 > > > > [3.683431] sdhci_msm_probe+0x284/0x9a0 > > > > dev_pm_opp_put_clkname() is part of the error handling in the > > probe function, so I

Re: [PATCH v2 5/7][next] printk: ringbuffer: add finalization/extension support

2020-08-27 Thread Petr Mladek
On Thu 2020-08-27 12:04:58, John Ogness wrote: > On 2020-08-26, Petr Mladek wrote: > >> This series makes a very naive assumption that the previous > >> descriptor is either in the reserved or committed queried states. The > >> fact is, it can be in any of the 4 queried states. Adding support for

[PATCH v2 09/15] parisc: kprobes: Use generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Signed-off-by: Masami Hiramatsu --- arch/parisc/kernel/kprobes.c | 78 +++--- 1 file changed, 6 insertions(+), 72 deletions(-) diff --git a/arch/parisc/kernel/kprobes.c b/arch/parisc/kernel/kprobes.c index 77ec51818916..2f9389ae91a3 100644 --- a/arch/parisc/

[PATCH] 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. Signed-off-by: Denis Efremov --- arch/arm/mm/dma-mapping.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 8a8949174b1c..9def10affa70 100644 ---

[PATCH v2 10/15] powerpc: kprobes: Use generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Signed-off-by: Masami Hiramatsu --- Changes in v2: Fix to use correct trampoline_address. --- arch/powerpc/kernel/kprobes.c | 55 - 1 file changed, 5 insertions(+), 50 deletions(-) diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kpro

[PATCH v2 11/15] s390: kprobes: Use generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Signed-off-by: Masami Hiramatsu --- arch/s390/kernel/kprobes.c | 81 ++-- 1 file changed, 4 insertions(+), 77 deletions(-) diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index d2a71d872638..6009f08836f4 100644 --- a/arch/s390/kernel

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

2020-08-27 Thread Jon Hunter
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 by Tegra >>> SDMMC hawd

[PATCH v2 13/15] sparc: kprobes: Use generic kretprobe trampoline handler

2020-08-27 Thread Masami Hiramatsu
Signed-off-by: Masami Hiramatsu --- arch/sparc/kernel/kprobes.c | 52 +++ 1 file changed, 4 insertions(+), 48 deletions(-) diff --git a/arch/sparc/kernel/kprobes.c b/arch/sparc/kernel/kprobes.c index dfbca2470536..cd34aeaa3ebb 100644 --- a/arch/sparc/ker

Re: [PATCH] net: exit immediately when off = 0 in skb_headers_offset_update()

2020-08-27 Thread Eric Dumazet
On Thu, Aug 27, 2020 at 4:25 AM Miaohe Lin wrote: > > In the case of off = 0, skb_headers_offset_update() do nothing indeed. > > Signed-off-by: Miaohe Lin > --- > net/core/skbuff.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/net/core/skbuff.c b/net/core/skbuff.c > index 18ed56316e

[PATCH v2 15/15] kprobes: Free kretprobe_instance with rcu callback

2020-08-27 Thread Masami Hiramatsu
Free kretprobe_instance with rcu callback instead of directly freeing the object in the kretprobe handler context. This will make kretprobe run safer in NMI context. Signed-off-by: Masami Hiramatsu --- include/linux/kprobes.h |3 ++- kernel/kprobes.c| 25 ++---

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

2020-08-27 Thread Vincenzo Frascino
On 8/27/20 12:13 PM, Catalin Marinas wrote: > 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

Re: [RFC 0/3] cpufreq: cppc: Add support for frequency invariance

2020-08-27 Thread Ionela Voinescu
Hi Viresh, On Thursday 27 Aug 2020 at 13:21:49 (+0530), Viresh Kumar wrote: > On 25-08-20, 10:56, Ionela Voinescu wrote: > > I've been putting some more thought/code into this one and I believe > > something as follows might look nicer as well as cover a few corner cases > > (ignore implementation

Re: [RFC PATCH -rc] gcov: Protect from uninitialized number of functions provided by GCC

2020-08-27 Thread Leon Romanovsky
On Thu, Aug 27, 2020 at 04:39:32PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > The kernel compiled with GCC 10.2.1 and KASAN together with GCOV enabled > produces the following splats while reloading modules. > > First splat [1] is generated due to the situation that gcov_info can be

Re: [PATCH rdma-next 00/14] Cleanup locking and events in ucma

2020-08-27 Thread Jason Gunthorpe
On Tue, Aug 18, 2020 at 03:05:12PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > >From Jason: > > Rework how the uevents for new connections are handled so all the locking > ends up simpler and a work queue can be removed. This should also speed up > destruction of ucma_context's as

Re: [PATCH v2] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-08-27 Thread Denis Efremov
Ping? On 8/1/20 4:31 PM, Denis Efremov wrote: > Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions > and use kvzalloc/kvfree instead. __GFP_NOWARN added to kvzalloc() > call because we already print a warning in case of allocation fail. > > Signed-off-by: Denis Efremov > --- > drivers

Re: [PATCH 0/3] ARM: dts: sun8i: r40: Enable IR on BananaPi M2U

2020-08-27 Thread Maxime Ripard
On Tue, Aug 25, 2020 at 07:13:55PM +0200, Jernej Skrabec wrote: > This series first adds nodes to R40 DTSI and then enable IR receiver > for BananaPi M2 Ultra board. Applied all three, thanks! Maxime signature.asc Description: PGP signature

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