Re: [RFC PATCH 10/24] vdpa: introduce config operations for associating ASID to a virtqueue group

2020-10-12 Thread Eli Cohen
On Fri, Oct 09, 2020 at 11:56:45AM +0800, Jason Wang wrote: > > On 2020/10/1 下午9:29, Eli Cohen wrote: > > On Thu, Sep 24, 2020 at 11:21:11AM +0800, Jason Wang wrote: > > > This patch introduces a new bus operation to allow the vDPA bus driver > > > to associate an ASID to a virtqueue group. > > >

Re: [PATCH 1/5] rxrpc: use semicolons rather than commas to separate statements

2020-10-12 Thread David Howells
Julia Lawall wrote: > - call->completion = compl, > + call->completion = compl; Looks good. Do you want me to pick up the patch or send it yourself? If the latter: Acked-by: David Howells

[PATCH 2/6] perf inject: Add missing callbacks in perf_tool

2020-10-12 Thread Namhyung Kim
I found some events (like PERF_RECORD_CGROUP) are not copied by perf inject due to the missing callbacks. Let's add them. While at it, I've changed the order of the callbacks to match with struct perf_tool so that we can compare them easily. Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim ---

[PATCH 1/6] perf bench: Add build-id injection benchmark

2020-10-12 Thread Namhyung Kim
Sometimes I can see perf record piped with perf inject take long time processing build-id. So add inject-build-id benchmark to the internals benchmark suite to measure its overhead regularly. It runs perf inject command internally and feeds the given number of synthesized events (MMAP2 + SAMPLE b

Re: [PATCH 1/3] dt-bindings: pwm: Add binding for RPi firmware PWM bus

2020-10-12 Thread Uwe Kleine-König
On Fri, Oct 09, 2020 at 05:30:28PM +0200, Nicolas Saenz Julienne wrote: > The PWM bus controlling the fan in RPi's official PoE hat can only be > controlled by the board's co-processor. > > Signed-off-by: Nicolas Saenz Julienne > --- > .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 21 +

[PATCH 3/6] perf inject: Enter namespace when reading build-id

2020-10-12 Thread Namhyung Kim
It should be in a proper mnt namespace when accessing the file. I think this had no problem since the build-id was actually read from map__load() -> dso__load() already. But I'd like to change it in the following commit. Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/builtin-i

[PATCHSET v4 0/6] perf inject: Speed build-id injection

2020-10-12 Thread Namhyung Kim
Hello, This is the new version of speed up build-id injection. As this is to improve performance, I've added a benchmark for it. Please look at the usage in the first commit. By default, it measures average processing time of 100 MMAP2 events and 1 SAMPLE events. Below is the current resul

[PATCH 4/6] perf inject: Do not load map/dso when injecting build-id

2020-10-12 Thread Namhyung Kim
No need to load symbols in a DSO when injecting build-id. I guess the reason was to check the DSO is a special file like anon files. Use some helper functions in map.c to check them before reading build-id. Also pass sample event's cpumode to a new build-id event. It brought a speedup in the ben

Re: possible deadlock in dev_uc_sync

2020-10-12 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:3dd0130f Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16b3612050 kernel config: https://syzkaller.appspot.com/x/.config?x=c06bcf3cc963d91c

Re: use case for register_pstore_blk?

2020-10-12 Thread Christoph Hellwig
On Wed, Oct 07, 2020 at 12:17:25PM -0700, Kees Cook wrote: > Do you mean psblk_generic_blk_read() and psblk_generic_blk_write()? > These are for writing to the block device... I'm happy to adjust this > if you can show me the better API. (This was being developed in the > middle of the iov_iter cha

[PATCH 5/6] perf inject: Add --buildid-all option

2020-10-12 Thread Namhyung Kim
Like perf record, we can even more speedup build-id processing by just using all DSOs. Then we don't need to look at all the sample events anymore. The following patch will update perf bench to show the result of the --buildid-all option too. Original-patch-by: Stephane Eranian Acked-by: Jiri O

[PATCH 6/6] perf bench: Run inject-build-id with --buildid-all option too

2020-10-12 Thread Namhyung Kim
For comparison, it now runs the benchmark twice - one if regular -b and another for --buildid-all. $ perf bench internals inject-build-id # Running 'internals/inject-build-id' benchmark: Average build-id injection took: 21.002 msec (+- 0.172 msec) Average time per event: 2.059 usec (+-

Re: [PATCH 1/5] rxrpc: use semicolons rather than commas to separate statements

2020-10-12 Thread Julia Lawall
On Mon, 12 Oct 2020, David Howells wrote: > Julia Lawall wrote: > > > - call->completion = compl, > > + call->completion = compl; > > Looks good. Do you want me to pick up the patch or send it yourself? Please pick it up. Thanks. julia > > If the latter: > > Acked-by:

Re: [PATCH] mtd: parsers: bcm63xx: Do not make it modular

2020-10-12 Thread Miquel Raynal
Hi Guenter, Guenter Roeck wrote on Sun, 11 Oct 2020 07:14:47 -0700: > On Tue, Sep 29, 2020 at 10:27:21AM -0700, Florian Fainelli wrote: > > With commit 91e81150d388 ("mtd: parsers: bcm63xx: simplify CFE > > detection"), we generate a reference to fw_arg3 which is the fourth > > firmware/command

Re: [PATCH 3/3] pwm: Add Raspberry Pi Firmware based PWM bus

2020-10-12 Thread Uwe Kleine-König
Hello, On Fri, Oct 09, 2020 at 05:30:30PM +0200, Nicolas Saenz Julienne wrote: > Adds support to control the PWM bus available in official Raspberry Pi > PoE HAT. Only RPi's co-processor has access to it, so commands have to > be sent through RPi's firmware mailbox interface. > > Signed-off-by: N

Re: [PATCH RESEND 1/1] perf build: Allow nested externs to enable BUILD_BUG() usage

2020-10-12 Thread Sedat Dilek
On Fri, Oct 9, 2020 at 8:35 PM Vasily Gorbik wrote: > > Currently BUILD_BUG() macro is expanded to smth like the following: Two feedbacks: #1: Greg KH told me to expand abbreviated words, here "smth = something". #2: Interesting to see an ASCII-art in the signature is causing such troubles. -

Re: [PATCH] arm64: dts: marvell: add DT for ESPRESSObin-Ultra

2020-10-12 Thread Andre Heider
Hi Vladimir, a few comments, all by just comparing this device tree to the other espressobin files. On 09/10/2020 17:27, Vladimir Vid wrote: This adds support for ESPRESSObin-Ultra from Globalscale. Specifications are similar to the base ESPRESSObin board, with main difference being being WA

[PATCH] mtd: hyperbus: Fix build failure when only RPCIF_HYPERBUS is enabled

2020-10-12 Thread Vignesh Raghavendra
commit 5de15b610f78 ("mtd: hyperbus: add Renesas RPC-IF driver") leads to build failure[1] with COMPILE_TEST and RPCIF_HYPERBUS enabled. This is because driver needs functions RENESAS_RPCIF which is only buildable for CONFIG_ARCH_RENESAS. Fix this by dropping COMPILE_TEST from RPCIF_HYPERBUS Kconf

Re: [PATCH 1/2] net: store KCOV remote handle in sk_buff

2020-10-12 Thread Johannes Berg
On Wed, 2020-10-07 at 10:17 +, Aleksandr Nogikh wrote: > > @@ -904,6 +905,10 @@ struct sk_buff { > __u16 network_header; > __u16 mac_header; > > +#ifdef CONFIG_KCOV > + u64 kcov_handle; > +#endif [...] > @@ -233,6 +233

Re: [PATCH 6/8] ASoC: samsung: snow: use semicolons rather than commas to separate statements

2020-10-12 Thread Krzysztof Kozlowski
On Sun, Oct 11, 2020 at 11:19:37AM +0200, Julia Lawall wrote: > Replace commas with semicolons. What is done is essentially described by > the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): > > // > @@ expression e1,e2; @@ > e1 > -, > +; > e2 > ... when any > // > > Signed-o

Re: [PATCH v2] drivers:tty:pty: Fix a race causing data loss on close

2020-10-12 Thread Jiri Slaby
On 02. 10. 20, 15:03, miny...@acm.org wrote: From: Corey Minyard If you write to a pty master an immediately close the pty master, the receiver might get a chunk of data dropped, but then receive some later data. That's obviously something rather unexpected for a user. It certainly confused m

RE: [PATCH 3/8] ASoC: Intel: bytcr_rt5651: use semicolons rather than commas to separate statements

2020-10-12 Thread Rojewski, Cezary
On 2020-10-11 11:19 AM, Julia Lawall wrote: > Replace commas with semicolons. What is done is essentially described by > the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): > > // > @@ expression e1,e2; @@ > e1 > -, > +; > e2 > ... when any > // > > Signed-off-by: Julia Lawal

[PATCH] zram: support a page writeback

2020-10-12 Thread Minchan Kim
There is a demand to writeback specific pages on process to backing store instead of all idles pages in the system due to storage wear out concern and launching latency of apps which are most of time idle but critical for resume latency. This patch extend writeback knob to support specific page wr

Re: [PATCH v3 2/3] media: atmel: introduce microchip csi2dc driver

2020-10-12 Thread Eugen.Hristev
On 09.10.2020 17:58, Sakari Ailus wrote: > Hi Eugen, > > My apologies for the late reply. > Hi, Thank you for replying, > On Mon, Sep 07, 2020 at 09:16:57AM +, eugen.hris...@microchip.com wrote: >> On 31.08.2020 11:50, Sakari Ailus wrote: >> >>> Hi Eugen, >>> >>> Thanks for the update. >>

[PATCH v1] ARM: dts: protonic prti6q: fix PHY address

2020-10-12 Thread Oleksij Rempel
Due to bug in the bootloader, the PHY has floating address and may randomly change on each PHY reset. To avoid it, the updated bootloader with the following patch[0] should be used: | ARM: protonic: disable on-die termination to fix PHY bootstrapping | | If on-die termination is enabled, the RXC p

Re: [PATCH v3 1/7] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-10-12 Thread Uwe Kleine-König
On Thu, Sep 24, 2020 at 09:24:49PM +0200, Jonathan Neuschäfer wrote: > Netronix, Inc. (http://www.netronixinc.com/) makes ebook reader board > designs, which are for example used in Kobo and Tolino devices. > > An alternative prefix for Netronix would be "ntx", which is already used > in code rele

Re: [PATCH v3 1/3] dt-bindings: media: atmel: csi2dc: add bindings for microchip csi2dc

2020-10-12 Thread Eugen.Hristev
On 11.10.2020 00:17, Laurent Pinchart wrote: > Hi Eugen, > > Thank you for the patch. Hi, Thank you for your review, > > On Wed, Aug 26, 2020 at 09:51:40AM +0300, Eugen Hristev wrote: >> Add bindings documentation for Microchip CSI2 Demultiplexer controller. >> >> CSI2DC is a demultiplexer fro

Re: [PATCH v3 02/24] dt-bindings: memory: mediatek: Convert SMI to DT schema

2020-10-12 Thread Krzysztof Kozlowski
On Sat, Oct 10, 2020 at 02:18:11PM +0800, Yong Wu wrote: > On Tue, 2020-10-06 at 09:15 +0200, Krzysztof Kozlowski wrote: > > On Tue, 6 Oct 2020 at 06:27, Yong Wu wrote: > > > > > > On Fri, 2020-10-02 at 13:08 +0200, Krzysztof Kozlowski wrote: > > > > On Wed, Sep 30, 2020 at 03:06:25PM +0800, Yong

Build regressions/improvements in v5.9

2020-10-12 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.9[1] compared to v5.8[2]. Summarized: - build errors: +4/-3 - build warnings: +59/-25 JFYI, when comparing v5.9[1] to v5.9-rc8[3], the summaries are: - build errors: +6/-3 - build warnings: +5/-0 Happy fixing! ;-) T

Reconfigure Cisco ASA 5506-X Firewall to Add Support for AnyConnect (MACOS)

2020-10-12 Thread Turritopsis Dohrnii Teo En Ming
Subject: Reconfigure Cisco ASA 5506-X Firewall to Add Support for AnyConnect (MACOS) Author: Mr. Turritopsis Dohrnii Teo En Ming Country: Singapore Date: 12 Oct 2020 Monday Singapore Time Type of Publication: Plain Text Document Version: 20201012.01 Cisco ASA 5506-X Firewall CLI commands: cop

Re: Build regressions/improvements in v5.9

2020-10-12 Thread Geert Uytterhoeven
On Mon, Oct 12, 2020 at 9:22 AM Geert Uytterhoeven wrote: > JFYI, when comparing v5.9[1] to v5.9-rc8[3], the summaries are: > - build errors: +6/-3 > - build warnings: +5/-0 + error: modpost: "devm_ioremap" [drivers/net/ethernet/xilinx/ll_temac.ko] undefined!: => N/A + error: modpost: "d

[PATCH v1 3/3] ARM: dts: add Altesco I6P board

2020-10-12 Thread Oleksij Rempel
Altesco (Altus-Escon-Company BV) I6P is a part of the diagnostic system for the vehicle inspection stations. Co-Developed-by: David Jander Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-alti6p.dts | 568 ++

Re: [PATCH] arm64: KVM: marking pages as XN in Stage-2 does not care about CTR_EL0.DIC

2020-10-12 Thread Marc Zyngier
Hi Li, On 2020-10-12 02:08, l00484210 wrote: From: MingWang Li When testing the ARMv8.2-TTS2UXN feature, setting bits of XN is unavailable. Because the control bit CTR_EL0.DIC is set by default on system. But when CTR_EL0.DIC is set, software does not need to flush icache actively, instea

[PATCH v1 1/3] dt-bindings: vendor-prefixes: Add an entry for Altus-Escon-Company

2020-10-12 Thread Oleksij Rempel
Add "alt" entry for Altus-Escon-Company BV: https://www.altus-escon.com/ Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetr

[PATCH v1 2/3] dt-bindings: arm: fsl: add Altesco I6P board

2020-10-12 Thread Oleksij Rempel
Add Altus-Escon-Company BV I6P iMX6dl based board Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index b615284d1b

Re: [PATCH v2] media: mtk-vcodec: fix builds when remoteproc is disabled

2020-10-12 Thread Mauro Carvalho Chehab
Em Mon, 12 Oct 2020 13:58:51 +0900 Alexandre Courbot escreveu: > Hi Mauro, > > On Fri, Oct 9, 2020 at 3:34 PM Mauro Carvalho Chehab > wrote: > > > > Em Fri, 9 Oct 2020 13:30:06 +0900 > > Alexandre Courbot escreveu: > > > > > On Fri, Oct 9, 2020 at 1:13 AM Hans Verkuil > > > wrote: > >

Re: [PATCH] arm64/mm: Validate hotplug range before creating linear mapping

2020-10-12 Thread Ard Biesheuvel
On Tue, 6 Oct 2020 at 08:36, Anshuman Khandual wrote: > > > > On 09/30/2020 01:32 PM, Anshuman Khandual wrote: > > But if __is_lm_address() checks against the effective linear range instead > > i.e [_PAGE_OFFSET(vabits_actual)..(PAGE_END - 1)], it can be used for hot > > plug physical range check

Re: [PATCH v2 2/2] irqchip/ti-sci-inta: Add support for unmapped event handling

2020-10-12 Thread Marc Zyngier
On 2020-10-09 09:58, Peter Ujfalusi wrote: Marc, [...] The design of irqchip/irq-ti-sci-inta.c, soc/ti/ti_sci_inta_msi.c and irqchip/irq-ti-sci-intr.c created to handle the interrupt needs present in K3 devices with NAVSS. DMSS of newer K3 devices extends and simplifies the NAVSS components

Re: [PATCH v3 6/8] iommu/arm-smmu: Add impl hook for inherit boot mappings

2020-10-12 Thread Bjorn Andersson
On Mon 21 Sep 23:08 CEST 2020, Will Deacon wrote: > On Sat, Sep 12, 2020 at 10:25:59PM -0500, Bjorn Andersson wrote: > > On Fri 11 Sep 12:13 CDT 2020, Robin Murphy wrote: > > > On 2020-09-04 16:55, Bjorn Andersson wrote: > > > > Add a new operation to allow platform implementations to inherit any

Re: [PATCH 16/18] dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodes

2020-10-12 Thread Neil Armstrong
On 11/10/2020 00:41, Serge Semin wrote: > Amlogic G12A USB DT sub-nodes are supposed to be compatible with the > generic DWC USB2 and USB3 devices. Since now we've got DT schemas for > both of the later IP cores let's make sure that the Amlogic G12A USB > DT nodes are fully evaluated including the

Re: [PATCH RFC PKS/PMEM 48/58] drivers/md: Utilize new kmap_thread()

2020-10-12 Thread Coly Li
On 2020/10/12 13:28, Ira Weiny wrote: > On Sat, Oct 10, 2020 at 10:20:34AM +0800, Coly Li wrote: >> On 2020/10/10 03:50, ira.we...@intel.com wrote: >>> From: Ira Weiny >>> >>> These kmap() calls are localized to a single thread. To avoid the over >>> head of global PKRS updates use the new kmap_t

Re: [External] Re: [PATCH] mm: proc: add Sock to /proc/meminfo

2020-10-12 Thread Eric Dumazet
On Mon, Oct 12, 2020 at 6:22 AM Muchun Song wrote: > > On Mon, Oct 12, 2020 at 2:39 AM Cong Wang wrote: > > > > On Sat, Oct 10, 2020 at 3:39 AM Muchun Song > > wrote: > > > > > > The amount of memory allocated to sockets buffer can become significant. > > > However, we do not display the amount

Re: [PATCH v3 2/2] media: mtk-vcodec: fix build breakage when one of VPU or SCP is enabled

2020-10-12 Thread Mauro Carvalho Chehab
Em Mon, 12 Oct 2020 14:35:57 +0900 Alexandre Courbot escreveu: > The addition of MT8183 support added a dependency on the SCP remoteproc > module. However the initial patch used the "select" Kconfig directive, > which may result in the SCP module to not be compiled if remoteproc was > disabled. I

Re: [RFC PATCH 10/24] vdpa: introduce config operations for associating ASID to a virtqueue group

2020-10-12 Thread Jason Wang
On 2020/10/12 下午2:59, Eli Cohen wrote: On Fri, Oct 09, 2020 at 11:56:45AM +0800, Jason Wang wrote: On 2020/10/1 下午9:29, Eli Cohen wrote: On Thu, Sep 24, 2020 at 11:21:11AM +0800, Jason Wang wrote: This patch introduces a new bus operation to allow the vDPA bus driver to associate an ASID to

Fair Pay Project now on Bit-Web.EU

2020-10-12 Thread Ywe Cærlyn
For those wanting the email version only: Welcome to Bit-Web, Ywe Cærlyns homepage. I mainly work with OS development and environmentally friendly economically optimal I-T culture. As a conclusion on natural progress and research, we deassociate from regressed deities, where we can rather use

Re: [PATCH] dt-bindings: sound: sun8i-a33-codec: Add Allwinner A64 codec compatible fallback

2020-10-12 Thread Maxime Ripard
Hi! On Sun, Oct 11, 2020 at 11:15:42PM +0200, Clément Péron wrote: > make dtbs_check report a warning because the documentation > for the A64 codec compatible is missing. > > The A64 codec compatible is actually a simple fallback to the A33. > > Reflect this in the dt-bindings Documentation. >

Re: [PATCH] perf vendor events: Fix typos in power8 PMU events

2020-10-12 Thread kajoljain
On 10/12/20 10:32 AM, Sandipan Das wrote: > This replaces the incorrectly spelled word "localtion" > with "location" in some power8 PMU event descriptions. Patch looks good to me, Thanks for correcting it. Reviewed-By: Kajol Jain Thanks, Kajol Jain > > Fixes: 2a81fa3bb5ed ("perf vendor event

Re: [PATCH 15/18] dt-bindings: usb: meson-g12a-usb: Discard FL-adj property

2020-10-12 Thread Neil Armstrong
Hi, On 11/10/2020 00:41, Serge Semin wrote: > An empty snps,quirk-frame-length-adjustment won't cause any change > performed by the driver. Moreover the DT schema validation will fail, > since it expects the property being assigned with some value. So just > discard the property declaration then f

autofs crash with latest linux-next

2020-10-12 Thread Sven Schnelle
Hi, on s390 i see the following crash with linux-next: [ 4525.432605] Unable to handle kernel pointer dereference in virtual kernel address space [ 4525.432612] Failing address: TEID: 0483 [ 4525.432613] Fault in home space mode while using kernel ASCE. [ 4525.432616

Re: [PATCH net] net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid

2020-10-12 Thread Dominique Martinet
Anant Thazhemadam wrote on Mon, Oct 12, 2020: > In p9_fd_create_unix, checking is performed to see if the addr (passed > as an argument) is NULL or not. > However, no check is performed to see if addr is a valid address, i.e., > it doesn't entirely consist of only 0's. > The initialization of sun_s

[PATCH] powerpc/feature: Fix CPU_FTRS_ALWAYS by removing CPU_FTRS_GENERIC_32

2020-10-12 Thread Christophe Leroy
On 8xx, we get the following features: [0.00] cpu_features = 0x0100 [0.00] possible= 0x0120 [0.00] always = 0x This is not correct. As CONFIG_PPC_8xx is mutually exclusive with all other configurations, the

Re: [PATCH v2 2/3] mm/slub: Fix redzoning for small allocations

2020-10-12 Thread Christopher Lameter
On Fri, 9 Oct 2020, Kees Cook wrote: > Store the freelist pointer out of line when object_size is smaller than > sizeof(void *) and redzoning is enabled. > > (Note that no caches with such a size are known to exist in the kernel > currently.) Ummm... The smallest allowable cache size is sizeof(vo

Re: general protection fault in qp_release_pages

2020-10-12 Thread Arnd Bergmann
On Mon, Oct 12, 2020 at 8:11 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:3dd0130f Merge branch 'akpm' (patches from Andrew) > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1219a8e850 > kernel config: https://s

[PATCH] powerpc/feature: Add CPU_FTR_NOEXECUTE to G2_LE

2020-10-12 Thread Christophe Leroy
G2_LE has a 603 core, add CPU_FTR_NOEXECUTE. Fixes: 385e89d5b20f ("powerpc/mm: add exec protection on powerpc 603") Cc: sta...@vger.kernel.org Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/cputable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/

[PATCH] powerpc/mm: Remove useless #ifndef CPU_FTR_COHERENT_ICACHE in mem.c

2020-10-12 Thread Christophe Leroy
Since commit 10b35d9978ac ("[PATCH] powerpc: merged asm/cputable.h"), CPU_FTR_COHERENT_ICACHE has always been defined. Remove the #ifndef CPU_FTR_COHERENT_ICACHE block. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/mem.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/powerpc

Re: linux-next: manual merge of the arm64 tree with the asm-generic tree

2020-10-12 Thread Arnd Bergmann
On Mon, Oct 12, 2020 at 12:52 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the arm64 tree got a conflict in: > > arch/arm64/include/asm/mmu_context.h > > between commit: > > f911c2a7c096 ("arm64: use asm-generic/mmu_context.h for no-op > implementations") > > from th

[PATCH] powerpc/features: Remove CPU_FTR_NODSISRALIGN

2020-10-12 Thread Christophe Leroy
CPU_FTR_NODSISRALIGN has not been used since commit 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults") Remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/cputable.h | 22 ++ arch/powerpc/kernel/dt_cpu_ftrs.c |

[PATCH] powerpc/mm: Desintegrate MMU_FTR_PPCAS_ARCH_V2

2020-10-12 Thread Christophe Leroy
MMU_FTR_PPCAS_ARCH_V2 is defined in cpu_table.h as MMU_FTR_TLBIEL | MMU_FTR_16M_PAGE. MMU_FTR_TLBIEL and MMU_FTR_16M_PAGE are defined in mmu.h MMU_FTR_PPCAS_ARCH_V2 is used only in mmu.h and it is used only once. Remove MMU_FTR_PPCAS_ARCH_V2 and use directly MMU_FTR_TLBIEL | MMU_FTR_16M_PAGE Si

[PATCH] powerpc/mm: MMU_FTR_NEED_DTLB_SW_LRU is only possible with CONFIG_PPC_83xx

2020-10-12 Thread Christophe Leroy
Only mpc83xx will set MMU_FTR_NEED_DTLB_SW_LRU and its definition is enclosed in #ifdef CONFIG_PPC_83xx. Make MMU_FTR_NEED_DTLB_SW_LRU possible only when CONFIG_PPC_83xx is set. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/mmu.h | 5 - 1 file changed, 4 insertions(+), 1 dele

[PATCH] powerpc/mm: Add mask of always present MMU features

2020-10-12 Thread Christophe Leroy
On the same principle as commit 773edeadf672 ("powerpc/mm: Add mask of possible MMU features"), add mask for MMU features that are always there in order to optimise out dead branches. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/mmu.h | 25 + 1 file change

[PATCH 1/2] powerpc/44x: Don't support 440 when CONFIG_PPC_47x is set

2020-10-12 Thread Christophe Leroy
As stated in platform/44x/Kconfig, CONFIG_PPC_47x is not compatible with 440 and 460 variants. This is confirmed in asm/cache.h as L1_CACHE_SHIFT is different for 47x, meaning a kernel built for 47x will not run correctly on a 440. In cputable, opt out all 440 and 460 variants when CONFIG_PPC_47x

[PATCH 2/2] powerpc/44x: Don't support 47x code and non 47x code at the same time

2020-10-12 Thread Christophe Leroy
440/460 variants and 470 variants are not compatible, no need to make code supporting both and using MMU features. Just use CONFIG_PPC_47x to decide what to build. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 11 +++ arch/powerpc/mm/nohash/tlb_low.S | 29 ++

Re: [PATCH] rcutorture/nolibc: Fix a typo in header file

2020-10-12 Thread Willy Tarreau
Hello Samuel, On Sun, Oct 11, 2020 at 02:22:31PM -0400, Samuel Hernandez wrote: > Signed-off-by: Samuel Hernandez > --- > This fixes a supposed typo. Before this, the AT_FDCWD macro would be defined > regardless of whether or not it's been defined before. Good catch! Please note that the commit

Re: [PATCH 1/3] soc: qcom: geni: More properly switch to DMA mode

2020-10-12 Thread Akash Asthana
On 10/9/2020 4:22 AM, Douglas Anderson wrote: On geni-i2c transfers using DMA, it was seen that if you program the command (I2C_READ) before calling geni_se_rx_dma_prep() that it could cause interrupts to fire. If we get unlucky, these interrupts can just keep firing (and not be handled) block

Re: [PATCH 2/6] mm: introduce vma_set_file function v3

2020-10-12 Thread Christian König
Am 09.10.20 um 17:14 schrieb Jason Gunthorpe: On Fri, Oct 09, 2020 at 05:03:38PM +0200, Christian König wrote: +/* + * Change backing file, only valid to use during initial VMA setup. + */ +void vma_set_file(struct vm_area_struct *vma, struct file *file) +{ + if (file) + get_

Re: [PATCH 1/6] mm: mmap: fix fput in error path

2020-10-12 Thread Christian König
Am 10.10.20 um 00:25 schrieb Jason Gunthorpe: On Fri, Oct 09, 2020 at 03:04:20PM -0700, Andrew Morton wrote: On Fri, 9 Oct 2020 17:03:37 +0200 "Christian König" wrote: Patch "495c10cc1c0c CHROMIUM: dma-buf: restore args..." adds a workaround for a bug in mmap_region. As the comment states

Re: [PATCH 2/3] Revert "i2c: i2c-qcom-geni: Fix DMA transfer race"

2020-10-12 Thread Akash Asthana
On 10/9/2020 4:22 AM, Douglas Anderson wrote: This reverts commit 02b9aec59243c6240fc42884acc958602146ddf6. As talked about in the patch ("soc: qcom: geni: More properly switch to DMA mode"), swapping the order of geni_se_setup_m_cmd() and geni_se_xx_dma_prep() can sometimes cause corrupted tr

linux-next: manual merge of the counters tree with the ipmi tree

2020-10-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the counters tree got a conflict in: drivers/char/ipmi/ipmi_msghandler.c between commit: f8910ffa81b0 ("ipmi:msghandler: retry to get device id on an error") from the ipmi tree and commit: dc87264ac991 ("drivers/char/ipmi: convert stats to use counter

Re: general protection fault in qp_release_pages

2020-10-12 Thread Dmitry Vyukov
On Mon, Oct 12, 2020 at 10:01 AM Arnd Bergmann wrote: > > On Mon, Oct 12, 2020 at 8:11 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:3dd0130f Merge branch 'akpm' (patches from Andrew) > > git tree: upstream > > console output: https:/

Re: [PATCH 5.9 RT] net: openvswitch: Fix using smp_processor_id() in preemptible code

2020-10-12 Thread Eelco Chaudron
On 9 Oct 2020, at 17:41, Sebastian Andrzej Siewior wrote: On 2020-10-09 14:47:59 [+0200], Juri Lelli wrote: This happens because openvswitch/flow_table::flow_lookup() accesses per-cpu data while being preemptible (and migratable). Fix it by adding get/put_cpu_light(), so that, even if preem

Re: [PATCH v2] usb: cdns3: Rids of duplicate error message

2020-10-12 Thread Roger Quadros
Hi Pawel, On 12/10/2020 09:42, Pawel Laszczak wrote: On failure, the platform_get_irq_byname prints an error message so, patch removes error message related to this function from core.c file. A change was suggested during reviewing CDNSP driver by Chunfeng Yun. Signed-off-by: Pawel Laszczak -

Re: [PATCH v2] usb: cdns3: Variable 'length' set but not used

2020-10-12 Thread Roger Quadros
On 12/10/2020 09:45, Pawel Laszczak wrote: Patch removes not used variable 'length' from cdns3_wa2_descmiss_copy_data function. Fixes: 141e70fef4ee ("usb: cdns3: gadget: need to handle sg case for workaround 2 case") Signed-off-by: Pawel Laszczak Acked-by: Roger Quadros --- Changelog:

Re: [RFC PATCH 10/24] vdpa: introduce config operations for associating ASID to a virtqueue group

2020-10-12 Thread Eli Cohen
On Mon, Oct 12, 2020 at 03:45:10PM +0800, Jason Wang wrote: > > > > > So in theory we can have several asid's (for different virtqueues), each > > one should be followed by a specific set_map call. If this is so, how do > > I know if I met all the conditions run my driver? Maybe we need another >

Re: [LKP] [fs] b6509f6a8c: will-it-scale.per_thread_ops -12.6% regression

2020-10-12 Thread Mel Gorman
On Mon, Oct 12, 2020 at 02:20:26PM +0800, Xing Zhengjun wrote: > Hi Mel, > >It is a revert commit caused the regression, Do you have a plan to fix > it? Thanks. I re-test it in v5.9-rc8, the regression still existed. > The revert caused a *performance* regression but the original performance

Re: [PATCH 1/6] efistub: pass uefi secureboot flag via fdt params

2020-10-12 Thread Ard Biesheuvel
On Mon, 5 Oct 2020 at 04:20, Chester Lin wrote: > > On Mon, Sep 14, 2020 at 04:05:22PM +0800, Chester Lin wrote: > > Hi Ard, > > > > On Fri, Sep 11, 2020 at 06:01:09PM +0300, Ard Biesheuvel wrote: > > > On Fri, 4 Sep 2020 at 10:29, Chester Lin wrote: > > > > > > > > Add a new UEFI parameter: "lin

Re: [PATCH 5.9 RT] net: openvswitch: Fix using smp_processor_id() in preemptible code

2020-10-12 Thread Sebastian Andrzej Siewior
On 2020-10-12 10:14:42 [+0200], Eelco Chaudron wrote: > > > On 9 Oct 2020, at 17:41, Sebastian Andrzej Siewior wrote: > > > On 2020-10-09 14:47:59 [+0200], Juri Lelli wrote: > > > This happens because openvswitch/flow_table::flow_lookup() accesses > > > per-cpu data while being preemptible (and

Re: PHY reset question

2020-10-12 Thread Marek Vasut
On 10/12/20 7:48 AM, Oleksij Rempel wrote: > Hi all, > > thank you for the feedback! > > On Fri, Oct 09, 2020 at 04:25:49PM +0200, Bruno Thomsen wrote: >> Hi Fabio and Oleksij >> >> Den ons. 7. okt. 2020 kl. 11.50 skrev Fabio Estevam : >>> >>> Hi Oleksij, >>> >>> On Tue, Oct 6, 2020 at 5:05 AM Ol

[PATCH] staging: wfx: Spacing and alignment cleanup

2020-10-12 Thread izabela . bakollari
From: Izabela Bakollari This patch fixes minor issue with spacing and alignment. checkpatch message: CHECK: Alignment should match open parenthesis Signed-off-by: Izabela Bakollari --- drivers/staging/wfx/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stag

Re: [PATCH v5 25/29] arm64: allow LTO_CLANG and THINLTO to be selected

2020-10-12 Thread Will Deacon
On Fri, Oct 09, 2020 at 09:13:34AM -0700, Sami Tolvanen wrote: > Allow CONFIG_LTO_CLANG and CONFIG_THINLTO to be enabled. > > Signed-off-by: Sami Tolvanen > Reviewed-by: Kees Cook > --- > arch/arm64/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/Kconfig b/arch/ar

[PATCH] Documentation/admin-guide: tainted-kernels: Fix typo occured

2020-10-12 Thread Naoki Hayama
Fix typo. s/occured/occurred/ Signed-off-by: Naoki Hayama --- Documentation/admin-guide/tainted-kernels.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/tainted-kernels.rst b/Documentation/admin-guide/tainted-kernels.rst index abf804719890..f718a

[PATCH] trace: Return ENOTCONN instead of EBADF

2020-10-12 Thread Peter Enderborg
When there is no clients listening on event the trace return EBADF. The file is not a bad file descriptor and to get the userspace able to do a proper error handling it need a different error code that separate a bad file descriptor from a empty listening. Signed-off-by: Peter Enderborg --- kern

Re: [Cocci] [PATCH v4 2/3] scripts: coccicheck: Change default condition for parallelism

2020-10-12 Thread Julia Lawall
On Sun, 11 Oct 2020, Sumera Priyadarsini wrote: > Currently, Coccinelle uses at most one thread per core by default in > machines with more than 2 hyperthreads. However, for systems with only 4 > hyperthreads, this does not improve performance. > > Modify coccicheck to use all available threads

Re: [Cocci] [PATCH v4 1/3] scripts: coccicheck: Add quotes to improve portability

2020-10-12 Thread Julia Lawall
On Sun, 11 Oct 2020, Sumera Priyadarsini wrote: > While fetching the number of threads per core with lscpu, > the [:digit:] set is used for translation of digits from 0-9. > However, using [:digit:] instead of "[:digit:]" does not seem > to work uniformly for some shell types and configurations

Re: [PATCH] dt-bindings: sound: sun8i-a33-codec: Add Allwinner A64 codec compatible fallback

2020-10-12 Thread Clément Péron
Hi Maxime and all, On Mon, 12 Oct 2020 at 09:50, Maxime Ripard wrote: > > Hi! > > On Sun, Oct 11, 2020 at 11:15:42PM +0200, Clément Péron wrote: > > make dtbs_check report a warning because the documentation > > for the A64 codec compatible is missing. > > > > The A64 codec compatible is actually

Re: [Cocci] [PATCH v4 3/3] Documentation: Coccinelle: Modify Parallelisation information in docs

2020-10-12 Thread Julia Lawall
On Sun, 11 Oct 2020, Sumera Priyadarsini wrote: > This patchset modifies coccicheck to use at most one thread per core by > default in machines with more than 4 hyperthreads for optimal performance. > Modify documentation in coccinelle.rst to reflect the same. > > Signed-off-by: Sumera Priyadar

Re: [PATCH v4 03/17] x86/acrn: Introduce an API to check if a VM is privileged

2020-10-12 Thread Shuo A Liu
Hi Boris, On Wed 30.Sep'20 at 10:09:59 +0200, Borislav Petkov wrote: On Tue, Sep 22, 2020 at 07:42:57PM +0800, shuo.a@intel.com wrote: +static u32 acrn_cpuid_base(void) +{ + static u32 acrn_cpuid_base; + + if (!acrn_cpuid_base && boot_cpu_has(X86_FEATURE_HYPERVISOR)) +

Re: [External] Re: [PATCH] mm: proc: add Sock to /proc/meminfo

2020-10-12 Thread Muchun Song
On Mon, Oct 12, 2020 at 3:42 PM Eric Dumazet wrote: > > On Mon, Oct 12, 2020 at 6:22 AM Muchun Song wrote: > > > > On Mon, Oct 12, 2020 at 2:39 AM Cong Wang wrote: > > > > > > On Sat, Oct 10, 2020 at 3:39 AM Muchun Song > > > wrote: > > > > > > > > The amount of memory allocated to sockets buf

Re: [PATCH v3 0/2] KVM: x86: hyper-v: make KVM_GET_SUPPORTED_HV_CPUID more useful

2020-10-12 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Changes since v2: > - Keep vCPU version of the ioctl intact but make it 'deprecated' in > api.rst [Paolo Bonzini] > - First two patches of v2 series already made it to kvm/queue > > QEMU series using the feature: > https://lists.gnu.org/archive/html/qemu-devel/2020-09

[net v4] net: dsa: microchip: fix race condition

2020-10-12 Thread Christian Eggers
Between queuing the delayed work and finishing the setup of the dsa ports, the process may sleep in request_module() (via phy_device_create()) and the queued work may be executed prior to the switch net devices being registered. In ksz_mib_read_work(), a NULL dereference will happen within netof_ca

Re: [PATCH] mmc: sdhci-pci-gli: Set SDR104's clock to 205MHz and enable SSC for GL975x

2020-10-12 Thread Ben Chuang
Hi Ulf, Regarding this patch, we also want to fix the EMI of one hardware using the old version(such as v5.4). Is there a chance to append a Fixes tag on this patch ? Or what should I do ? Best Regards, Ben On Wed, Aug 5, 2020 at 2:34 PM Ulf Hansson wrote: > > On Fri, 17 Jul 2020 at 05:33, Ben

Re: [PATCH v4 04/17] x86/acrn: Introduce hypercall interfaces

2020-10-12 Thread Shuo A Liu
On Wed 30.Sep'20 at 12:14:03 -0700, Nick Desaulniers wrote: On Wed, Sep 30, 2020 at 10:13 AM Peter Zijlstra wrote: On Wed, Sep 30, 2020 at 11:10:36AM -0500, Segher Boessenkool wrote: > Since this variable is a local register asm, on entry to the asm the > compiler guarantees that the value li

Re: [PATCH v4 0/7] Convert the intel iommu driver to the dma-iommu api

2020-10-12 Thread Tvrtko Ursulin
On 29/09/2020 01:11, Lu Baolu wrote: Hi Tvrtko, On 9/28/20 5:44 PM, Tvrtko Ursulin wrote: On 27/09/2020 07:34, Lu Baolu wrote: Hi, The previous post of this series could be found here. https://lore.kernel.org/linux-iommu/20200912032200.11489-1-baolu...@linux.intel.com/ This version in

Re: [PATCH 1/4] of/fdt: Update zone_dma_bits when running in bcm2711

2020-10-12 Thread Catalin Marinas
On Mon, Oct 12, 2020 at 08:47:15AM +0200, Christoph Hellwig wrote: > On Fri, Oct 09, 2020 at 06:10:52PM +0100, Catalin Marinas wrote: > > kdump wants DMA-able memory and, > > DMAable by whom? The only way to guranteed DMAable memory is to use > the DMA memory allocator(s) and pass a specific devi

Re: [PATCH V9 1/4] perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZE

2020-10-12 Thread Will Deacon
On Sat, Oct 10, 2020 at 12:28:39AM +1100, Michael Ellerman wrote: > Peter Zijlstra writes: > > Patch 4 makes it all far worse by exposing it to pretty much everybody. > > > > Now, I think we can fix at least the user mappings with the below delta, > > but if archs are using non-page-table MMU size

linux-next: manual merge of the akpm-current tree with the counters tree

2020-10-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: lib/Makefile between commit: 37a0dbf631f6 ("counters: Introduce counter_atomic* counters") from the counters tree and commit: ed7f5253e189 ("mm/page_alloc.c: fix freeing non-compound pages") from the akpm-curr

Re: [PATCH v4 04/17] x86/acrn: Introduce hypercall interfaces

2020-10-12 Thread Shuo A Liu
On Wed 30.Sep'20 at 12:54:08 +0200, Borislav Petkov wrote: On Tue, Sep 22, 2020 at 07:42:58PM +0800, shuo.a@intel.com wrote: From: Shuo Liu The Service VM communicates with the hypervisor via conventional hypercalls. VMCALL instruction is used to make the hypercalls. ACRN hypercall ABI:

Re: [PATCH v4 01/17] docs: acrn: Introduce ACRN

2020-10-12 Thread Shuo A Liu
On Thu 8.Oct'20 at 18:48:52 -0700, Randy Dunlap wrote: On 9/22/20 4:42 AM, shuo.a@intel.com wrote: From: Shuo Liu Add documentation on the following aspects of ACRN: 1) A brief introduction on the architecture of ACRN. 2) I/O request handling in ACRN. To learn more about ACRN, pleas

[PATCH v1 00/15] Introduce threaded trace streaming for basic perf record operation

2020-10-12 Thread Alexey Budankov
Patch set provides threaded trace streaming for base perf record operation. Provided streaming mode (--threads) mitigates profiling data losses and resolves scalability issues of serial and asynchronous (--aio) trace streaming modes on multicore server systems. The patch set is based on the proto

[PATCH 1/2] mm: mmap: fix fput in error path v2

2020-10-12 Thread Christian König
Patch "495c10cc1c0c CHROMIUM: dma-buf: restore args..." adds a workaround for a bug in mmap_region. As the comment states ->mmap() callback can change vma->vm_file and so we might call fput() on the wrong file. Revert the workaround and proper fix this in mmap_region. v2: drop the extra if in dm

[PATCH 2/2] mm: introduce vma_set_file function v4

2020-10-12 Thread Christian König
Add the new vma_set_file() function to allow changing vma->vm_file with the necessary refcount dance. v2: add more users of this. v3: add missing EXPORT_SYMBOL, rebase on mmap cleanup, add comments why we drop the reference on two occasions. v4: make it clear that changing an anonymous vma is

  1   2   3   4   5   6   7   8   9   10   >