[PATCH net v2 1/2] net: mvpp2: Fix GoP port 3 Networking Complex Control configurations

2020-12-17 Thread stefanc
From: Stefan Chulski During GoP port 2 Networking Complex Control mode of operation configurations, also GoP port 3 mode of operation was wrongly set. Patch removes these configurations. GENCONF_CTRL0_PORTX naming also fixed. Fixes: f84bf386f395 ("net: mvpp2: initialize the GoP") Signed-off-by:

RE: [EXT] Re: [PATCH net 1/2] net: mvpp2: Fix GoP port 3 Networking Complex Control configurations

2020-12-17 Thread Stefan Chulski
> -Original Message- > From: Jakub Kicinski > Sent: Thursday, December 17, 2020 2:42 AM > To: Stefan Chulski > Cc: net...@vger.kernel.org; thomas.petazz...@bootlin.com; > da...@davemloft.net; Nadav Haklai ; Yan Markman > ; linux-kernel@vger.kernel.org; > li...@armlinux.org.uk;

Re: linux-next: manual merge of the akpm-current tree with the risc-v tree

2020-12-17 Thread Andy Shevchenko
On Thu, Dec 17, 2020 at 3:28 AM Stephen Rothwell wrote: > > Hi all, > > On Mon, 14 Dec 2020 20:21:07 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the akpm-current tree got a conflict in: > > > > lib/Makefile > > > > between commit: > > > > 527701eda5f1 ("lib: Add a

Re: [RFC PATCH v2 4/6] mfd: add BD71827 header

2020-12-17 Thread Vaittinen, Matti
On Wed, 2020-12-16 at 08:53 +, Lee Jones wrote: > On Fri, 04 Dec 2020, Matti Vaittinen wrote: > > > Add BD71827 driver header. For a record - Header is originally > > based on work authored by Cong Pham although not much of original > > work is left now. > > > > Signed-off-by: Matti

Re: [PATCH v1 ] ALSA: core: memalloc: add page alignment for iram

2020-12-17 Thread Takashi Iwai
On Thu, 17 Dec 2020 17:15:47 +0100, Robin Gong wrote: > > Since mmap for userspace is based on page alignment, add page alignment > for iram alloc from pool, otherwise, some good data located in the same > page of dmab->area maybe touched wrongly by userspace like pulseaudio. > > Signed-off-by:

[PATCH v3 12/15] objtool: Alternatives vs ORC, the hard way

2020-12-17 Thread Juergen Gross
From: Peter Zijlstra Alternatives pose an interesting problem for unwinders because from the unwinders PoV we're just executing instructions, it has no idea the text is modified, nor any way of retrieving what with. Therefore the stance has been that alternatives must not change stack state, as

[PATCH v3 08/15] x86: add new features for paravirt patching

2020-12-17 Thread Juergen Gross
For being able to switch paravirt patching from special cased custom code sequences to ALTERNATIVE handling some X86_FEATURE_* are needed as new features. This enables to have the standard indirect pv call as the default code and to patch that with the non-Xen custom code sequence via ALTERNATIVE

[PATCH v3 06/15] x86/paravirt: switch time pvops functions to use static_call()

2020-12-17 Thread Juergen Gross
The time pvops functions are the only ones left which might be used in 32-bit mode and which return a 64-bit value. Switch them to use the static_call() mechanism instead of pvops, as this allows quite some simplification of the pvops implementation. Due to include hell this requires to split

[PATCH v3 09/15] x86/paravirt: remove no longer needed 32-bit pvops cruft

2020-12-17 Thread Juergen Gross
PVOP_VCALL4() is only used for Xen PV, while PVOP_CALL4() isn't used at all. Keep PVOP_CALL4() for 64 bits due to symmetry reasons. This allows to remove the 32-bit definitions of those macros leading to a substantial simplification of the paravirt macros, as those were the only ones needing

[PATCH v3 10/15] x86/paravirt: simplify paravirt macros

2020-12-17 Thread Juergen Gross
The central pvops call macros PVOP_CALL() and PVOP_VCALL() are looking very similar now. The main differences are using PVOP_VCALL_ARGS or PVOP_CALL_ARGS, which are identical, and the return value handling. So drop PVOP_VCALL_ARGS and instead of PVOP_VCALL() just use

[PATCH v3 15/15] x86/paravirt: have only one paravirt patch function

2020-12-17 Thread Juergen Gross
There is no need any longer to have different paravirt patch functions for native and Xen. Eliminate native_patch() and rename paravirt_patch_default() to paravirt_patch(). Signed-off-by: Juergen Gross --- V3: - remove paravirt_patch_insns() (kernel test robot) ---

[PATCH v3 14/15] x86/paravirt: switch functions with custom code to ALTERNATIVE

2020-12-17 Thread Juergen Gross
Instead of using paravirt patching for custom code sequences use ALTERNATIVE for the functions with custom code replacements. Instead of patching an ud2 instruction for unpopulated vector entries into the caller site, use a simple function just calling BUG() as a replacement. Signed-off-by:

[PATCH v3 13/15] x86/paravirt: add new macros PVOP_ALT* supporting pvops in ALTERNATIVEs

2020-12-17 Thread Juergen Gross
Instead of using paravirt patching for custom code sequences add support for using ALTERNATIVE handling combined with paravirt call patching. Signed-off-by: Juergen Gross --- V3: - drop PVOP_ALT_VCALL() macro --- arch/x86/include/asm/paravirt_types.h | 49 +++ 1 file

[PATCH v3 07/15] x86/alternative: support "not feature" and ALTERNATIVE_TERNARY

2020-12-17 Thread Juergen Gross
Instead of only supporting to modify instructions when a specific feature is set, support doing so for the case a feature is not set. As today a feature is specified using a 16 bit quantity and the highest feature number in use is around 600, using a negated feature number for specifying the

[PATCH v3 05/15] x86: rework arch_local_irq_restore() to not use popf

2020-12-17 Thread Juergen Gross
"popf" is a rather expensive operation, so don't use it for restoring irq flags. Instead test whether interrupts are enabled in the flags parameter and enable interrupts via "sti" in that case. This results in the restore_fl paravirt op to be no longer needed. Suggested-by: Andy Lutomirski

[PATCH v3 11/15] x86/paravirt: switch iret pvops to ALTERNATIVE

2020-12-17 Thread Juergen Gross
The iret paravirt op is rather special as it is using a jmp instead of a call instruction. Switch it to ALTERNATIVE. Signed-off-by: Juergen Gross --- V3: - use ALTERNATIVE_TERNARY --- arch/x86/include/asm/paravirt.h | 6 +++--- arch/x86/include/asm/paravirt_types.h | 5 +

[PATCH v3 00/15] x86: major paravirt cleanup

2020-12-17 Thread Juergen Gross
This is a major cleanup of the paravirt infrastructure aiming at eliminating all custom code patching via paravirt patching. This is achieved by using ALTERNATIVE instead, leading to the ability to give objtool access to the patched in instructions. In order to remove most of the 32-bit special

[PATCH v3 03/15] x86/pv: switch SWAPGS to ALTERNATIVE

2020-12-17 Thread Juergen Gross
SWAPGS is used only for interrupts coming from user mode or for returning to user mode. So there is no reason to use the PARAVIRT framework, as it can easily be replaced by an ALTERNATIVE depending on X86_FEATURE_XENPV. There are several instances using the PV-aware SWAPGS macro in paths which

[PATCH v3 02/15] x86/xen: use specific Xen pv interrupt entry for DF

2020-12-17 Thread Juergen Gross
Xen PV guests don't use IST. For double fault interrupts switch to the same model as NMI. Correct a typo in a comment while copying it. Signed-off-by: Juergen Gross Acked-by: Peter Zijlstra (Intel) Reviewed-by: Thomas Gleixner --- V2: - fix typo (Andy Lutomirski) ---

[PATCH v3 01/15] x86/xen: use specific Xen pv interrupt entry for MCE

2020-12-17 Thread Juergen Gross
Xen PV guests don't use IST. For machine check interrupts switch to the same model as debug interrupts. Signed-off-by: Juergen Gross Acked-by: Peter Zijlstra (Intel) Reviewed-by: Thomas Gleixner --- arch/x86/include/asm/idtentry.h | 3 +++ arch/x86/xen/enlighten_pv.c | 16

[PATCH v3 04/15] x86/xen: drop USERGS_SYSRET64 paravirt call

2020-12-17 Thread Juergen Gross
USERGS_SYSRET64 is used to return from a syscall via sysret, but a Xen PV guest will nevertheless use the iret hypercall, as there is no sysret PV hypercall defined. So instead of testing all the prerequisites for doing a sysret and then mangling the stack for Xen PV again for doing an iret just

[PATCH] Modify hardcode to SECCOMP_MODE_FILTER

2020-12-17 Thread Zhuling
From: zhuling bpf/seccomp: modify hardcode 2 to SECCOMP_MODE_FILTER while the hardcode 2 has been define in seccomp_bpf.c, we should use the definitions(SECCOMP_MODE_FILTER) instead of hardcode 2. Signed-off-by: zhuling --- samples/bpf/tracex5_user.c | 2 +- samples/seccomp/dropper.c

[PATCH v3 3/5] clk: Ingenic: Fix problem of MAC clock in Ingenic X1000 and X1830.

2020-12-17 Thread Zhou Yanjie
X1000 and X1830 have two MAC related clocks, one is MACPHY, which is controlled by MACCDR register, the other is MAC, which is controlled by the MAC bit in the CLKGR register (with CLK_AHB2 as the parent). The original driver mistakenly mixed the two clocks together. Signed-off-by: 周琰杰 (Zhou

Re: [RFT][PATCH v1 0/3] ACPI: scan: Defer enumeration of devices with significant dependencies

2020-12-17 Thread Mika Westerberg
Hi Rafael, On Mon, Dec 14, 2020 at 09:23:47PM +0100, Rafael J. Wysocki wrote: > Hi, > > This series addresses some enumeration ordering issues by using information > from _DEP to defer the enumeration of devices that are likely to depend on > operation region (OpRegion) handlers supplied by the

[PATCH v3 5/5] clk: Ingenic: Clean up and reformat the code.

2020-12-17 Thread Zhou Yanjie
1.When the clock does not have "CGU_CLK_MUX", the 2/3/4 bits in parents do not need to be filled with -1. When the clock have a "CGU_CLK_MUX" has only one bit, the 3/4 bits of parents do not need to be filled with -1. Clean up these unnecessary -1 from all the -cgu.c files. 2.Reformat

[PATCH v3 2/5] dt-bindings: clock: Add missing clocks for Ingenic SoCs.

2020-12-17 Thread Zhou Yanjie
Add MACPHY, CIM, AIC, DMIC, I2S clocks bindings for the X1000 SoC and the X1830 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Paul Cercueil Acked-by: Rob Herring --- Notes: v1->v2: 1.Add MACPHY and I2S for X1000, and add MACPHY for X1830. 2.Add Paul Cercueil's

[PATCH v3 1/5] clk: JZ4780: Add function for disable the second core.

2020-12-17 Thread Zhou Yanjie
Add "jz4780_core1_disable()" for disable the second core of JZ4780, prepare for later commits. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Paul Cercueil --- Notes: v1->v2: Add Paul Cercueil's Reviewed-by. v2->v3: No change. drivers/clk/ingenic/jz4780-cgu.c | 21

[PATCH v3 4/5] clk: Ingenic: Add missing clocks for Ingenic SoCs.

2020-12-17 Thread Zhou Yanjie
Add CIM, AIC, DMIC, I2S clocks for the X1000 SoC and the X1830 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v1->v2: Add I2S clock for X1000. v2->v3: Correct the comment in x1000-cgu.c, change it from "Custom (SoC-specific) OTG PHY" to "Custom

[PATCH v3 0/5] Add new clocks and fix bugs for Ingenic SoCs.

2020-12-17 Thread Zhou Yanjie
v1->v2: 1.Add Paul Cercueil's Reviewed-by for [1/5] & [2/5], add Rob Herring's Acked-by for [2/5]. 2.Add MACPHY and I2S for X1000, add MACPHY for X1830, and fix bugs in MAC clock. 3.Clean up code, remove unnecessary -1 and commas and tabs from all the -cgu.c files. v2->v3: Correct the

Re: [PATCH v5 00/24] Mediatek MT8192 clock support

2020-12-17 Thread Stephen Boyd
Quoting Weiyi Lu (2020-11-08 18:03:25) > This series is based on v5.10-rc1 and MT8192 dts v6[1]. > > [1] > https://patchwork.kernel.org/project/linux-mediatek/patch/20201030092207.26488-2-seiya.w...@mediatek.com/ This series doesn't apply for me to clk tree. Please resend. Also, please remove

[PATCH 1/2] dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools

2020-12-17 Thread Guanhua Gao
In case of long format of qDMA command descriptor, there are one frame descriptor, three entries in the frame list and two data entries. So the size of dma_pool_create for these three fields should be the same with the total size of entries respectively, or the contents may be overwritten by the

Re: [PATCH v2 00/13] Clean up the pll_en_bit from en_mask on all the MediaTek clock drivers

2020-12-17 Thread Stephen Boyd
Quoting Weiyi Lu (2020-11-08 18:13:15) > This series is based on v5.10-rc1 and > [v5,07/24] clk: mediatek: Fix asymmetrical PLL enable and disable control[1] > in Mediatek MT8192 clock support series > > [1] >

[PATCH 2/2] dmaengine: fsl-dpaa2-qdma: Update DPDMAI interfaces

2020-12-17 Thread Guanhua Gao
This patch dupdates the DPDMAI interfaces to support MC firmware to 10.1x.x. Signed-off-by: Guanhua Gao --- drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c | 37 ++- drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.h | 5 +- drivers/dma/fsl-dpaa2-qdma/dpdmai.c | 174 ++--

Re: [PATCH 18/25] btrfs: Use readahead_batch_length

2020-12-17 Thread John Hubbard
On 12/16/20 10:23 AM, Matthew Wilcox (Oracle) wrote: Implement readahead_batch_length() to determine the number of bytes in the current batch of readahead pages and use it in btrfs. Signed-off-by: Matthew Wilcox (Oracle) --- fs/btrfs/extent_io.c| 6 ++ include/linux/pagemap.h | 9

KASAN: use-after-free Read in eth_type_trans

2020-12-17 Thread Dmitry Vyukov
Greg claims this bug: https://syzkaller.appspot.com/bug?extid=e0c166ed4b16ffd653e0 was fixed by the following commit, so let's close it. #syz fix: tun: correct header offsets in napi frags mode

Re: [PATCH v4 3/6] clk: ralink: add clock driver for mt7621 SoC

2020-12-17 Thread Stephen Boyd
Quoting Sergio Paracuellos (2020-11-22 01:55:53) > The documentation for this SOC only talks about two > registers regarding to the clocks: > * SYSC_REG_CPLL_CLKCFG0 - provides some information about > boostrapped refclock. PLL and dividers used for CPU and some > sort of BUS. > *

Re: [RFC PATCH] bpf: preload: Fix build error when O= is set

2020-12-17 Thread David Gow
On Wed, Dec 16, 2020 at 10:53 PM Quentin Monnet wrote: > > 2020-11-21 17:48 UTC+0800 ~ David Gow > > On Sat, Nov 21, 2020 at 3:38 PM Andrii Nakryiko > > wrote: > >> > >> On Thu, Nov 19, 2020 at 12:51 AM David Gow wrote: > >>> > >>> If BPF_PRELOAD is enabled, and an out-of-tree build is

Re: [External] Re: [PATCH v9 03/11] mm/hugetlb: Free the vmemmap pages associated with each HugeTLB page

2020-12-17 Thread Muchun Song
On Thu, Dec 17, 2020 at 2:54 PM Muchun Song wrote: > > On Thu, Dec 17, 2020 at 6:52 AM Mike Kravetz wrote: > > > > On 12/16/20 2:25 PM, Oscar Salvador wrote: > > > On Wed, Dec 16, 2020 at 02:08:30PM -0800, Mike Kravetz wrote: > > >>> + * vmemmap_rmap_walk - walk vmemmap page table > > >>> + > >

Re: [PATCH v8, 6/6] drm/mediatek: add support for mediatek SOC MT8183

2020-12-17 Thread Hsin-Yi Wang
On Thu, Dec 10, 2020 at 9:07 AM Yongqiang Niu wrote: > > This patch add support for mediatek SOC MT8183 > 1. add ovl private data > 2. add rdma private data > 3. add mutes private data > 4. add main and external path module for crtc create > > Signed-off-by: Yongqiang Niu > --- >

Re: [PATCH 00/21] Control VQ support in vDPA

2020-12-17 Thread Jason Wang
On 2020/12/17 下午3:58, Michael S. Tsirkin wrote: On Thu, Dec 17, 2020 at 11:30:18AM +0800, Jason Wang wrote: On 2020/12/16 下午5:47, Michael S. Tsirkin wrote: On Wed, Dec 16, 2020 at 02:47:57PM +0800, Jason Wang wrote: Hi All: This series tries to add the support for control virtqueue in

[PATCH] nbd: Respect max_part for all partition scans

2020-12-17 Thread Josh Triplett
The creation path of the NBD device respects max_part and only scans for partitions if max_part is not 0. However, some other code paths ignore max_part, and unconditionally scan for partitions. Add a check for max_part on each partition scan. Signed-off-by: Josh Triplett --- Caught this when

Re: [PATCH v4 2/6] dt: bindings: add mt7621-clk device tree binding documentation

2020-12-17 Thread Stephen Boyd
Quoting Sergio Paracuellos (2020-11-22 01:55:52) > Adds device tree binding documentation for clocks in the > MT7621 SOC. > > Signed-off-by: Sergio Paracuellos > --- > .../bindings/clock/mediatek,mt7621-clk.yaml | 67 +++ > 1 file changed, 67 insertions(+) > create mode

Re: BUG: unable to handle kernel paging request in smc_nl_handle_smcr_dev

2020-12-17 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:5e60366d Merge tag 'fallthrough-fixes-clang-5.11-rc1' of g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17842c1350 kernel config:

Re: [PATCH v5 23/24] arm64: dts: mediatek: Add mt8192 clock controllers

2020-12-17 Thread Stephen Boyd
Quoting Ikjoon Jang (2020-11-22 20:02:37) > On Mon, Nov 09, 2020 at 10:03:48AM +0800, Weiyi Lu wrote: > > Add clock controller nodes for SoC mt8192 > > > > Signed-off-by: Weiyi Lu > > --- > > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 163 > > +++ > > 1 file

KASAN: invalid-free in bdev_free_inode

2020-12-17 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:26aed0ea Add linux-next specific files for 20201216 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16c492cb50 kernel config: https://syzkaller.appspot.com/x/.config?x=5c81cc44aa25b5b3 dashboard

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-12-17 Thread Fox Chen
On Thu, Dec 17, 2020 at 12:46 PM Ian Kent wrote: > > On Tue, 2020-12-15 at 20:59 +0800, Ian Kent wrote: > > On Tue, 2020-12-15 at 16:33 +0800, Fox Chen wrote: > > > On Mon, Dec 14, 2020 at 9:30 PM Ian Kent wrote: > > > > On Mon, 2020-12-14 at 14:14 +0800, Fox Chen wrote: > > > > > On Sun, Dec

Re: [PATCH] RISC-V: Fix usage of memblock_enforce_memory_limit

2020-12-17 Thread Bin Meng
Hi Atish, On Thu, Dec 17, 2020 at 4:43 PM Atish Patra wrote: > > On Thu, Dec 17, 2020 at 12:12 AM Bin Meng wrote: > > > > Hi Atish, > > > > On Thu, Dec 17, 2020 at 3:49 PM Atish Patra wrote: > > > > > > memblock_enforce_memory_limit accepts the maximum memory size not the last > > > address.

Re: [PATCH] arm64: Kconfig: select ZONE_DMA

2020-12-17 Thread Nicolas Saenz Julienne
Hi Peng, sorry for the inconvenience, this is most probably related to these changes: https://lore.kernel.org/linux-arm-kernel/20201119175400.9995-1-nsaenzjulie...@suse.de/ On Thu, 2020-12-17 at 16:08 +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > ZONE_DMA should not be disabled, otherwise

Re: [PATCH] RISC-V: Fix usage of memblock_enforce_memory_limit

2020-12-17 Thread Atish Patra
On Thu, Dec 17, 2020 at 12:12 AM Bin Meng wrote: > > Hi Atish, > > On Thu, Dec 17, 2020 at 3:49 PM Atish Patra wrote: > > > > memblock_enforce_memory_limit accepts the maximum memory size not the last > > address. Fix the function invocation correctly. > > > > Fixes: 1bd14a66ee52 ("RISC-V:

Re: [PATCH v3] clk: mediatek: Make mtk_clk_register_mux() a static function

2020-12-17 Thread Stephen Boyd
Quoting Weiyi Lu (2020-11-13 00:29:52) > mtk_clk_register_mux() should be a static function > > Fixes: a3ae549917f16 ("clk: mediatek: Add new clkmux register API") > Signed-off-by: Weiyi Lu > --- Applied to clk-next

Re: [PATCH v3 0/9] Xilinx AI engine kernel driver

2020-12-17 Thread Jiaying Liang
On 12/15/20 7:23 AM, Alex Deucher wrote: On Mon, Dec 14, 2020 at 7:24 PM Jiaying Liang wrote: On 12/11/20 11:39 AM, Daniel Vetter wrote: Hi all On Fri, Dec 11, 2020 at 8:03 PM Alex Deucher wrote: On Mon, Nov 30, 2020 at 3:25 AM Wendy Liang wrote: AI engine is the acceleration engine

[PATCH] Modify hardcode 2 to SECCOMP_MODE_FILTER

2020-12-17 Thread Zhuling
From: zhuling Signed-off-by: zhuling --- samples/bpf/tracex5_user.c | 2 +- samples/seccomp/dropper.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/bpf/tracex5_user.c b/samples/bpf/tracex5_user.c index c17d3fb..417753f 100644 --- a/samples/bpf/tracex5_user.c

Re: drivers/pinctrl/ralink/pinctrl-rt2880.c:365:12: warning: no previous prototype for 'rt2880_pinmux_init'

2020-12-17 Thread Sergio Paracuellos
ad539bf2480e78b > commit: 518b466a21ad7fa1e338fa4ed9d180ef439d3bc0 pinctrl: ralink: add a > pinctrl driver for the rt2880 family > date: 9 days ago > config: mips-randconfig-r025-20201217 (attached as .config) > compiler: mipsel-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget

[PATCH 1/1] mfd: Standardise MFD_CELL_* helper names

2020-12-17 Thread Lee Jones
Start all helpers with "MFD_CELL_". Cc: Linus Walleij Cc: Matthias Brugger Cc: Gene Chen Cc: linux-media...@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mfd/ab8500-core.c | 42 +++--- drivers/mfd/db8500-prcmu.c | 6 +++---

Re: [External] Re: [PATCH v9 09/11] mm/hugetlb: Introduce nr_free_vmemmap_pages in the struct hstate

2020-12-17 Thread Muchun Song
On Wed, Dec 16, 2020 at 9:44 PM Oscar Salvador wrote: > > On Sun, Dec 13, 2020 at 11:45:32PM +0800, Muchun Song wrote: > > All the infrastructure is ready, so we introduce nr_free_vmemmap_pages > > field in the hstate to indicate how many vmemmap pages associated with > > a HugeTLB page that we

Re: [PATCH v3 3/5] RISC-V: Align the .init.text section

2020-12-17 Thread Atish Patra
On Wed, Dec 16, 2020 at 10:51 PM Palmer Dabbelt wrote: > > On Tue, 15 Dec 2020 22:02:54 PST (-0800), Palmer Dabbelt wrote: > > On Wed, 04 Nov 2020 16:04:37 PST (-0800), Atish Patra wrote: > >> In order to improve kernel text protection, we need separate .init.text/ > >> .init.data/.text in

Re: [PATCH v2] gdb: lx-symbols: store the abspath()

2020-12-17 Thread Jan Kiszka
On 17.12.20 09:17, Johannes Berg wrote: > From: Johannes Berg > > If we store the relative path, the user might later cd to a > different directory, and that would break the automatic symbol > resolving that happens when a module is loaded into the target > kernel. Fix this by storing the

Re: [PATCH v2] KVM: SVM: use vmsave/vmload for saving/restoring additional host state

2020-12-17 Thread Paolo Bonzini
On 17/12/20 00:48, Sean Christopherson wrote: c) refactor SEV-ES handling as part of this series. it's only a small change to the SEV-ES code but it re-orders enough things around that I'm concerned it might invalidate some of the internal testing we've done. whereas a follow-up

Re: WARNING: suspicious RCU usage in modeset_lock

2020-12-17 Thread Dmitry Vyukov
On Wed, Dec 16, 2020 at 5:16 PM Paul E. McKenney wrote: > > On Wed, Dec 16, 2020 at 10:52:06AM +0100, Daniel Vetter wrote: > > On Wed, Dec 16, 2020 at 2:14 AM syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:94801e5c Merge tag

Re: [net-next PATCH v2 04/14] net: phy: Introduce fwnode_get_phy_id()

2020-12-17 Thread Calvin Johnson
On Tue, Dec 15, 2020 at 07:28:10PM +0200, Andy Shevchenko wrote: > On Tue, Dec 15, 2020 at 6:44 PM Calvin Johnson > wrote: > > > > Extract phy_id from compatible string. This will be used by > > fwnode_mdiobus_register_phy() to create phy device using the > > phy_id. > > ... > > > + if

Re: [PATCH] RISC-V: Fix usage of memblock_enforce_memory_limit

2020-12-17 Thread Mike Rapoport
On Wed, Dec 16, 2020 at 11:48:55PM -0800, Atish Patra wrote: > memblock_enforce_memory_limit accepts the maximum memory size not the last > address. Fix the function invocation correctly. > > Fixes: 1bd14a66ee52 ("RISC-V: Remove any memblock representing unusable > memory area") > >

Re: [PATCH] kbuild: add extra-y to targets-for-modules

2020-12-17 Thread Masahiro Yamada
On Thu, Dec 17, 2020 at 8:04 AM Joe Lawrence wrote: > > On 12/16/20 1:14 AM, Masahiro Yamada wrote: > > On Tue, Dec 8, 2020 at 11:31 PM Artem Savkov wrote: > >> > >> On Tue, Dec 08, 2020 at 05:20:35PM +0800, WANG Chao wrote: > >>> Sorry for the late reply. > >>> > >>> On 11/25/20 at 10:42P,

Re: WARNING: suspicious RCU usage in count

2020-12-17 Thread Dmitry Vyukov
On Wed, Dec 16, 2020 at 9:55 PM Matthew Wilcox wrote: > > On Wed, Dec 16, 2020 at 11:34:10AM -0800, syzbot wrote: > > Unfortunately, I don't have any reproducer for this issue yet. > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by:

Re: [PATCH 1/2] net: stmmac: retain PTP-clock at hwtstamp_set

2020-12-17 Thread Ahmad Fatoum
Hello, On 17.12.20 02:13, Jakub Kicinski wrote: >> +netdev_warn(priv->dev, "HW Timestamping init failed: >> %pe\n", >> +ERR_PTR(ret)); > > why convert to ERR_PTR and use %pe and not just %d? To get a symbolic error name if support is

Re: [PATCH v4 1/2] Partially revert ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state

2020-12-17 Thread Srinivasa Rao Mandadapu
Thanks Mark for your Time!!! On 12/14/2020 11:20 PM, Mark Brown wrote: On Mon, Dec 14, 2020 at 06:13:22PM +0530, Srinivasa Rao Mandadapu wrote: On 12/1/2020 11:21 PM, Mark Brown wrote: Later from review comments by Srinivas kandagatla, I got to know about regcache sync APIs, which can be

Re: INFO: rcu detected stall in sys_open (2)

2020-12-17 Thread Dmitry Vyukov
On Wed, Dec 16, 2020 at 2:40 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 1d0e850a49a5b56f8f3cb51e74a11e2fedb96be6 > Author: David Howells > Date: Fri Oct 16 12:21:14 2020 + > > afs: Fix cell removal > > bisection log:

[PATCH 4/5] xen/xenbus: Count pending messages for each watch

2020-12-17 Thread SeongJae Park
From: SeongJae Park This commit adds a counter of pending messages for each watch in the struct. It is used to skip unnecessary pending messages lookup in 'unregister_xenbus_watch()'. It could also be used in 'will_handle' callback. This is part of XSA-349 This is upstream commit

[PATCH 3/5] xen/xenbus/xen_bus_type: Support will_handle watch callback

2020-12-17 Thread SeongJae Park
From: SeongJae Park This commit adds support of the 'will_handle' watch callback for 'xen_bus_type' users. This is part of XSA-349 This is upstream commit be987200fbaceaef340872841d4f7af2c5ee8dc3 Cc: sta...@vger.kernel.org Signed-off-by: SeongJae Park Reported-by: Michael Kurth Reported-by:

[PATCH 2/5] xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()

2020-12-17 Thread SeongJae Park
From: SeongJae Park Some code does not directly make 'xenbus_watch' object and call 'register_xenbus_watch()' but use 'xenbus_watch_path()' instead. This commit adds support of 'will_handle' callback in the 'xenbus_watch_path()' and it's wrapper, 'xenbus_watch_pathfmt()'. This is part of

[PATCH 1/5] xen/xenbus: Allow watches discard events before queueing

2020-12-17 Thread SeongJae Park
From: SeongJae Park If handling logics of watch events are slower than the events enqueue logic and the events can be created from the guests, the guests could trigger memory pressure by intensively inducing the events, because it will create a huge number of pending events that exhausting the

[PATCH v2] gdb: lx-symbols: store the abspath()

2020-12-17 Thread Johannes Berg
From: Johannes Berg If we store the relative path, the user might later cd to a different directory, and that would break the automatic symbol resolving that happens when a module is loaded into the target kernel. Fix this by storing the abspath() of each path given, just like we already do for

Re: [PATCH 01/18] arm64: dts: renesas: beacon kit: Configure programmable clocks

2020-12-17 Thread Geert Uytterhoeven
Hi Adam, On Wed, Dec 16, 2020 at 6:03 PM Adam Ford wrote: > On Wed, Dec 16, 2020 at 8:55 AM Geert Uytterhoeven > wrote: > > On Sun, Dec 13, 2020 at 7:38 PM Adam Ford wrote: > > > When the board was added, clock drivers were being updated done at > > > the same time to allow the versaclock

[PATCH 0/5] Backport of patch series for stable 4.4 branch

2020-12-17 Thread SeongJae Park
From: SeongJae Park SeongJae Park (5): xen/xenbus: Allow watches discard events before queueing xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path() xen/xenbus/xen_bus_type: Support will_handle watch callback xen/xenbus: Count pending messages for each watch

Re: [PATCH v4 1/2] Partially revert ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state

2020-12-17 Thread Srinivasa Rao Mandadapu
Thanks Mark for your Time!!! On 12/14/2020 11:20 PM, Mark Brown wrote: On Mon, Dec 14, 2020 at 06:13:22PM +0530, Srinivasa Rao Mandadapu wrote: On 12/1/2020 11:21 PM, Mark Brown wrote: Later from review comments by Srinivas kandagatla, I got to know about regcache sync APIs, which can be

[PATCH 2/2] platform/chrome: cros_ec_sysfs: Add cold-ap-off to sysfs reboot.

2020-12-17 Thread Pi-Hsun Shih
Signed-off-by: Pi-Hsun Shih --- drivers/platform/chrome/cros_ec_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_sysfs.c b/drivers/platform/chrome/cros_ec_sysfs.c index f521a5c65091..8210fb10e839 100644 ---

Re: [PATCH] gdb: correct sys.path insertion

2020-12-17 Thread Johannes Berg
Hi Jan, > > -sys.path.insert(0, os.path.dirname(__file__) + "/scripts/gdb") > > +sys.path.insert(0, os.path.dirname(__file__)) > > > > try: > > gdb.parse_and_eval("0") > > > > How did you test that, which setup? I just ran "gdb > /build/vmlinux", and "python print(sys.path)" didn't

[PATCH 1/2] platform/chrome: cros_ec: Add host command to keep AP off after EC reset.

2020-12-17 Thread Pi-Hsun Shih
Add command to EC_CMD_REBOOT_EC to reset EC but don't boot AP. Signed-off-by: Pi-Hsun Shih --- The corresponding changes in ChromeOS EC firmware is at crrev.com/c/2428361 --- include/linux/platform_data/cros_ec_commands.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] RISC-V: Fix usage of memblock_enforce_memory_limit

2020-12-17 Thread Bin Meng
Hi Atish, On Thu, Dec 17, 2020 at 3:49 PM Atish Patra wrote: > > memblock_enforce_memory_limit accepts the maximum memory size not the last > address. Fix the function invocation correctly. > > Fixes: 1bd14a66ee52 ("RISC-V: Remove any memblock representing unusable > memory area") > >

Re: [PATCH] gdb: correct sys.path insertion

2020-12-17 Thread Jan Kiszka
On 16.12.20 14:36, Johannes Berg wrote: > From: Johannes Berg > > Perhaps something got moved around at some point, but the > current path that gets inserted has "/scripts/gdb" twice, > since the script is located in scripts/gdb/ already. Fix > the path. > > Signed-off-by: Johannes Berg > ---

Re: [PATCH] gdb: lx-symbols: store the abspath()

2020-12-17 Thread Jan Kiszka
On 16.12.20 14:56, Johannes Berg wrote: > From: Johannes Berg > > If we store the relative path, the user might later cd to a > different directory, and that would break the automatic symbol > resolving that happens when a module is loaded into the target > kernel. Fix this by storing the

[PATCH v6 2/2] ASoC: qcom: Add support for playback recover after resume

2020-12-17 Thread Srinivasa Rao Mandadapu
To support playback continuation after hard suspend(bypass powerd) and resume do regcache sync with component driver pm ops. Signed-off-by: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Mandadapu Reviewed-by: Srinivas Kandagatla Tested-by: Steev Klimaszewski ---

[PATCH v6 1/2] ASoC: qcom: Fix incorrect volatile registers

2020-12-17 Thread Srinivasa Rao Mandadapu
MI2S and DMA control registers are not volatile, so remove these from volatile registers list. Registers reset state check by reading non volatile registers makes no use, so remove error check from cpu and platform trigger callbacks. Initialized map variable two times in lpass platform trigger

[PATCH v6 0/2] Platform driver update to support playback recover after resume

2020-12-17 Thread Srinivasa Rao Mandadapu
This patch set is to add support for playback recover after hard suspend and resume. It includes: 1. Reverting part of previous commit, which is for handling registers invalid state after hard suspend. 2. Adding pm ops in component driver and do regcache sync. Changes Since v1 and v2: --

Re: [PATCH] hwmon: SENSORS_SBTSI should depend on X86

2020-12-17 Thread Geert Uytterhoeven
Hi Kun, Günter, On Wed, Dec 16, 2020 at 9:17 PM Guenter Roeck wrote: > On Wed, Dec 16, 2020 at 09:27:28AM -0800, Kun Yi wrote: > > On Wed, Dec 16, 2020 at 8:31 AM Guenter Roeck wrote: > > > > > > On Wed, Dec 16, 2020 at 02:46:41PM +0100, Geert Uytterhoeven wrote: > > > > The AMD SB Temperature

[PATCH] bcache: fix UUID room exhausted fake issue.

2020-12-17 Thread Yi Li
The UUID room will be exhausted fake when loop attach/dettach backing dev. Using zero_uuid to the UUID room after dettach normaly. And attach dev can request UUID room successfully. Signed-off-by: Yi Li Signed-off-by: Li bing --- drivers/md/bcache/super.c | 20 +--- 1 file

[PATCH v1 ] ALSA: core: memalloc: add page alignment for iram

2020-12-17 Thread Robin Gong
Since mmap for userspace is based on page alignment, add page alignment for iram alloc from pool, otherwise, some good data located in the same page of dmab->area maybe touched wrongly by userspace like pulseaudio. Signed-off-by: Robin Gong --- sound/core/memalloc.c | 3 ++- 1 file changed, 2

Loan Offer

2020-12-17 Thread Loan Services
Do you need a Loan @ 2% P.A? Mail us your: Names,Home Add,Mob No,Email id,Amount Needed,Loan Duration,Occupation :If you are interested kindly contact us via email for more details -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Re: [PATCH 00/21] Control VQ support in vDPA

2020-12-17 Thread Michael S. Tsirkin
On Thu, Dec 17, 2020 at 11:30:18AM +0800, Jason Wang wrote: > > On 2020/12/16 下午5:47, Michael S. Tsirkin wrote: > > On Wed, Dec 16, 2020 at 02:47:57PM +0800, Jason Wang wrote: > > > Hi All: > > > > > > This series tries to add the support for control virtqueue in vDPA. > > > > > > Control

<    5   6   7   8   9   10