Re: [PATCH v3 6/7] venus: Make debug infrastructure more flexible

2020-06-11 Thread Jason Baron
On 6/11/20 5:19 PM, jim.cro...@gmail.com wrote: > trimmed.. > Currently I think there not enough "levels" to map something like drm.debug to the new dyn dbg feature. I don't think it is intrinsic but I couldn't find the bit of the code where the 5-bit level in struct

Re: [PATCH v2 1/1] selinux: fix another double free

2020-06-11 Thread Paul Moore
On Thu, Jun 11, 2020 at 4:48 PM wrote: > From: Tom Rix > > Clang static analysis reports this double free error > > security/selinux/ss/conditional.c:139:2: warning: Attempt to free released > memory [unix.Malloc] > kfree(node->expr.nodes); > ^~~ > > When

[PATCH alexv12 2/2] mm/compaction: fix call to __isolate_lru_page_prepare()

2020-06-11 Thread Hugh Dickins
isolate_migratepages_block() is calling __isolate_lru_page_prepare() at a point when it has not yet acquired a reference to the page, and may not yet hold the right lruvec lock: it has no hold on the page. trylock_page() is not safe to use at this time: its setting PG_locked can race with the

[PATCH 0/6] iommu-arm-smmu: Add auxiliary domains and per-instance pagetables

2020-06-11 Thread Jordan Crouse
This is a new refresh of support for auxiliary domains for arm-smmu-v2 and per-instance pagetables for drm/msm. The big change here from past efforts is that outside of creating a single aux-domain to enable TTBR0 all of the per-instance pagetables are created and managed exclusively in drm/msm

[PATCH 4/6] drm/msm: Add support to create a local pagetable

2020-06-11 Thread Jordan Crouse
Add support to create a io-pgtable for use by targets that support per-instance pagetables. In order to support per-instance pagetables the GPU SMMU device needs to have the qcom,adreno-smmu compatible string and split pagetables and auxiliary domains need to be supported and enabled.

[PATCH 3/6] iommu/arm-smmu: Add a domain attribute to pass the pagetable config

2020-06-11 Thread Jordan Crouse
The Adreno GPU has the capacity to manage its own pagetables and switch them dynamically from the hardware. Add a domain attribute for arm-smmu-v2 to get the default pagetable configuration so that the GPU driver can match the format for its own pagetables. Signed-off-by: Jordan Crouse ---

[PATCH 1/6] iommu/arm-smmu: Add auxiliary domain support for arm-smmuv2

2020-06-11 Thread Jordan Crouse
Support auxiliary domains for arm-smmu-v2 to initialize and support multiple pagetables for a single SMMU context bank. Since the smmu-v2 hardware doesn't have any built in support for switching the pagetable base it is left as an exercise to the caller to actually use the pagetable. Aux domains

[PATCH 6/6] drm/msm/a6xx: Add support for per-instance pagetables

2020-06-11 Thread Jordan Crouse
Add support for using per-instance pagetables if all the dependencies are available. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 69 ++- drivers/gpu/drm/msm/msm_ringbuffer.h | 1 + 2 files changed, 69 insertions(+), 1 deletion(-) diff

[PATCH 5/6] drm/msm: Add support for address space instances

2020-06-11 Thread Jordan Crouse
Add support for allocating an address space instance. Targets that support per-instance pagetables should implement their own function to allocate a new instance. The default will return the existing generic address space. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/msm_drv.c | 15

[PATCH 2/6] iommu/io-pgtable: Allow a pgtable implementation to skip TLB operations

2020-06-11 Thread Jordan Crouse
Allow a io-pgtable implementation to skip TLB operations by checking for NULL pointers in the helper functions. It will be up to to the owner of the io-pgtable instance to make sure that they independently handle the TLB correctly. Signed-off-by: Jordan Crouse --- include/linux/io-pgtable.h |

[PATCH alexv12 1/2] mm/compaction: fix isolate_migratepages_block() fails

2020-06-11 Thread Hugh Dickins
Fix lots of crashes under compaction load: isolate_migratepages_block() must clean up appropriately when rejecting a page, setting PageLRU again if it had been cleared; and a put_page() after get_page_unless_zero() cannot safely be done while holding locked_lruvec - it may turn out to be the final

Re: [PATCH v12 00/16] per memcg lru lock

2020-06-11 Thread Hugh Dickins
On Thu, 11 Jun 2020, Alex Shi wrote: > This is a new version which bases on v5.8, No, not even v5.8-rc1 has come out yet. v12 applied cleanly on 2dca74a40e1e7ff45079d85fc507769383039b9d but I didn't check the build. > only change mm/compaction.c > since

[PATCH v8 6/7] drm/msm: Set the global virtual address range from the IOMMU domain

2020-06-11 Thread Jordan Crouse
Use the aperture settings from the IOMMU domain to set up the virtual address range for the GPU. This allows us to transparently deal with IOMMU side features (like split pagetables). Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 13 +++--

[PATCH v8 1/7] iommu/arm-smmu: Pass io-pgtable config to implementation specific function

2020-06-11 Thread Jordan Crouse
Construct the io-pgtable config before calling the implementation specific init_context function and pass it so the implementation specific function can get a chance to change it before the io-pgtable is created. Signed-off-by: Jordan Crouse --- drivers/iommu/arm-smmu-impl.c | 3 ++-

[PATCH v8 0/7] iommu/arm-smmu: Enable split pagetable support

2020-06-11 Thread Jordan Crouse
Another iteration of the split-pagetable support for arm-smmu and the Adreno GPU SMMU. After email discussions [1] we opted to make a arm-smmu implementation for specifically for the Adreno GPU and use that to enable split pagetable support and later other implementation specific bits that we

[PATCH v8 4/7] iommu/arm-smmu: Add a pointer to the attached device to smmu_domain

2020-06-11 Thread Jordan Crouse
Add a link to the pointer to the struct device that is attached to a domain. This makes it easy to get the pointer if it is needed in the implementation specific code. Signed-off-by: Jordan Crouse --- drivers/iommu/arm-smmu.c | 1 + drivers/iommu/arm-smmu.h | 1 + 2 files changed, 2

[PATCH v8 3/7] dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU

2020-06-11 Thread Jordan Crouse
Every Qcom Adreno GPU has an embedded SMMU for its own use. These devices depend on unique features such as split pagetables, different stall/halt requirements and other settings. Identify them with a compatible string so that they can be identified in the arm-smmu implementation specific code.

[PATCH v8 5/7] iommu/arm-smmu: Add implementation for the adreno GPU SMMU

2020-06-11 Thread Jordan Crouse
Add a special implementation for the SMMU attached to most Adreno GPU target triggered from the qcom,adreno-gpu-smmu compatible string. When selected the driver will attempt to enable split pagetables. Signed-off-by: Jordan Crouse --- drivers/iommu/arm-smmu-impl.c | 3 +++

[PATCH v8 7/7] arm: dts: qcom: sm845: Set the compatible string for the GPU SMMU

2020-06-11 Thread Jordan Crouse
Set the qcom,adreno-smmu compatible string for the GPU SMMU to enable split pagetables. Signed-off-by: Jordan Crouse --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi

Re: [PATCH v7 4/5] remoteproc: ingenic: Added remoteproc driver

2020-06-11 Thread Paul Cercueil
Hi Suman, Le jeu. 11 juin 2020 à 16:47, Suman Anna a écrit : Hi Paul, On 5/15/20 5:43 AM, Paul Cercueil wrote: This driver is used to boot, communicate with and load firmwares to the MIPS co-processor found in the VPU hardware of the JZ47xx SoCs from Ingenic. I have a few comments w.r.t

[PATCH v8 2/7] iommu/arm-smmu: Add support for split pagetables

2020-06-11 Thread Jordan Crouse
Enable TTBR1 for a context bank if IO_PGTABLE_QUIRK_ARM_TTBR1 is selected by the io-pgtable configuration. Signed-off-by: Jordan Crouse --- drivers/iommu/arm-smmu.c | 21 - drivers/iommu/arm-smmu.h | 25 +++-- 2 files changed, 35 insertions(+), 11

Re: [PATCH 4.19 25/25] Revert "net/mlx5: Annotate mutex destroy for root ns"

2020-06-11 Thread Saeed Mahameed
On Tue, 2020-06-09 at 19:45 +0200, Greg Kroah-Hartman wrote: > From: Greg Kroah-Hartman > > This reverts commit 95fde2e46860c183f6f47a99381a3b9bff488bd5 which is > commit 9ca415399dae133b00273a4283ef31d003a6818d upstream. > > It was backported incorrectly, Paul writes at: >

Re: [PATCH v11 00/16] per memcg lru lock

2020-06-11 Thread Hugh Dickins
On Thu, 11 Jun 2020, Alex Shi wrote: > 在 2020/6/10 上午11:22, Hugh Dickins 写道: > > On Mon, 8 Jun 2020, Alex Shi wrote: > >> 在 2020/6/8 下午12:15, Hugh Dickins 写道: > 24 files changed, 487 insertions(+), 312 deletions(-) > >>> Hi Alex, > >>> > >>> I didn't get to try v10 at all, waited until

[PATCH] ARM: dts: am5729: beaglebone-ai: fix rgmii phy-mode

2020-06-11 Thread Drew Fustini
Since commit cd28d1d6e52e ("net: phy: at803x: Disable phy delay for RGMII mode") the networking is broken on the BeagleBone AI which has the AR8035 PHY for Gigabit Ethernet [0]. The fix is to switch from phy-mode = "rgmii" to phy-mode = "rgmii-rxid". Note: Grygorii Strashko made a similar

Re: [PATCH] net/mlx5: Use kfree(ft->g) in arfs_create_groups()

2020-06-11 Thread Saeed Mahameed
On Fri, 2020-06-05 at 12:57 -0700, Eric Dumazet wrote: > > On 6/5/20 12:22 PM, Denis Efremov wrote: > > Use kfree() instead of kvfree() on ft->g in arfs_create_groups() > > because > > the memory is allocated with kcalloc(). > > > > Signed-off-by: Denis Efremov > > --- > >

[PATCH v2] Makefile: Improve compressed debug info support detection

2020-06-11 Thread Arvind Sankar
Commit 10e68b02c861 ("Makefile: support compressed debug info") added support for compressed debug sections. Support is detected by checking - does the compiler support -gz=zlib - does the assembler support --compressed-debug-sections=zlib - does the linker support

Re: [GIT PULL] RISC-V Patches for the 5.8 Merge Window, Part 2

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jun 2020 10:53:59 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.8-mw1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cd16ed33c3c618930ccda7049dcea05ee707a9c0 Thank you! --

Re: [GIT PULL] arm64 merge window fixes for -rc1

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jun 2020 18:34:12 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git > tags/arm64-upstream has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/55d728b2b05fb0377a9048af3460c375b54619e2 Thank you! -- Deet-doot-dot,

Re: [git pull] m68knommu changes for v5.8

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jun 2020 15:21:29 +1000: > git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git > tags/m68knommu-for-v5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d3ea693439833b5ed9b932512e9a90b9381035c9 Thank you! --

Re: [PATCH -tip v3 1/2] kcov: Make runtime functions noinstr-compatible

2020-06-11 Thread Peter Zijlstra
On Thu, Jun 11, 2020 at 11:55:38PM +0200, Peter Zijlstra wrote: > On Mon, Jun 08, 2020 at 01:01:08PM +0200, Peter Zijlstra wrote: > > On Mon, Jun 08, 2020 at 09:57:39AM +0200, Dmitry Vyukov wrote: > > > > > As a crazy idea: is it possible to employ objtool (linker script?) to > > > rewrite all

Re: [PATCH -tip v3 1/2] kcov: Make runtime functions noinstr-compatible

2020-06-11 Thread Peter Zijlstra
On Mon, Jun 08, 2020 at 01:01:08PM +0200, Peter Zijlstra wrote: > On Mon, Jun 08, 2020 at 09:57:39AM +0200, Dmitry Vyukov wrote: > > > As a crazy idea: is it possible to employ objtool (linker script?) to > > rewrite all coverage calls to nops in the noinstr section? Or relocate > > to nop

[PATCH] lib: kunit_test_overflow: add KUnit test of check_*_overflow functions

2020-06-11 Thread Vitor Massaru Iha
This adds the convertion of the runtime tests of check_*_overflow fuctions, from `lib/test_overflow.c`to KUnit tests. The log similar to the one seen in dmesg running test_overflow can be seen in `test.log`. Signed-off-by: Vitor Massaru Iha --- lib/Kconfig.debug | 17 ++ lib/Makefile

Re: [PATCH] Makefile: Improve compressed debug info support detection

2020-06-11 Thread Arvind Sankar
On Thu, Jun 11, 2020 at 02:09:21PM -0700, Nick Desaulniers wrote: > On Wed, Jun 10, 2020 at 4:30 PM Arvind Sankar wrote: > > > > Yes, the gcc driver reports an error when deciding what to pass to the > > assembler for -gz=zlib, if it was configured with a linker that does not > > support the

Re: [PATCH net-next v2 3/4] mlx5: become aware of when running as a bonding slave

2020-06-11 Thread Saeed Mahameed
On Wed, 2020-06-10 at 14:59 -0400, Jarod Wilson wrote: > I've been unable to get my hands on suitable supported hardware to > date, > but I believe this ought to be all that is needed to enable the mlx5 > driver to also work with bonding active-backup crypto offload > passthru. > > CC: Boris

RE: liquidio vs smp_call_function_single_async()

2020-06-11 Thread Derek Chickles
> From: Peter Zijlstra > Sent: Monday, June 8, 2020 6:05 AM > To: Derek Chickles ; Satananda Burla > ; Felix Manlunas > Cc: frede...@kernel.org; linux-kernel@vger.kernel.org; > da...@davemloft.net; k...@kernel.org; net...@vger.kernel.org > Subject: liquidio vs smp_call_function_single_async() >

[PATCH 0/3] INVPCID support for the AMD guests

2020-06-11 Thread Babu Moger
The following series adds the support for PCID/INVPCID on AMD guests. For the guests with nested page table (NPT) support, the INVPCID feature works as running it natively. KVM does not need to do any special handling in this case. KVM interceptions are required in the following cases. 1. If the

[PATCH 3/3] KVM:SVM: Enable INVPCID feature on AMD

2020-06-11 Thread Babu Moger
The following intercept is added for INVPCID instruction: CodeNameCause A2h VMEXIT_INVPCID INVPCID instruction The following bit is added to the VMCB layout control area to control intercept of INVPCID: Byte Offset Bit(s)Function 14h 2 intercept

[PATCH 2/3] KVM:SVM: Add extended intercept support

2020-06-11 Thread Babu Moger
The new intercept bits have been added in vmcb control area to support the interception of INVPCID instruction. The following bit is added to the VMCB layout control area to control intercept of INVPCID: Byte Offset Bit(s) Function 14h 2 intercept INVPCID

[PATCH 1/3] KVM: X86: Move handling of INVPCID types to x86

2020-06-11 Thread Babu Moger
INVPCID instruction handling is mostly same across both VMX and SVM. So, move the code to common x86.c. Signed-off-by: Babu Moger --- arch/x86/kvm/vmx/vmx.c | 78 +- arch/x86/kvm/x86.c | 89

Re: [PATCH v7 4/5] remoteproc: ingenic: Added remoteproc driver

2020-06-11 Thread Suman Anna
Hi Paul, On 5/15/20 5:43 AM, Paul Cercueil wrote: This driver is used to boot, communicate with and load firmwares to the MIPS co-processor found in the VPU hardware of the JZ47xx SoCs from Ingenic. I have a few comments w.r.t pm_runtime usage in this driver. Signed-off-by: Paul Cercueil

Re: [PATCH] Makefile: Improve compressed debug info support detection

2020-06-11 Thread Arvind Sankar
On Thu, Jun 11, 2020 at 01:44:53PM -0700, Nick Desaulniers wrote: > On Wed, Jun 10, 2020 at 4:39 PM Arvind Sankar wrote: > > > > On Wed, Jun 10, 2020 at 07:30:46PM -0400, Arvind Sankar wrote: > > > On Wed, Jun 10, 2020 at 02:27:55PM -0700, Nick Desaulniers wrote: > > > > > > No, as-option does

[GIT PULL] io_uring fixes for 5.8-rc1

2020-06-11 Thread Jens Axboe
Hi Linus, A few late stragglers in here. In particular: - Validate full range for provided buffers (Bijan) - Fix bad use of kfree() in buffer registration failure (Denis) - Don't allow close of ring itself, it's not fully safe. Making it fully safe would require making the system call more

Re: [PATCH v5 1/4] riscv: Move kernel mapping to vmalloc zone

2020-06-11 Thread Atish Patra
On Sun, Jun 7, 2020 at 1:01 AM Alexandre Ghiti wrote: > > This is a preparatory patch for relocatable kernel. > > The kernel used to be linked at PAGE_OFFSET address and used to be loaded > physically at the beginning of the main memory. Therefore, we could use > the linear mapping for the kernel

Re: [Cocci] [PATCH v2 4/4] coccinelle: api: add selfcheck for memdup_user rule

2020-06-11 Thread Denis Efremov
On 6/9/20 7:22 PM, Julia Lawall wrote: > > > On Mon, 8 Jun 2020, Denis Efremov wrote: > >> Check that the rule matches vmemdup_user implementation. >> memdup_user is out of scope because we are not matching >> kmalloc_track_caller() function. > > Is this a bit over-enginered? Last patch

linux-next: Fixes tag needs some work in the pinctrl tree

2020-06-11 Thread Stephen Rothwell
Hi all, In commit 02e1254d7740 ("pinctrl: qcom: ipq6018 Add missing pins in qpic pin group") Fixes tag Fixes: ef1ea54 (pinctrl: qcom: Add ipq6018 pinctrl driver) has these problem(s): - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or more) or

Re: [PATCH] kunit: show error if kunit results are not present

2020-06-11 Thread Brendan Higgins
+Will Chen On Thu, Jun 11, 2020 at 2:17 PM Uriel Guajardo wrote: > > From: Uriel Guajardo > > Currently, if the kernel is configured incorrectly or if it crashes before any > kunit tests are run, kunit finishes without error, reporting > that 0 test cases were run. > > To fix this, an error is

Re: [PATCH] kunit: show error if kunit results are not present

2020-06-11 Thread Brendan Higgins
On Thu, Jun 11, 2020 at 2:17 PM Uriel Guajardo wrote: > > From: Uriel Guajardo > > Currently, if the kernel is configured incorrectly or if it crashes before any > kunit tests are run, kunit finishes without error, reporting > that 0 test cases were run. > > To fix this, an error is shown when

linux-next: Signed-off-by missing for commit in the tip tree

2020-06-11 Thread Stephen Rothwell
Hi all, Commit 7102cb071326 ("x86/entry: Fix allnoconfig build warning") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpZnfUWeTko5.pgp Description: OpenPGP digital signature

Re: [PATCH v3 6/7] venus: Make debug infrastructure more flexible

2020-06-11 Thread jim . cromie
trimmed.. > > > Currently I think there not enough "levels" to map something like > > > drm.debug to the new dyn dbg feature. I don't think it is intrinsic > > > but I couldn't find the bit of the code where the 5-bit level in struct > > > _ddebug is converted from a mask to a bit number and

drivers/pinctrl/cirrus/pinctrl-madera-core.o: warning: objtool: madera_pin_conf_set.cold()+0x4a: sibling call from callable instruction with modified stack frame

2020-06-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2dca74a40e1e7ff45079d85fc507769383039b9d commit: 113d4bc9048336ba7c3d2ad972dbad4aef6e148a objtool: Fix clang switch table edge case date: 4 months ago config: x86_64-randconfig-a013-20200611 (attached

Re: [PATCH v7 3/5] remoteproc: Add support for runtime PM

2020-06-11 Thread Suman Anna
On 6/10/20 11:39 PM, Bjorn Andersson wrote: On Wed 10 Jun 02:40 PDT 2020, Paul Cercueil wrote: Hi, Le lun. 8 juin 2020 à 18:10, Suman Anna a écrit : Hi Paul, On 6/8/20 5:46 PM, Paul Cercueil wrote: Hi Suman, On 5/15/20 5:43 AM, Paul Cercueil wrote: Call pm_runtime_get_sync() before the

linux-next: Fixes tag needs some work in the v4l-dvb-next tree

2020-06-11 Thread Stephen Rothwell
Hi all, In commit 5be5f41dd785 ("media: v4l2-subdev.rst: correct information about v4l2 events") Fixes tag Fixes: commit 02adb1cc765b ("[media] v4l: subdev: Events support") has these problem(s): - leading word 'commit' unexpected -- Cheers, Stephen Rothwell pgpDnXERVlVUX.pgp

[PATCH] kunit: show error if kunit results are not present

2020-06-11 Thread Uriel Guajardo
From: Uriel Guajardo Currently, if the kernel is configured incorrectly or if it crashes before any kunit tests are run, kunit finishes without error, reporting that 0 test cases were run. To fix this, an error is shown when the tap header is not found, which indicates that kunit was not able

Re: [PATCH v2] powerpc: Remove inaccessible CMDLINE default

2020-06-11 Thread Chris Packham
On 11/06/20 5:46 pm, Christophe Leroy wrote: > > > Le 11/06/2020 à 05:41, Chris Packham a écrit : >> Since commit cbe46bd4f510 ("powerpc: remove CONFIG_CMDLINE #ifdef mess") >> CONFIG_CMDLINE has always had a value regardless of CONFIG_CMDLINE_BOOL. >> >> For example: >> >>   $ make ARCH=powerpc

[PATCH 2/5] fpga manager: xilinx-spi: valid for the 7 Series too

2020-06-11 Thread Luca Ceresoli
The Xilinx 7-series uses the same protocol, mention that. Signed-off-by: Luca Ceresoli --- drivers/fpga/xilinx-spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/xilinx-spi.c b/drivers/fpga/xilinx-spi.c index 272ee0c22822..79106626c3f8 100644 ---

[PATCH 3/5] fpga manager: xilinx-spi: remove unneeded, mistyped variables

2020-06-11 Thread Luca Ceresoli
Using variables does not add readability here: parameters passed to udelay*() are obviously in microseconds and their meaning is clear from the context. The type is also wrong, udelay expects an unsigned long. Signed-off-by: Luca Ceresoli --- drivers/fpga/xilinx-spi.c | 6 ++ 1 file

[PATCH 5/5] fpga manager: xilinx-spi: check INIT_B pin during write_init

2020-06-11 Thread Luca Ceresoli
The INIT_B reports the status during startup and after the end of the programming process. However the current driver completely ignores it. Check the pin status during startup to make sure programming is never started too early and also to detect any hardware issues in the FPGA connection. This

[PATCH 1/5] dt-bindings: fpga: xilinx-slave-serial: valid for the 7 Series too

2020-06-11 Thread Luca Ceresoli
The Xilinx 7-series uses the same protocol, mention that. Signed-off-by: Luca Ceresoli --- .../devicetree/bindings/fpga/xilinx-slave-serial.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/fpga/xilinx-slave-serial.txt

[PATCH 4/5] dt-bindings: fpga: xilinx-slave-serial: add optional INIT_B GPIO

2020-06-11 Thread Luca Ceresoli
The INIT_B is used by the 6 and 7 series to report the programming status, providing more control and information about programming errors. Signed-off-by: Luca Ceresoli --- .../devicetree/bindings/fpga/xilinx-slave-serial.txt | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-)

Re: [PATCH] Makefile: Improve compressed debug info support detection

2020-06-11 Thread Nick Desaulniers
On Wed, Jun 10, 2020 at 4:30 PM Arvind Sankar wrote: > > On Wed, Jun 10, 2020 at 02:27:55PM -0700, Nick Desaulniers wrote: > > On Wed, Jun 10, 2020 at 12:11 PM Arvind Sankar > > wrote: > > > > > > Commit > > > 10e68b02c861 ("Makefile: support compressed debug info") > > > added support for

Re: [PATCH] net: ethernet: mtk-star-emac: simplify interrupt handling

2020-06-11 Thread Bartosz Golaszewski
czw., 11 cze 2020 o 21:51 David Miller napisał(a): > > From: Bartosz Golaszewski > Date: Thu, 11 Jun 2020 16:01:39 +0200 > > > Unfortunately after thorough testing of current mainline, we noticed the > > driver has become unstable under heavy load. While this is hard to > > reproduce, it's quite

[PATCH net] rxrpc: Fix race between incoming ACK parser and retransmitter

2020-06-11 Thread David Howells
There's a race between the retransmission code and the received ACK parser. The problem is that the retransmission loop has to drop the lock under which it is iterating through the transmission buffer in order to transmit a packet, but whilst the lock is dropped, the ACK parser can crank the Tx

Re: [PATCH v8 2/2] PCI: xilinx-cpm: Add Versal CPM Root Port driver

2020-06-11 Thread Bjorn Helgaas
On Mon, Jun 08, 2020 at 06:48:58PM +0530, Bharat Kumar Gogada wrote: > - Add support for Versal CPM as Root Port. > - The Versal ACAP devices include CCIX-PCIe Module (CPM). The integrated > block for CPM along with the integrated bridge can function > as PCIe Root Port. > - Bridge error and

Re: [PATCH v2 3/3] iommu/vt-d: Sanity check uapi argsz filled by users

2020-06-11 Thread Alex Williamson
On Thu, 11 Jun 2020 13:02:24 -0700 Jacob Pan wrote: > On Thu, 11 Jun 2020 11:08:16 -0600 > Alex Williamson wrote: > > > On Wed, 10 Jun 2020 21:12:15 -0700 > > Jacob Pan wrote: > > > > > IOMMU UAPI data has an argsz field which is filled by user. As the > > > data structures expands, argsz

[PATCH] afs: Fix afs_store_data() to set mtime in new operation descriptor

2020-06-11 Thread David Howells
Fix afs_store_data() so that it sets the mtime in the new operation descriptor otherwise the mtime on the server gets set to 0 when a write is stored to the server. Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept") Reported-by: Dave Botsch Signed-off-by: David

[PATCH v2 0/1] selinux: fix another double free

2020-06-11 Thread trix
From: Tom Rix repo: linux-next tag: next-20200611 Change from v1 Convert goto's to returns Remove extra 'the' in the commit log Add note on commit this is fixing in the commit log Tom Rix (1): selinux: fix another double free security/selinux/ss/conditional.c | 11 +++ 1 file

[PATCH v2 1/1] selinux: fix another double free

2020-06-11 Thread trix
From: Tom Rix Clang static analysis reports this double free error security/selinux/ss/conditional.c:139:2: warning: Attempt to free released memory [unix.Malloc] kfree(node->expr.nodes); ^~~ When cond_read_node fails, it calls cond_node_destroy which frees

Re: [PATCH] Makefile: Improve compressed debug info support detection

2020-06-11 Thread Nick Desaulniers
On Wed, Jun 10, 2020 at 4:39 PM Arvind Sankar wrote: > > On Wed, Jun 10, 2020 at 07:30:46PM -0400, Arvind Sankar wrote: > > On Wed, Jun 10, 2020 at 02:27:55PM -0700, Nick Desaulniers wrote: > > > > No, as-option does invoke the assembler. The problem here is that with > > -Wa, the option is only

Re: [PATCH v2 1/3] docs: IOMMU user API

2020-06-11 Thread Alex Williamson
On Thu, 11 Jun 2020 12:52:05 -0700 Jacob Pan wrote: > Hi Alex, > > On Thu, 11 Jun 2020 09:47:41 -0600 > Alex Williamson wrote: > > > On Wed, 10 Jun 2020 21:12:13 -0700 > > Jacob Pan wrote: > > > > > IOMMU UAPI is newly introduced to support communications between > > > guest virtual IOMMU

Re: [PATCH] ASoC: SOF: Intel: hda: unsolicited RIRB response

2020-06-11 Thread Pierre-Louis Bossart
I added debug messages to print the RIRBWP register and realize that response could come between the read of RIRBWP in the snd_hdac_bus_update_rirb() function and the interrupt clear in the hda_dsp_stream_interrupt() function. The response is not handled but the interrupt is already cleared.

Re: [PATCH v6 4/5] drm/msm/dp: add support for DP PLL driver

2020-06-11 Thread tanmay
Hi Stephen, Thanks for reviews. Please ignore previous response to this patch. Here, I have re-organized it. Thanks, On 2020-06-11 13:07, tan...@codeaurora.org wrote: On 2020-06-09 19:06, Stephen Boyd wrote: Quoting Tanmay Shah (2020-06-08 20:46:23) diff --git

Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver

2020-06-11 Thread Marc Kleine-Budde
On 6/11/20 6:26 PM, Marc Kleine-Budde wrote: > I initially started looking at Martin's driver and it was not using several > modern CAN driver infrastructures. I then posted some cleanup patches but > Martin > was not working on the driver any more. Then I decided to rewrite the driver, > that is

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v20)

2020-06-11 Thread Joseph Myers
On Thu, 11 Jun 2020, Mathieu Desnoyers wrote: > I managed to get a repository up and running for librseq, and have integrated > the rseq.2 man page with comments from Michael Kerrisk here: > > https://git.kernel.org/pub/scm/libs/librseq/librseq.git/tree/doc/man/rseq.2 > > Is that a suitable URL

Re: [PATCH] PCI: Loongson: Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk()

2020-06-11 Thread Bjorn Helgaas
Subject line: PCI: loongson: Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk() (Driver names are conventionally lower case.) Lorenzo will probably silently fix this when applying, so this is mostly just a reminder in case you need to revise this or for future patches. On Wed, Jun 10, 2020

Re: redundant check in make_data_reusable(): was [PATCH v2 2/3] printk: add lockless buffer

2020-06-11 Thread John Ogness
On 2020-06-11, Petr Mladek wrote: >> --- /dev/null >> +++ b/kernel/printk/printk_ringbuffer.c >> +/* >> + * Given a data ring (text or dict), put the associated descriptor of >> each >> + * data block from @lpos_begin until @lpos_end into the reusable state. >> + *

Re: [gup] 17839856fd: stress-ng.vm-splice.ops_per_sec 2158.6% improvement

2020-06-11 Thread Linus Torvalds
On Wed, Jun 10, 2020 at 9:05 PM kernel test robot wrote: > > FYI, we noticed a 2158.6% improvement of stress-ng.vm-splice.ops_per_sec due > to commit: > > commit: 17839856fd588f4ab6b789f482ed3ffd7c403e1f ("gup: document and work > around "COW can break either way" issue") Well, that is

Re: [PATCH v6] mm: Proactive compaction

2020-06-11 Thread Nitin Gupta
On 6/9/20 12:23 PM, Khalid Aziz wrote: > On Mon, 2020-06-01 at 12:48 -0700, Nitin Gupta wrote: >> For some applications, we need to allocate almost all memory as >> hugepages. However, on a running system, higher-order allocations can >> fail if the memory is fragmented. Linux kernel currently

Re: [PATCH] ASoC: SOF: Intel: hda: unsolicited RIRB response

2020-06-11 Thread Takashi Iwai
On Thu, 11 Jun 2020 20:12:53 +0200, Ranjani Sridharan wrote: > > On Thu, 2020-06-11 at 19:59 +0200, Takashi Iwai wrote: > > On Thu, 11 Jun 2020 19:09:08 +0200, > > Lu, Brent wrote: > > > > > > > Hi Brent, > > > > > > > > Thanks for the patch. Is this fix for a specific issue you're > > > >

Re: [PATCH] KVM: x86: do not pass poisoned hva to __kvm_set_memory_region

2020-06-11 Thread Maxim Levitsky
On Thu, 2020-06-11 at 14:01 -0400, Paolo Bonzini wrote: > __kvm_set_memory_region does not use the hva at all, so trying to > catch use-after-delete is pointless and, worse, it fails access_ok > now that we apply it to all memslots including private kernel ones. > This fixes an AVIC regression. >

Re: [PATCH v2] ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table

2020-06-11 Thread Takashi Iwai
On Thu, 11 Jun 2020 20:08:45 +0200, Aaron Plattner wrote: > > These IDs are for upcoming NVIDIA chips with audio functions that are largely > similar to the existing ones. > > Signed-off-by: Aaron Plattner Thanks, applied now with Cc to stable. Takashi

Re: [PATCH] KVM: check userspace_addr for all memslots

2020-06-11 Thread Maxim Levitsky
On Thu, 2020-06-11 at 17:27 +0200, Paolo Bonzini wrote: > On 11/06/20 16:44, Maxim Levitsky wrote: > > On Mon, 2020-06-01 at 04:21 -0400, Paolo Bonzini wrote: > > > The userspace_addr alignment and range checks are not performed for > > > private > > > memory slots that are prepared by KVM

Re: [PATCH] checkpatch.pl: perform commit ID check from external to git folder

2020-06-11 Thread Leon Romanovsky
D, despite having valid one. > > There is already a slightly different test for this in -next > It also uses a environment test for GIT_DIR. If you are referring to this commit https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/scripts/checkpatch.pl?h=next-20200611=5bff

Re: [PATCH v6 4/5] drm/msm/dp: add support for DP PLL driver

2020-06-11 Thread tanmay
On 2020-06-09 19:06, Stephen Boyd wrote: Quoting Tanmay Shah (2020-06-08 20:46:23) diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c b/drivers/gpu/drm/msm/dp/dp_catalog.c index d02f4eb..2b982f0 100644 --- a/drivers/gpu/drm/msm/dp/dp_catalog.c +++ b/drivers/gpu/drm/msm/dp/dp_catalog.c @@ -5,6

Re: [PATCH 9/9] mm, slab/slub: move and improve cache_from_obj()

2020-06-11 Thread Roman Gushchin
On Thu, Jun 11, 2020 at 11:56:53AM +0200, Vlastimil Babka wrote: > On 6/11/20 12:46 AM, Roman Gushchin wrote: > > On Wed, Jun 10, 2020 at 06:31:35PM +0200, Vlastimil Babka wrote: > >> @@ -3672,6 +3672,14 @@ void *__kmalloc_track_caller(size_t size, gfp_t > >> flags, unsigned long caller) > >> }

Re: [PATCH 1/2] dt-bindings: chrome: Add cros-ec-typec mux props

2020-06-11 Thread Rob Herring
On Wed, Jun 10, 2020 at 11:49 AM Prashant Malani wrote: > > Hi Rob, > > On Wed, Jun 10, 2020 at 9:53 AM Rob Herring wrote: > > > > On Wed, Jun 10, 2020 at 9:34 AM Heikki Krogerus > > wrote: > > > > > > On Tue, Jun 09, 2020 at 04:57:40PM -0700, Prashant Malani wrote: > > > > Hi Rob, > > > > > >

Re: [PATCH v2 3/3] iommu/vt-d: Sanity check uapi argsz filled by users

2020-06-11 Thread Jacob Pan
On Thu, 11 Jun 2020 11:08:16 -0600 Alex Williamson wrote: > On Wed, 10 Jun 2020 21:12:15 -0700 > Jacob Pan wrote: > > > IOMMU UAPI data has an argsz field which is filled by user. As the > > data structures expands, argsz may change. As the UAPI data are > > shared among different

[PATCH] extend IMA boot_aggregate with kernel measurements

2020-06-11 Thread Maurizio Drocco
IMA is not considering TPM registers 8-9 when calculating the boot aggregate. When registers 8-9 are used to store measurements of the kernel and its command line (e.g., grub2 bootloader with tpm module enabled), IMA should include them in the boot aggregate. Signed-off-by: Maurizio Drocco ---

Re: [PATCH] net: ethernet: mtk-star-emac: simplify interrupt handling

2020-06-11 Thread David Miller
From: Bartosz Golaszewski Date: Thu, 11 Jun 2020 16:01:39 +0200 > Unfortunately after thorough testing of current mainline, we noticed the > driver has become unstable under heavy load. While this is hard to > reproduce, it's quite consistent in the driver's current form. Maybe you should work

Re: redundant check in make_data_reusable(): was [PATCH v2 2/3] printk: add lockless buffer

2020-06-11 Thread John Ogness
On 2020-06-10, John Ogness wrote: >>> +static bool data_make_reusable(struct printk_ringbuffer *rb, >>> + struct prb_data_ring *data_ring, >>> + unsigned long lpos_begin, >>> + unsigned long lpos_end, >>> +

Re: [git pull] drm fixes for 5.7-rc1 (updated pull)

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jun 2020 18:38:54 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2020-06-11-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d4e181f204dd0491da6c1d09b7208a0b990ec887 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Mailbox changes for v5.8

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Wed, 10 Jun 2020 23:10:56 -0500: > git://git.linaro.org/landing-teams/working/fujitsu/integration.git > tags/mailbox-v5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2dca74a40e1e7ff45079d85fc507769383039b9d Thank you! --

Re: [git pull] drm i915 fixes for rc1

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jun 2020 13:56:23 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2020-06-11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/66057dd1d1cf2149e0f5fdaee58d6ea69bc98048 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] sound fixes for 5.8-rc1

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jun 2020 13:33:19 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-fix-5.8-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e0154bd478897b277aeb7195bf9088e9ce05bbb0 Thank you! --

[PATCH v2] Fix undefined operation VMXOFF during reboot and crash

2020-06-11 Thread David P. Reed
If a panic/reboot occurs when CR4 has VMX enabled, a VMXOFF is done on all CPUS, to allow the INIT IPI to function, since INIT is suppressed when CPUs are in VMX root operation. Problem is that VMXOFF will causes undefined operation fault when CPU not in VMX operation, that is, VMXON has not been

[PATCH net v2 0/4] net: ipa: endpoint configuration fixes

2020-06-11 Thread Alex Elder
This series fixes four bugs in the configuration of IPA endpoints. See the description of each for more information. In this version I have dropped the last patch from the series, and restored a "static" keyword that had inadvertently gotten removed. -Alex

[PATCH net v2 2/4] net: ipa: fix modem LAN RX endpoint id

2020-06-11 Thread Alex Elder
The endpoint id assigned to the modem LAN RX endpoint for the SC7180 SoC is incorrect. The erroneous value might have been copied from SDM845 and never updated. The correct endpoint id to use for this SoC is 11. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_data-sc7180.c | 2 +- 1 file

[PATCH net v2 4/4] net: ipa: header pad field only valid for AP->modem endpoint

2020-06-11 Thread Alex Elder
Only QMAP endpoints should be configured to find a pad size field within packet headers. They are found in the first byte of the QMAP header (and the hardware fills only the 6 bits in that byte that constitute the pad_len field). The RMNet driver assumes the pad_len field is valid for received

[PATCH net v2 1/4] net: ipa: program metadata mask differently

2020-06-11 Thread Alex Elder
The way the mask value is programmed for QMAP RX endpoints was based on some wrong assumptions about the way metadata containing the QMAP mux_id value is formatted. The metadata value supplied by the modem is *not* in QMAP format, and in fact contains the mux_id we want in its (big endian)

[PATCH net v2 3/4] net: ipa: program upper nibbles of sequencer type

2020-06-11 Thread Alex Elder
The upper two nibbles of the sequencer type were not used for SDM845, and were assumed to be 0. But for SC7180 they are used, and so they must be programmed by ipa_endpoint_init_seq(). Fix this bug. IPA_SEQ_PKT_PROCESS_NO_DEC_NO_UCP_DMAP doesn't have a descriptive comment, so add one.

Re: [PATCH v2 1/4] dt-bindings: display: simple: add CDTech S070PWS19HP-FC21 and S070SWV29HG-DC44

2020-06-11 Thread Sam Ravnborg
Hi Matthias. On Thu, Jun 11, 2020 at 02:46:22PM +0200, Matthias Schiffer wrote: > On Thu, 2020-06-11 at 14:42 +0200, Matthias Schiffer wrote: > > Add the CDTech Electronics displays S070PWS19HP-FC21 (7.0" WSVGA) and > > S070SWV29HG-DC44 (7.0" WVGA) to the panel-simple compatible list. > > > >

<    1   2   3   4   5   6   7   8   9   10   >