[PATCH v11 0/3] AX88796C SPI Ethernet Adapter

2021-01-25 Thread Łukasz Stelmach
This is a driver for AX88796C Ethernet Adapter connected in SPI mode as found on ARTIK5 evaluation board. The driver has been ported from a v3.10.9 vendor kernel for ARTIK5 board. Changes in v11: - changed stat counters to 64-bit - replaced WARN_ON(!mutex_is_locked()) with

Re: [PATCH] KVM: x86/mmu: improve robustness of some functions

2021-01-25 Thread Sean Christopherson
On Mon, Jan 25, 2021, Paolo Bonzini wrote: > On 25/01/21 10:54, Vitaly Kuznetsov wrote: > > > > What if we do something like (completely untested): > > > > diff --git a/arch/x86/kvm/mmu/mmu_internal.h > > b/arch/x86/kvm/mmu/mmu_internal.h > > index bfc6389edc28..5ec15e4160b1 100644 > > ---

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-25 Thread Lorenzo Pieralisi
On Wed, Jan 20, 2021 at 08:28:36PM +0100, Michael Walle wrote: > [RESEND, fat-fingered the buttons of my mail client and converted > all CCs to BCCs :(] > > Am 2021-01-20 20:02, schrieb Saravana Kannan: > > On Wed, Jan 20, 2021 at 6:24 AM Rob Herring wrote: > > > > > > On Wed, Jan 20, 2021 at

[PATCH net-next 1/3] mm: constify page_is_pfmemalloc() argument

2021-01-25 Thread Alexander Lobakin
The function only tests for page->index, so its argument should be const. Signed-off-by: Alexander Lobakin --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index ecdf8a8cd6ae..078633d43af9 100644 ---

[PATCH net-next 0/3] net: constify page_is_pfmemalloc() and its users

2021-01-25 Thread Alexander Lobakin
page_is_pfmemalloc() is used mostly by networking drivers. It doesn't write anything to the struct page itself, so constify its argument and a bunch of callers and wrappers around this function in drivers. In Page Pool core code, it can be simply inlined instead. Alexander Lobakin (3): mm:

[PATCH] net: phy: remove h from printk format specifier

2021-01-25 Thread trix
From: Tom Rix This change fixes the checkpatch warning described in this commit commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") Standard integer promotion is already done and %hx and %hhx is useless so do not encourage the use of

Re: [PATCH v3 2/6] ALSA: hda/tegra: Reset hardware

2021-01-25 Thread Takashi Iwai
On Wed, 20 Jan 2021 01:31:50 +0100, Dmitry Osipenko wrote: > > Reset hardware on RPM-resume in order to bring it into a predictable > state. > > Tested-by: Peter Geis # Ouya T30 audio works > Tested-by: Matt Merhar # Ouya T30 boot-tested > Tested-by: Nicolas Chauvet # TK1 boot-tested >

Re: [PATCH v3 0/3] Some optimization for stage-2 translation

2021-01-25 Thread Marc Zyngier
On Thu, 14 Jan 2021 20:13:47 +0800, Yanan Wang wrote: > This patch series(v3) make some optimization for stage-2 translation. > > About patch-1: > Procedures of hyp stage-1 map and guest stage-2 map are quite different, > but they are now tied closely by function kvm_set_valid_leaf_pte(). > So

[PATCH] usb: dwc3: fix clock issue during resume in OTG mode

2021-01-25 Thread Gary Bisson
Commit fe8abf332b8f ("usb: dwc3: support clocks and resets for DWC3 core") introduced clock support and a new function named dwc3_core_init_for_resume() which enables the clock before calling dwc3_core_init() during resume as clocks get disabled during suspend. Unfortunately in this commit the

Re: [PATCH v3 2/6] drivers: crypto: qce: sha: Hold back a block of data to be transferred as part of final

2021-01-25 Thread Bjorn Andersson
On Wed 20 Jan 12:48 CST 2021, Thara Gopinath wrote: > If the available data to transfer is exactly a multiple of block size, save > the last block to be transferred in qce_ahash_final (with the last block > bit set) if this is indeed the end of data stream. If not this saved block > will be

Re: [PATCH v2] kdb: Simplify kdb commands registration

2021-01-25 Thread Doug Anderson
Hi, On Sun, Jan 24, 2021 at 11:06 PM Sumit Garg wrote: > > Simplify kdb commands registration via using linked list instead of > static array for commands storage. > > Signed-off-by: Sumit Garg > --- > > Changes in v2: > - Remove redundant NULL check for "cmd_name". > - Incorporate misc.

[PATCH v3] tracing: precise log info for kretprobe addr err

2021-01-25 Thread Jianlin Lv
When trying to create kretprobe with the wrong function symbol in tracefs; The error is triggered in the register_trace_kprobe() and recorded as FAIL_REG_PROBE issue, Example: $ cd /sys/kernel/debug/tracing $ echo 'r:myprobe ERROR_SYMBOL_XXX ret=%x0' >> kprobe_events bash: echo: write

Re: [PATCH 11/13] devfreq: tegra30: Migrate to dev_pm_opp_set_opp()

2021-01-25 Thread Dmitry Osipenko
25.01.2021 06:14, Viresh Kumar пишет: > On 22-01-21, 18:28, Dmitry Osipenko wrote: >> Either way will work, but maybe keeping the dev_pm_opp_set_bw() is a bit >> more straightforward variant for now since it will avoid the code's >> changes and it's probably a bit more obvious variant for the OPP

Re: [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display

2021-01-25 Thread Bjorn Andersson
On Mon 25 Jan 09:47 CST 2021, Konrad Dybcio wrote: > > > I know how bad it is, so I understand your desire to not have to rebase > > that, but I will merge things as they become ready on the list. > > > > So please post your change (perhaps it's posted and I'm failing to find > > it in my

Re: [PATCH] net/bluetooth: Fix the follow coccicheck warnings

2021-01-25 Thread Marcel Holtmann
Hi Jiapeng, > ./net/bluetooth/hci_debugfs.c: WARNING: sniff_min_interval_fops > should be defined with DEFINE_DEBUGFS_ATTRIBUTE > > Signed-off-by: Jiapeng Zhong > Reported-by: Abaci Robot > --- > net/bluetooth/hci_debugfs.c | 38 +++--- > 1 file changed, 19

Re: [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display

2021-01-25 Thread Konrad Dybcio
> I know how bad it is, so I understand your desire to not have to rebase > that, but I will merge things as they become ready on the list. > > So please post your change (perhaps it's posted and I'm failing to find > it in my inbox?) and I'd be happy to merge it so we get it cleaned up! > >

Re: [PATCH 1/3] KVM: SVM: Unconditionally sync GPRs to GHCB on VMRUN of SEV-ES guest

2021-01-25 Thread Tom Lendacky
On 1/22/21 5:50 PM, Sean Christopherson wrote: > Drop the per-GPR dirty checks when synchronizing GPRs to the GHCB, the > GRPs' dirty bits are set from time zero and never cleared, i.e. will Ah, missed that, bad assumption on my part. > always be seen as dirty. The obvious alternative would be

Re: [PATCH] [net-next] ipa: add remoteproc dependency

2021-01-25 Thread Arnd Bergmann
On Mon, Jan 25, 2021 at 4:23 PM Bjorn Andersson wrote: > > On Mon 25 Jan 05:35 CST 2021, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > Compile-testing without CONFIG_REMOTEPROC results in a build failure: > > > > >>> referenced by ipa_main.c > > >>>

Re: [PATCH v3] Bluetooth: btrtl: Enable WBS for the specific Realtek devices

2021-01-25 Thread Marcel Holtmann
Hi Max, > By this change, it will enable WBS supported on the specific Realtek BT > devices, such as RTL8822C and RTL8852A. > In the future, it's able to maintain what the Realtek devices support WBS > here. > > Tested-by: Hilda Wu > Reviewed-by: Abhishek Pandit-Subedi > Signed-off-by: Max

Re: [PATCH v3] Bluetooth: Keep MSFT ext info throughout ahci_dev's life cycle

2021-01-25 Thread Marcel Holtmann
Hi Miao-chen, > This moves msft_do_close() from hci_dev_do_close() to > hci_unregister_dev() to avoid clearing MSFT extension info. This also > avoids retrieving MSFT info upon every msft_do_open() if MSFT extension > has been initialized. > > The following test steps were performed. > (1) boot

Re: [PATCH v2 0/5] Introduce PRU remoteproc consumer API

2021-01-25 Thread Suman Anna
Hi Santosh, On 1/24/21 10:34 PM, santosh.shilim...@oracle.com wrote: > Hi Suman, Mathieu, > > On 1/7/21 2:49 PM, Suman Anna wrote: >> On 1/7/21 4:44 PM, Mathieu Poirier wrote: >>> On Wed, Jan 06, 2021 at 06:03:25PM -0600, Suman Anna wrote: Hi Mathieu, > [...] >>> I only see input from

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

2021-01-25 Thread Jens Axboe
On 1/25/21 2:43 AM, Stephen Rothwell wrote: > Hi all, > > Commits > > 36962a1e4186 ("io_uring: create common fixed_rsrc_data allocation routines") > 5bc97865b3b6 ("io_uring: create common fixed_rsrc_ref_node handling > routines") > b2315a2cda1f ("io_uring: generalize

Re: [PATCH 1/2] media: venus: core: Add sdm660 DT compatible and resource struct

2021-01-25 Thread Bjorn Andersson
On Mon 25 Jan 08:51 CST 2021, AngeloGioacchino Del Regno wrote: > Il 25/01/21 11:40, Hans Verkuil ha scritto: > > On 18/01/2021 18:45, AngeloGioacchino Del Regno wrote: > > > Il 18/01/21 18:21, Stanimir Varbanov ha scritto: > > > > > diff --git a/drivers/media/platform/qcom/venus/core.c > > > >

Re: [PATCH][next] drm/amdgpu: Fix masking binary not operator on two mask operations

2021-01-25 Thread Alex Deucher
Applied. Thanks! Alex On Sun, Jan 24, 2021 at 11:36 PM Huang Rui wrote: > > On Fri, Jan 22, 2021 at 11:00:22PM +0800, Colin King wrote: > > From: Colin Ian King > > > > Currently the ! operator is incorrectly being used to flip bits on > > mask values. Fix this by using the bit-wise ~

Re: [PATCH] [net-next] ipa: add remoteproc dependency

2021-01-25 Thread Alex Elder
On 1/25/21 9:30 AM, Arnd Bergmann wrote: On Mon, Jan 25, 2021 at 4:23 PM Bjorn Andersson wrote: On Mon 25 Jan 05:35 CST 2021, Arnd Bergmann wrote: From: Arnd Bergmann Compile-testing without CONFIG_REMOTEPROC results in a build failure: referenced by ipa_main.c

Re: [PATCH 4/4] vfio-pci/zdev: Introduce the zPCI I/O vfio region

2021-01-25 Thread Cornelia Huck
On Mon, 25 Jan 2021 09:40:38 -0500 Matthew Rosato wrote: > On 1/22/21 6:48 PM, Alex Williamson wrote: > > On Tue, 19 Jan 2021 15:02:30 -0500 > > Matthew Rosato wrote: > > > >> Some s390 PCI devices (e.g. ISM) perform I/O operations that have very > >> specific requirements in terms of

[PATCH v2 1/4] dt-bindings: renesas,rcar-dmac: Add r8a779a0 support

2021-01-25 Thread Geert Uytterhoeven
Document the compatible value for the Direct Memory Access Controller blocks in the Renesas R-Car V3U (R8A779A0) SoC. The most visible difference with DMAC blocks on other R-Car SoCs is the move of the per-channel registers to a separate register block. Signed-off-by: Geert Uytterhoeven

[PATCH v2 3/4] dmaengine: rcar-dmac: Add helpers for clearing DMA channel status

2021-01-25 Thread Geert Uytterhoeven
Extract the code to clear the status of one or all channels into their own helpers, to prepare for the different handling of the R-Car V3U SoC. Signed-off-by: Geert Uytterhoeven --- v2: - No changes. --- drivers/dma/sh/rcar-dmac.c | 15 +-- 1 file changed, 13 insertions(+), 2

[PATCH v4 00/21] arm64: sunxi: Initial Allwinner H616 SoC support

2021-01-25 Thread Andre Przywara
Hi, an update from the v3 last week, to add support for the Allwinner H616 SoC. Still based on the (updated) sunxi/for-next branch. I am omitting the MMC and pinctrl patches now, as they have been taken by Ulf and LinusW already into their trees. I addressed the comments from the list, though

Re: [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display

2021-01-25 Thread Bjorn Andersson
On Sun 24 Jan 11:33 CST 2021, Konrad Dybcio wrote: > > > All msm8974 dts(i) files use this style. Deviating from it for this doesn't > > make sense. And yes msm8974 should probably be converted to the newer label > > style (as was done with msm8916 a while ago). > > I have a >3k lines commit

[PATCH v2 5/7] rbtree, uprobes: Use rbtree helpers

2021-01-25 Thread Peter Zijlstra
Reduce rbtree boilerplate by using the new helpers. Signed-off-by: Peter Zijlstra (Intel) --- kernel/events/uprobes.c | 82 +++- 1 file changed, 40 insertions(+), 42 deletions(-) --- a/kernel/events/uprobes.c +++ b/kernel/events/uprobes.c @@

[PATCH v2 1/7] rbtree: Add generic add and find helpers

2021-01-25 Thread Peter Zijlstra
I've always been bothered by the endless (fragile) boilerplate for rbtree, and I recently wrote some rbtree helpers for objtool and figured I should lift them into the kernel and use them more widely. Provide: partial-order; less() based: - rb_add(): add a new entry to the rbtree -

[PATCH RESEND V12 3/8] fuse: Definitions and ioctl for passthrough

2021-01-25 Thread Alessio Balsini
Expose the FUSE_PASSTHROUGH interface to user space and declare all the basic data structures and functions as the skeleton on top of which the FUSE passthrough functionality will be built. As part of this, introduce the new FUSE passthrough ioctl, which allows the FUSE daemon to specify a direct

[PATCH RESEND V12 4/8] fuse: Passthrough initialization and release

2021-01-25 Thread Alessio Balsini
Implement the FUSE passthrough ioctl that associates the lower (passthrough) file system file with the fuse_file. The file descriptor passed to the ioctl by the FUSE daemon is used to access the relative file pointer, that will be copied to the fuse_file data structure to consolidate the link

Re: [PATCH v3 1/3] dt-bindings:drm/bridge:anx7625:add HDCP support flag and swing reg

2021-01-25 Thread Rob Herring
On Mon, Jan 25, 2021 at 07:12:21PM +0800, Xin Ji wrote: > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > flag and DP tx lane0 and lane1 swing register array define. > > Signed-off-by: Xin Ji > --- > .../bindings/display/bridge/analogix,anx7625.yaml | 57 >

[PATCH v2 0/7] Generic RB-tree helpers

2021-01-25 Thread Peter Zijlstra
Hai all, I found myself needing to write yet another rbtree and remembered I had these patches gathering dust. I've had them in a git tree pretty much ever since I posted them last and the robot is telling me they build/work/dance/sing fine. I'm proposing to stick them in tip and get on with

[PATCH RESEND V12 7/8] fuse: Use daemon creds in passthrough mode

2021-01-25 Thread Alessio Balsini
When using FUSE passthrough, read/write operations are directly forwarded to the lower file system file through VFS, but there is no guarantee that the process that is triggering the request has the right permissions to access the lower file system. This would cause the read/write access to fail.

Re: [PATCH bpf-next v3 3/3] xsk: build skb by page

2021-01-25 Thread Alexander Lobakin
From: Xuan Zhuo Date: Mon, 25 Jan 2021 22:57:07 +0800 > On Mon, 25 Jan 2021 13:25:45 +, Alexander Lobakin wrote: > > From: Xuan Zhuo > > Date: Mon, 25 Jan 2021 11:10:43 +0800 > > > > > On Fri, 22 Jan 2021 16:24:17 +, Alexander Lobakin > > > wrote: > > > > From: Xuan Zhuo > > > >

Re: [PATCH v3 0/2] net: sfp: add support for GPON RTL8672/RTL9601C and Ubiquiti U-Fiber

2021-01-25 Thread Andrew Lunn
> Ok! If this is the only remaining issue, I will update commit messages > and send a new patch series. I was just waiting for a response if > somebody else has other comments or if somebody write that is fine with > it. Hi Pali As a general rule of thumb, with netdev, wait 3 days and then send

Re: [PATCH v3 2/6] ALSA: hda/tegra: Reset hardware

2021-01-25 Thread Dmitry Osipenko
25.01.2021 18:18, Takashi Iwai пишет: > On Wed, 20 Jan 2021 01:31:50 +0100, > Dmitry Osipenko wrote: >> >> Reset hardware on RPM-resume in order to bring it into a predictable >> state. >> >> Tested-by: Peter Geis # Ouya T30 audio works >> Tested-by: Matt Merhar # Ouya T30 boot-tested >>

Re: [Linux-stm32] [PATCH] rpmsg: char: return an error if device already open

2021-01-25 Thread Bjorn Andersson
On Fri 15 Jan 03:13 CST 2021, Arnaud POULIQUEN wrote: > Hi Mathieu, > > > On 1/14/21 8:05 PM, Mathieu Poirier wrote: > > On Wed, Jan 06, 2021 at 02:37:14PM +0100, Arnaud Pouliquen wrote: > >> The rpmsg_create_ept function is invoked when the device is opened. > >> As only one endpoint must be

[PATCH v2 3/7] rbtree, sched/deadline: Use rb_add_cached()

2021-01-25 Thread Peter Zijlstra
Reduce rbtree boiler plate by using the new helpers. Make rb_add_cached() / rb_erase_cached() return a pointer to the leftmost node to aid in updating additional state. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/rbtree.h | 18 --- kernel/sched/deadline.c | 77

[PATCH v2 2/7] rbtree, sched/fair: Use rb_add_cached()

2021-01-25 Thread Peter Zijlstra
Reduce rbtree boiler plate by using the new helper function. Signed-off-by: Peter Zijlstra (Intel) --- kernel/sched/fair.c | 46 ++ 1 file changed, 14 insertions(+), 32 deletions(-) --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -533,12

[PATCH v2 6/7] rbtree, rtmutex: Use rb_add_cached()

2021-01-25 Thread Peter Zijlstra
Reduce rbtree boiler plate by using the new helpers. Signed-off-by: Peter Zijlstra (Intel) --- kernel/locking/rtmutex.c | 54 +++ 1 file changed, 18 insertions(+), 36 deletions(-) --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c @@

[PATCH v2 7/7] rbtree, timerqueue: Use rb_add_cached()

2021-01-25 Thread Peter Zijlstra
Reduce rbtree boiler plate by using the new helpers. Signed-off-by: Peter Zijlstra (Intel) --- lib/timerqueue.c | 28 +--- 1 file changed, 9 insertions(+), 19 deletions(-) --- a/lib/timerqueue.c +++ b/lib/timerqueue.c @@ -14,6 +14,14 @@ #include #include

[kbuild] Re: [PATCH v2 11/12][RESEND] iio: buffer: introduce support for attaching more IIO buffers

2021-01-25 Thread Dan Carpenter
Hi Alexandru, I love your patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Alexandru-Ardelean/iio-core-buffer-add-support-for-multiple-IIO-buffers-per-IIO-device/20210125-053419 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg

Re: [PATCH] drm/amd/display: fix unused variable warning

2021-01-25 Thread Harry Wentland
On 2021-01-25 7:48 a.m., Arnd Bergmann wrote: From: Arnd Bergmann After all users of the 'dm' warnings got hidden in an #ifdef, the compiler started warning about it being unused: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5380:33: error: unused variable 'dm'

[PATCH v4 14/21] net: stmmac: dwmac-sun8i: Prepare for second EMAC clock register

2021-01-25 Thread Andre Przywara
The Allwinner H616 SoC has two EMAC controllers, with the second one being tied to the internal PHY, but also using a separate EMAC clock register. To tell the driver about which clock register to use, we add a parameter to our syscon phandle. The driver will use this value as an index into the

[PATCH v4 11/21] dt-bindings: media: IR: Add H616 IR compatible string

2021-01-25 Thread Andre Przywara
Add the obvious compatible name to the existing IR binding, and pair it with the existing A31 fallback compatible string, as the devices are compatible. On the way use enums to group all compatible devices together. Signed-off-by: Andre Przywara Acked-by: Rob Herring ---

[PATCH v4 09/21] dt-bindings: watchdog: sun4i: Add H616 compatible string

2021-01-25 Thread Andre Przywara
Use enums to group all compatible devices together on the way. Signed-off-by: Andre Przywara Acked-by: Rob Herring Acked-by: Maxime Ripard Reviewed-by: Guenter Roeck --- .../bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-)

[PATCH v4 12/21] dt-bindings: rtc: sun6i: Add H616 compatible string

2021-01-25 Thread Andre Przywara
Add the obvious compatible name to the existing RTC binding, and pair it with the existing H6 fallback compatible string, as the devices are compatible. Signed-off-by: Andre Przywara Acked-by: Rob Herring --- .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 3 +++ 1 file

[PATCH v4 20/21] dt-bindings: arm: sunxi: Add OrangePi Zero 2 binding

2021-01-25 Thread Andre Przywara
Signed-off-by: Andre Przywara Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/sunxi.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml index 08607c7ec1bf..aeb8771b14c4

[PATCH v4 16/21] dt-bindings: usb: Add H616 compatible string

2021-01-25 Thread Andre Przywara
The H616 has four PHYs as the H3, along with their respective clock gates and resets, so the property description is identical. However the PHYs itself need some special bits, so we need a new compatible string for it. Signed-off-by: Andre Przywara ---

[PATCH v4 21/21] arm64: dts: allwinner: Add OrangePi Zero 2 .dts

2021-01-25 Thread Andre Przywara
The OrangePi Zero 2 is a development board with the new H616 SoC. It features the usual connectors used on those small boards, and comes with the AXP305, which seems to be compatible with the AXP805. For more details see: http://linux-sunxi.org/Xunlong_Orange_Pi_Zero2 Signed-off-by: Andre

[PATCH v4 10/21] dt-bindings: i2c: mv64xxx: Add H616 compatible string

2021-01-25 Thread Andre Przywara
Add the obvious compatible name to the existing I2C binding, and pair it with the existing A31 fallback compatible string, as the devices are compatible. On the way use enums to group all compatible devices together. Signed-off-by: Andre Przywara Acked-by: Rob Herring Acked-by: Wolfram Sang

Re: [PATCH 1/2] media: venus: core: Add sdm660 DT compatible and resource struct

2021-01-25 Thread Hans Verkuil
On 25/01/2021 15:51, AngeloGioacchino Del Regno wrote: > Il 25/01/21 11:40, Hans Verkuil ha scritto: >> On 18/01/2021 18:45, AngeloGioacchino Del Regno wrote: >>> Il 18/01/21 18:21, Stanimir Varbanov ha scritto: Hi Angelo, Thanks for the patch! On 1/15/21 8:52 PM,

[PATCH v4 01/21] dt-bindings: clk: sunxi-ccu: Add compatible string for Allwinner H616

2021-01-25 Thread Andre Przywara
Signed-off-by: Andre Przywara Acked-by: Rob Herring Acked-by: Maxime Ripard --- .../devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml

Re: [PATCH] Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl

2021-01-25 Thread Marcel Holtmann
Hi Claire, > Realtek Bluetooth controllers can do both LE scan and BR/EDR inquiry > at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk. > > Signed-off-by: Claire Chang > --- > drivers/bluetooth/hci_h5.c | 5 + > 1 file changed, 5 insertions(+) patch has been applied to

[PATCH v4 15/21] phy: sun4i-usb: Rework HCI PHY (aka. "pmu_unk1") handling

2021-01-25 Thread Andre Przywara
As Icenowy pointed out, newer manuals (starting with H6) actually document the register block at offset 0x800 as "HCI controller and PHY interface", also describe the bits in our "PMU_UNK1" register. Let's put proper names to those "unknown" variables and symbols. While we are at it, generalise

[PATCH v4 04/21] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ)

2021-01-25 Thread Andre Przywara
The AXP305 PMIC used in AXP805 seems to be fully compatible to the AXP805 PMIC, so add the proper chain of compatible strings. Also at least on one board (Orangepi Zero2) there is no interrupt line connected to the CPU, so make the "interrupts" property optional. Signed-off-by: Andre Przywara

Re: [PATCH 2/3] dt-bindings: iio: Add cros ec proximity yaml doc

2021-01-25 Thread Rob Herring
On Sun, Jan 24, 2021 at 05:27:56PM +, Jonathan Cameron wrote: > On Fri, 22 Jan 2021 14:54:42 -0800 > Stephen Boyd wrote: > > > Some cros ECs support a front proximity MKBP event via > > 'EC_MKBP_FRONT_PROXIMITY'. Add a DT binding to document this feature via > > a node that is a child of the

Re: [PATCH 2/3] media: videodev2.h: clarify v4l2_pix_format_mplane.sizeimage docs when to set to zero

2021-01-25 Thread Helen Koike
On 1/25/21 6:31 AM, Hans Verkuil wrote: > On 14/01/2021 19:01, Helen Koike wrote: >> sizeimage field should be set to zero for unused planes, even when >> v4l2_pix_format_mplane.num_planes is smaller then the index of planes. > > then -> than Ack. > >> >> Signed-off-by: Helen Koike >> >>

[PATCH v4 08/21] soc: sunxi: sram: Add support for more than one EMAC clock

2021-01-25 Thread Andre Przywara
The Allwinner H616 adds a second EMAC clock register at offset 0x34, for controlling the second EMAC in this chip. Allow to extend the regmap in this case, to cover more than the current 4 bytes exported. Signed-off-by: Andre Przywara --- drivers/soc/sunxi/sunxi_sram.c | 31

[PATCH v8 2/2] iio: accel: Add support for the Bosch-Sensortec BMI088

2021-01-25 Thread Mike Looijmans
The BMI088 is a combined module with both accelerometer and gyroscope. This adds the accelerometer driver support for the SPI interface. The gyroscope part is already supported by the BMG160 driver. Signed-off-by: Mike Looijmans --- Changes in v8: include order asm/ after linux/ Suspend/resume

[PATCH v8 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-25 Thread Mike Looijmans
This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part. Signed-off-by: Mike Looijmans --- Changes in v8: Add spi-max-frequency: true Changes in v7: Add additionalProperties Change bmi088_accel to bmi088-accel Add interrupt-names and adjust description

Re: [PATCH] [net-next] ipa: add remoteproc dependency

2021-01-25 Thread Bjorn Andersson
On Mon 25 Jan 05:35 CST 2021, Arnd Bergmann wrote: > From: Arnd Bergmann > > Compile-testing without CONFIG_REMOTEPROC results in a build failure: > > >>> referenced by ipa_main.c > >>> net/ipa/ipa_main.o:(ipa_probe) in archive drivers/built-in.a > ld.lld: error: undefined

Re: [PATCH v2 4/7] rbtree, perf: Use new rbtree helpers

2021-01-25 Thread Tejun Heo
On Mon, Jan 25, 2021 at 04:09:57PM +0100, Peter Zijlstra wrote: > Reduce rbtree boiler plate by using the new helpers. > > One noteworthy change is unification of the various (partial) compare > functions. We construct a subtree match by forcing the sub-order to > always match, see __group_cmp().

[PATCH v4 2/2] net: sfp: add mode quirk for GPON module Ubiquiti U-Fiber Instant

2021-01-25 Thread Pali Rohár
The Ubiquiti U-Fiber Instant SFP GPON module has nonsensical information stored in its EEPROM. It claims to support all transceiver types including 10G Ethernet. Clear all claimed modes and set only 1000baseX_Full, which is the only one supported. This module has also phys_id set to SFF, and the

[PATCH v4 16/23] powerpc/32: Always save non volatile GPRs at syscall entry

2021-01-25 Thread Christophe Leroy
In preparation for porting syscall entry/exit to C, inconditionally save non volatile general purpose registers. Commit 965dd3ad3076 ("powerpc/64/syscall: Remove non-volatile GPR save optimisation") provides detailed explanation. This increases the number of cycles by 24 cycles on 8xx with

[PATCH v4 09/23] powerpc/irq: Rework helpers that manipulate MSR[EE/RI]

2021-01-25 Thread Christophe Leroy
In preparation of porting PPC32 to C syscall entry/exit, rewrite the following helpers as static inline functions and add support for PPC32 in them: __hard_irq_enable() __hard_irq_disable() __hard_EE_RI_disable() __hard_RI_enable() Then use them in PPC32 version of

[PATCH v4 10/23] powerpc/irq: Add stub irq_soft_mask_return() for PPC32

2021-01-25 Thread Christophe Leroy
To allow building syscall_64.c smoothly on PPC32, add stub version of irq_soft_mask_return(). Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/hw_irq.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/include/asm/hw_irq.h b/arch/powerpc/include/asm/hw_irq.h

[PATCH v4 08/23] powerpc/irq: Add helper to set regs->softe

2021-01-25 Thread Christophe Leroy
regs->softe doesn't exist on PPC32. Add irq_soft_mask_regs_set_state() helper to set regs->softe. This helper will void on PPC32. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/hw_irq.h | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git

[PATCH v4 15/23] powerpc/syscall: Change condition to check MSR_RI

2021-01-25 Thread Christophe Leroy
In system_call_exception(), MSR_RI also needs to be checked on 8xx. Only booke and 40x doesn't have MSR_RI. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/syscall.c

[PATCH v4 13/23] powerpc/syscall: Use is_compat_task()

2021-01-25 Thread Christophe Leroy
Instead of hard comparing task flags with _TIF_32BIT, use is_compat_task(). The advantage is that it returns 0 on PPC32 allthough _TIF_32BIT is always set. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/syscall.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v4 14/23] powerpc/syscall: Save r3 in regs->orig_r3

2021-01-25 Thread Christophe Leroy
Save r3 in regs->orig_r3 in system_call_exception() Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_64.S | 1 - arch/powerpc/kernel/syscall.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S

[PATCH] kgdb: rectify kernel-doc for kgdb_unregister_io_module()

2021-01-25 Thread Lukas Bulwahn
The command 'find ./kernel/debug/ | xargs ./scripts/kernel-doc -none' reported a typo in the kernel-doc of kgdb_unregister_io_module(). Rectify the kernel-doc, such that no issues remain for ./kernel/debug/. Signed-off-by: Lukas Bulwahn --- applies cleanly on v5.11-rc5 and next-20210122 Jason,

Re: [PATCH v2 09/17] mfd: Support for ROHM BD71815 PMIC core

2021-01-25 Thread Matti Vaittinen
Hello Lee, Thanks again for the review! On Mon, 2021-01-25 at 14:10 +, Lee Jones wrote: > On Tue, 19 Jan 2021, Matti Vaittinen wrote: > > > Add core support for ROHM BD71815 Power Management IC. > > > > The IC integrates regulators, a battery charger with a coulomb > > counter, > > a

[PATCH v4 01/23] powerpc/32s: Add missing call to kuep_lock on syscall entry

2021-01-25 Thread Christophe Leroy
Userspace Execution protection and fast syscall entry were implemented independently from each other and were both merged in kernel 5.2, leading to syscall entry missing userspace execution protection. On syscall entry, execution of user space memory must be locked in the same way as on exception

[PATCH v4 02/23] powerpc/32: Always enable data translation on syscall entry

2021-01-25 Thread Christophe Leroy
If the code can use a stack in vm area, it can also use a stack in linear space. Simplify code by removing old non VMAP stack code on PPC32 in syscall. That means the data translation is now re-enabled early in syscall entry in all cases, not only when using VMAP stacks. Signed-off-by:

Re: [PATCH] genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set

2021-01-25 Thread Marc Zyngier
On 2021-01-25 14:39, Shameerali Kolothum Thodi wrote: -Original Message- From: Marc Zyngier [mailto:m...@kernel.org] Sent: 23 January 2021 12:28 To: linux-kernel@vger.kernel.org Cc: Thomas Gleixner ; Bjorn Helgaas ; Shameerali Kolothum Thodi ; sta...@vger.kernel.org Subject: [PATCH]

[PATCH v4 04/23] powerpc/32: Reorder instructions to avoid using CTR in syscall entry

2021-01-25 Thread Christophe Leroy
Now that we are using rfi instead of mtmsr to reactivate MMU, it is possible to reorder instructions and avoid the need to use CTR for stashing SRR0. null_syscall on 8xx is reduced by 3 cycles (283 => 280 cycles). Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.h | 22

[PATCH v4 03/23] powerpc/32: On syscall entry, enable instruction translation at the same time as data

2021-01-25 Thread Christophe Leroy
On 40x and 8xx, kernel text is pinned. On book3s/32, kernel text is mapped by BATs. Enable instruction translation at the same time as data translation, it makes things simpler. MSR_RI can also be set at the same time because srr0/srr1 are already saved and r1 is set properly. On booke,

LTP: madvise08.c:203: TFAIL: No sequence in dump after MADV_DODUMP.

2021-01-25 Thread Naresh Kamboju
LTP syscalls madvise08 test case failed on all devices from Linux next 20210118 to till day. strace log attached to this email and link provided below. BAD: next-20210118 GOOD: next-20210115 This failure is easily reproducible on Linux next tag 20210118 above. tst_test.c:1250: TINFO: Timeout

Re: [PATCH v2] tracing: precise log info for kretprobe addr err

2021-01-25 Thread Steven Rostedt
On Mon, 25 Jan 2021 03:14:03 + Jianlin Lv wrote: > Hi Steven, > Could you give me more detailed suggestions about the UPROBES section? I lack > the knowledge of this part. > Can't fully understand your previous comments; Sorry for the confusion. I was talking about the MAINTAINERS file.

Re: [PATCH 4/4] vfio-pci/zdev: Introduce the zPCI I/O vfio region

2021-01-25 Thread Matthew Rosato
On 1/22/21 6:48 PM, Alex Williamson wrote: On Tue, 19 Jan 2021 15:02:30 -0500 Matthew Rosato wrote: Some s390 PCI devices (e.g. ISM) perform I/O operations that have very specific requirements in terms of alignment as well as the patterns in which the data is read/written. Allowing these to

YOU HAVE WON

2021-01-25 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH] ath9k: fix build error with LEDS_CLASS=m

2021-01-25 Thread Arnd Bergmann
On Mon, Jan 25, 2021 at 2:27 PM Krzysztof Kozlowski wrote: > On Mon, 25 Jan 2021 at 14:09, Arnd Bergmann wrote: > > On Mon, Jan 25, 2021 at 12:40 PM Krzysztof Kozlowski > > wrote: > > > On Mon, 25 Jan 2021 at 12:36, Arnd Bergmann wrote: > > > But we do not want to have this dependency

Re: [RFC PATCH v1] sched/fair: limit load balance redo times at the same sched_domain level

2021-01-25 Thread Mel Gorman
On Mon, Jan 25, 2021 at 09:53:28PM +0800, Li, Aubrey wrote: > On 2021/1/25 17:06, Mel Gorman wrote: > > On Mon, Jan 25, 2021 at 02:02:58PM +0800, Aubrey Li wrote: > >> A long-tail load balance cost is observed on the newly idle path, > >> this is caused by a race window between the first

Re: [PATCH] ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmux

2021-01-25 Thread Alexandre TORGUE
Hi, On 12/23/20 12:07 PM, Jagan Teki wrote: Add SDA/SCL pinmux lines for I2C6 on STM32MP1. This support adds both in default and sleep states. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git

Re: [PATCH] regulator: pf8x00: Add suspend support

2021-01-25 Thread Mark Brown
On Sun, 17 Jan 2021 21:49:17 +0100, Christoph Fritz wrote: > This patch adds suspend/resume support so that it is possible to > configure the LDOs and BUCKs as on or off during suspend phase as > well as to configure suspend specific voltages. Applied to

Re: [PATCH wireless v2] scsi: megaraid: Remove unnecessary memset

2021-01-25 Thread Kalle Valo
Zheng Yongjun wrote: > memcpy operation is next to memset code, and the size to copy > is equals to the size to memset, so the memset operation is > unnecessary, remove it. > > Signed-off-by: Zheng Yongjun Wrong title. Patch set to Changes Requested. --

Re: [PATCH] regulator: core: Avoid debugfs: Directory ... already present! error

2021-01-25 Thread Mark Brown
On Fri, 22 Jan 2021 19:32:50 +0100, Hans de Goede wrote: > Sometimes regulator_get() gets called twice for the same supply on the > same device. This may happen e.g. when a framework / library is used > which uses the regulator; and the driver itself also needs to enable > the regulator in some

Re: [PATCH v6 3/7] mfd: Add MFD driver for ATC260x PMICs

2021-01-25 Thread Lee Jones
On Wed, 20 Jan 2021, Cristian Ciocaltea wrote: > Add initial support for the Actions Semi ATC260x PMICs which integrates > Audio Codec, Power management, Clock generation and GPIO controller > blocks. > > For the moment this driver only supports Regulator, Poweroff and Onkey > functionalities

Re: Fail to boot qemu xlnx-zcu102 due to lot of drivers not probing

2021-01-25 Thread Corentin Labbe
Le Fri, Jan 22, 2021 at 11:51:53AM +0100, Edgar E. Iglesias a écrit : > On Fri, Jan 22, 2021 at 10:52:18AM +0100, Michal Simek wrote: > > Hi, > > > > On 1/22/21 10:24 AM, Corentin Labbe wrote: > > > Hello > > > > > > With at least qemu 5.1.0 (and later), the xlnx-zcu102 machine boot lead > > >

[PATCH v2 0/4] dmaengine: rcar-dmac: Add support for R-Car V3U

2021-01-25 Thread Geert Uytterhoeven
Hi Vinod, This patch series adds support for the Direct Memory Access Controller variant in the Renesas R-Car V3U (R8A779A0) SoC, to both DT bindings and driver. Changes compared to v1: - Add Reviewed-by, - Put the full loop control of for_each_rcar_dmac_chan() on a single line,

[PATCH v2 2/4] dmaengine: rcar-dmac: Add for_each_rcar_dmac_chan() helper

2021-01-25 Thread Geert Uytterhoeven
Add and helper macro for iterating over all DMAC channels, taking into account the channel mask. Use it where appropriate, to simplify code. Restore "reverse Christmas tree" order of local variables while adding a new variable. Signed-off-by: Geert Uytterhoeven --- v2: - Put the full loop

[PATCH] kdb: Refactor env variables get/set code

2021-01-25 Thread Sumit Garg
Move kdb environment related get/set APIs to a separate file in order to provide an abstraction for environment variables access and hence enhances code readability. Signed-off-by: Sumit Garg --- kernel/debug/kdb/Makefile | 2 +- kernel/debug/kdb/kdb_env.c | 229

Re: [PATCH v5 18/21] arm64: Move "nokaslr" over to the early cpufeature infrastructure

2021-01-25 Thread Marc Zyngier
On 2021-01-25 14:19, Ard Biesheuvel wrote: On Mon, 25 Jan 2021 at 14:54, Marc Zyngier wrote: On 2021-01-25 12:54, Ard Biesheuvel wrote: [...] > This struct now takes up > - ~100 bytes for the characters themselves (which btw are not emitted > into __initdata or __initconst) > - 6x8 bytes

Re: [PATCH v6 08/14] mm/gup: do not migrate zero page

2021-01-25 Thread Jason Gunthorpe
On Wed, Jan 20, 2021 at 09:26:41AM -0500, Pavel Tatashin wrote: > I thought about this, and it would code a little cleaner. But, the > reason I did not is because zero_page is perfectly pinnable, it is not > pinnable only when it is in a movable zone (and it should not be in a > movable zones for

Re: [PATCH 1/5] rtlwifi: rtl_pci: fix bool comparison in expressions

2021-01-25 Thread Kalle Valo
Aditya Srivastava wrote: > There are certain conditional expressions in rtl_pci, where a boolean > variable is compared with true/false, in forms such as (foo == true) or > (false != bar), which does not comply with checkpatch.pl (CHECK: > BOOL_COMPARISON), according to which boolean variables

  1   2   3   4   5   6   7   8   9   10   >