linux-next: manual merge of the net-next tree with the net tree

2021-03-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/sf/hw_table.c between commit: 7c1ef1959b6f ("net/mlx5: SF, do not use ecpu bit for vhca state processing") from the net tree and commit: 4c94fe88cde4 ("net: ethernet: Remove

[PATCH] Bluetooth: SCO - Remove trailing semicolon in macros

2021-03-23 Thread Meng Yu
remove trailing semicolon in macros and coding style fix. Signed-off-by: Meng Yu --- net/bluetooth/sco.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 22a110f..3bd4156 100644 --- a/net/bluetooth/sco.c +++

linux-next: manual merge of the net-next tree with the net tree

2021-03-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/en_tc.c between commit: 7d6c86e3ccb5 ("net/mlx5e: Allow to match on MPLS parameters only for MPLS over UDP") from the net tree and commit: a3222a2da0a2 ("net/mlx5e: Allow

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-03-23 Thread Jie Deng
On 2021/3/23 17:27, Arnd Bergmann wrote: On Tue, Mar 23, 2021 at 9:33 AM Jie Deng wrote: On 2021/3/23 15:27, Viresh Kumar wrote: On 23-03-21, 22:19, Jie Deng wrote: +static int __maybe_unused virtio_i2c_freeze(struct virtio_device *vdev) +{ +virtio_i2c_del_vqs(vdev); +return 0; +}

Re: [PATCH v2 5/5] mm/migrate.c: fix potential deadlock in NUMA balancing shared exec THP case

2021-03-23 Thread Yang Shi
On Tue, Mar 23, 2021 at 10:17 AM Yang Shi wrote: > > On Tue, Mar 23, 2021 at 6:55 AM Miaohe Lin wrote: > > > > Since commit c77c5cbafe54 ("mm: migrate: skip shared exec THP for NUMA > > balancing"), the NUMA balancing would skip shared exec transhuge page. > > But this enhancement is not

Re: [PATCH v4 3/4] drm: sun4i: dsi: Convert to bridge driver

2021-03-23 Thread Laurent Pinchart
Hi Jagan, Thank you for the patch. On Mon, Mar 22, 2021 at 07:31:51PM +0530, Jagan Teki wrote: > DRM bridge drivers have build-in handling of treating all display > pipeline components as bridges. > > So, convert the existing to a drm bridge driver with a built-in > encoder support for

Re: [PATCH v4 2/4] drm: sun4i: dsi: Add bridge support

2021-03-23 Thread Laurent Pinchart
Hi Jagan, Thank you for the patch. On Mon, Mar 22, 2021 at 07:31:50PM +0530, Jagan Teki wrote: > Some display panels would come up with a non-DSI output which Did you mean input instead of output ? > can have an option to connect DSI interface by means of bridge > converter. > > This DSI to

Re: [PATCH 3/6] dt-bindings: serdev: ngsm: Add binding for GNSS child node

2021-03-23 Thread Pavel Machek
On Fri 2021-03-05 11:52:38, Johan Hovold wrote: > On Fri, Mar 05, 2021 at 11:46:35AM +0100, Pavel Machek wrote: > > Hi! > > > > > > > For motorola modem case, we may have a GNSS device on channel 4. > > > > > Let's add that to the binding and example. > > > > > > > > > > Signed-off-by: Tony

Re: [PATCH 1/2] perf/core: Share an event with multiple cgroups

2021-03-23 Thread Namhyung Kim
Hi Song, On Wed, Mar 24, 2021 at 9:30 AM Song Liu wrote: > > > > > On Mar 23, 2021, at 9:21 AM, Namhyung Kim wrote: > > > > As we can run many jobs (in container) on a big machine, we want to > > measure each job's performance during the run. To do that, the > > perf_event can be associated to

[PATCH v6] mm: cma: support sysfs

2021-03-23 Thread Minchan Kim
Since CMA is getting used more widely, it's more important to keep monitoring CMA statistics for system health since it's directly related to user experience. This patch introduces sysfs statistics for CMA, in order to provide some basic monitoring of the CMA allocator. * the number of CMA page

[PATCH] dt-bindings: ddr: Add optional manufacturer and revision ID to LPDDR3

2021-03-23 Thread Julius Werner
On some platforms, DDR parts are multi-sourced and the exact part number used is not know to either kernel or firmware at build time. Firmware can read identifying information from DDR mode registers at boot time but needs a way to communicate this information to kernel and/or userspace. This

Re: [RFC PATCH 5/8] hugetlb: change free_pool_huge_page to remove_pool_huge_page

2021-03-23 Thread Mike Kravetz
On 3/23/21 12:57 AM, Michal Hocko wrote: > On Mon 22-03-21 16:28:07, Mike Kravetz wrote: >> On 3/22/21 7:31 AM, Michal Hocko wrote: >>> On Fri 19-03-21 15:42:06, Mike Kravetz wrote: >>> [...] @@ -2090,9 +2084,15 @@ static void return_unused_surplus_pages(struct hstate *h, while

Re: [PATCH 1/2] drivers/clocksource/mediatek: Split mediatek drivers into 2 files

2021-03-23 Thread Evan Benn
On Mon, Mar 22, 2021 at 10:19 PM Daniel Lezcano wrote: > > > Hi Evan, > > On 18/03/2021 06:04, Evan Benn wrote: > > mtk_gpt and mtk_syst drivers for mt6577 and mt6765 devices were not > > sharing any code. So split them into separate files. > > For the sake of consistency, keeping all in one is

[PATCH] staging: qlge: deal with the case that devlink_health_reporter_create fails

2021-03-23 Thread Coiby Xu
From: Coiby Xu devlink_health_reporter_create may fail. In that case, do the cleanup work. Reported-by: Dan Carpenter Signed-off-by: Coiby Xu --- drivers/staging/qlge/qlge_devlink.c | 10 +++--- drivers/staging/qlge/qlge_devlink.h | 2 +- drivers/staging/qlge/qlge_main.c| 8

[PATCH] net: phy: dp83867: perform soft reset and retain established link

2021-03-23 Thread praneeth
From: Praneeth Bajjuri Current logic is performing hard reset and causing the programmed registers to be wiped out. as per datasheet: https://www.ti.com/lit/ds/symlink/dp83867cr.pdf 8.6.26 Control Register (CTRL) do SW_RESTART to perform a reset not including the registers and is acceptable to

Re: [PATCH v5 3/4] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2021-03-23 Thread Matthias Kaehlcke
On Tue, Mar 23, 2021 at 05:49:14PM -0700, Matthias Kaehlcke wrote: > On Tue, Mar 23, 2021 at 01:11:18PM +0100, Greg Kroah-Hartman wrote: > > On Mon, Mar 22, 2021 at 11:01:19PM +0530, Sandeep Maheswaram wrote: > > > Configure interrupts based on hs_phy_mode to avoid triggering of > > > interrupts

Re: [PATCH 4.14 00/43] 4.14.227-rc1 review

2021-03-23 Thread Samuel Zou
On 2021/3/22 20:28, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.227 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v5] mm: cma: support sysfs

2021-03-23 Thread Minchan Kim
On Wed, Mar 24, 2021 at 12:44:06AM +0300, Dmitry Osipenko wrote: > 23.03.2021 22:50, Minchan Kim пишет: > > +#ifdef CONFIG_CMA_SYSFS > > +void cma_sysfs_alloc_pages_count(struct cma *cma, size_t count); > > +void cma_sysfs_fail_pages_count(struct cma *cma, size_t count); > > I'd also rename

Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

2021-03-23 Thread Jie Deng
On 2021/3/23 17:38, Viresh Kumar wrote: On 23-03-21, 14:31, Viresh Kumar wrote: On 23-03-21, 22:19, Jie Deng wrote: +static int virtio_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) +{ + struct virtio_i2c *vi = i2c_get_adapdata(adap); + struct virtqueue *vq =

Re: [PATCH v5 3/4] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2021-03-23 Thread Matthias Kaehlcke
On Tue, Mar 23, 2021 at 01:11:18PM +0100, Greg Kroah-Hartman wrote: > On Mon, Mar 22, 2021 at 11:01:19PM +0530, Sandeep Maheswaram wrote: > > Configure interrupts based on hs_phy_mode to avoid triggering of > > interrupts during system suspend and suspends successfully. > > Set genpd active wakeup

Re: [PATCH v5 2/4] usb: dwc3: host: Add suspend_quirk for dwc3 host

2021-03-23 Thread Matthias Kaehlcke
On Mon, Mar 22, 2021 at 11:01:18PM +0530, Sandeep Maheswaram wrote: > Adding suspend quirk function for dwc3 host which will be called > during xhci suspend. > Setting hs_phy_mode, ss_phy_mode , phy_power_off flags and phy mode > during host suspend. > > Signed-off-by: Sandeep Maheswaram > --- >

Re: [PATCH 1/2] perf/core: Share an event with multiple cgroups

2021-03-23 Thread Song Liu
> On Mar 23, 2021, at 9:21 AM, Namhyung Kim wrote: > > As we can run many jobs (in container) on a big machine, we want to > measure each job's performance during the run. To do that, the > perf_event can be associated to a cgroup to measure it only. > > However such cgroup events need to

Re: [PATCH] net: ethernet: Remove duplicate include of vhca_event.h

2021-03-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 23 Mar 2021 10:05:48 +0800 you wrote: > vhca_event.h has been included at line 4, so remove the > duplicate one at line 8. > > Signed-off-by: Wan Jiabing > --- >

Re: [PATCH v5 00/27] Memory Folios

2021-03-23 Thread Johannes Weiner
On Mon, Mar 22, 2021 at 06:47:44PM +, Matthew Wilcox wrote: > On Mon, Mar 22, 2021 at 01:59:24PM -0400, Johannes Weiner wrote: > > On Sat, Mar 20, 2021 at 05:40:37AM +, Matthew Wilcox (Oracle) wrote: > > > This series introduces the 'struct folio' as a replacement for > > > head-or-base

Re: [PATCH v5 1/4] usb: dwc3: core: Host wake up support from system suspend

2021-03-23 Thread Matthias Kaehlcke
On Mon, Mar 22, 2021 at 11:01:17PM +0530, Sandeep Maheswaram wrote: > Avoiding phy powerdown when wakeup capable devices are connected. > > Signed-off-by: Sandeep Maheswaram > --- > drivers/usb/dwc3/core.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git

Re: [PATCH] net: ethernet: indir_table.h is included twice

2021-03-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 23 Mar 2021 10:00:12 +0800 you wrote: > indir_table.h has been included at line 41, so remove > the duplicate one at line 43. > > Signed-off-by: Wan Jiabing > --- >

Re: [PATCH net-next] net: ipa: avoid 64-bit modulus

2021-03-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 22 Mar 2021 20:05:05 -0500 you wrote: > It is possible for a 32 bit x86 build to use a 64 bit DMA address. > > There are two remaining spots where the IPA driver does a modulo > operation to check alignment of a

[PATCH] tools: usbip: list.h: fix kernel-doc for list_del()

2021-03-23 Thread Randy Dunlap
: Shuah Khan Cc: linux-...@vger.kernel.org --- tools/usb/usbip/libsrc/list.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) --- linux-next-20210323.orig/tools/usb/usbip/libsrc/list.h +++ linux-next-20210323/tools/usb/usbip/libsrc/list.h @@ -77,17 +77,17 @@ static inline void

[PATCH][next] UAPI: nfsfh.h: Replace one-element array with flexible-array member

2021-03-23 Thread Gustavo A. R. Silva
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. Use an

Re: [PATCH 2/2] usb: dwc3: gadget: Ignore EP queue requests during bus reset

2021-03-23 Thread Thinh Nguyen
Wesley Cheng wrote: > Hi Thinh, > > > On 3/19/2021 7:01 PM, Thinh Nguyen wrote: >> Wesley Cheng wrote: >>> >>> >>> On 3/19/2021 5:40 PM, Thinh Nguyen wrote: Hi, Wesley Cheng wrote: > The current dwc3_gadget_reset_interrupt() will stop any active > transfers, but only

Re: linux-next: build failure after merge of the akpm-current tree

2021-03-23 Thread Nicholas Piggin
Excerpts from Stephen Rothwell's message of March 24, 2021 6:58 am: > Hi all, > > On Thu, 18 Mar 2021 20:56:07 +1100 Stephen Rothwell > wrote: >> >> After merging the akpm-current tree, today's linux-next build (sparc >> defconfig) failed like this: >> >> In file included from

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-23 Thread Pali Rohár
On Tuesday 23 March 2021 10:20:27 Florian Fainelli wrote: > On 3/15/2021 2:50 AM, Pali Rohár wrote: > > On Friday 12 March 2021 12:54:18 Alexander Lobakin wrote: > >> From: Florian Fainelli > >> Date: Thu, 11 Mar 2021 09:41:27 -0800 > >> > >> Hi Florian, > >> > >>> On 3/11/21 9:40 AM, Greg KH

[tip:locking/urgent] BUILD SUCCESS 291da9d4a9eb3a1cb0610b7f4480f5b52b1825e7

2021-03-23 Thread kernel test robot
mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a002-20210323 x86_64

Re: [RFC PATCH 2/4] mm: shmem: Support case-insensitive file name lookups

2021-03-23 Thread Al Viro
On Tue, Mar 23, 2021 at 04:59:39PM -0300, André Almeida wrote: > * dcache handling: > > For a +F directory, tmpfs only stores the first equivalent name dentry > used in the dcache. This is done to prevent unintentional duplication of > dentries in the dcache, while also allowing the VFS code to

RE: [RFC PATCH v5 4/4] scheduler: Add cluster scheduler level for x86

2021-03-23 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Tim Chen [mailto:tim.c.c...@linux.intel.com] > Sent: Wednesday, March 24, 2021 11:51 AM > To: Song Bao Hua (Barry Song) ; > catalin.mari...@arm.com; w...@kernel.org; r...@rjwysocki.net; > vincent.guit...@linaro.org; b...@alien8.de; t...@linutronix.de; >

Re: [PATCH] remoteproc: pru: Fix firmware loading crashes on K3 SoCs

2021-03-23 Thread Mathieu Poirier
On Mon, Mar 15, 2021 at 03:58:59PM -0500, Suman Anna wrote: > The K3 PRUs are 32-bit processors and in general have some limitations > in using the standard ARMv8 memcpy function for loading firmware segments, > so the driver already uses a custom memcpy implementation. This added > logic however

Re: [RFC PATCH 2/8] hugetlb: recompute min_count when dropping hugetlb_lock

2021-03-23 Thread Mike Kravetz
On 3/23/21 1:14 AM, Michal Hocko wrote: > On Tue 23-03-21 09:01:02, Peter Zijlstra wrote: >> On Tue, Mar 23, 2021 at 08:50:53AM +0100, Michal Hocko wrote: >> >> +static inline unsigned long min_hp_count(struct hstate *h, unsigned >> long count) >> +{ >> +unsigned long

Re: [RFC PATCH 2/6] mtd: spi-nor: core: consolidate read op creation

2021-03-23 Thread Michael Walle
Am 2021-03-11 20:12, schrieb Pratyush Yadav: Currently the spi_mem_op to read from the flash is used in two places: spi_nor_create_read_dirmap() and spi_nor_spimem_read_data(). In a later commit this number will increase to three. Instead of repeating the same code thrice, add a function that

[tip: ras/core] x86/mce/inject: Add IPID for injection too

2021-03-23 Thread tip-bot2 for Borislav Petkov
The following commit has been merged into the ras/core branch of tip: Commit-ID: 2ffdc2c34421561c12f843e497dd7ce898478c0f Gitweb: https://git.kernel.org/tip/2ffdc2c34421561c12f843e497dd7ce898478c0f Author:Borislav Petkov AuthorDate:Sat, 13 Mar 2021 17:13:29 +01:00

Re: [PATCH v2] IB/mlx5: Reduce max order of memory allocated for xlt update

2021-03-23 Thread Jason Gunthorpe
On Tue, Mar 23, 2021 at 12:41:51PM -0700, Aruna Ramakrishna wrote: >There is a far greater possibility of an order-8 allocation failing, >esp. with the addition of __GFP_NORETRY , and the code would have to >fall back to a lower order allocation more often than not (esp. on a >long

Re: [PATCH v4 1/2] usbip: tools: add options and examples in man page related to device mode

2021-03-23 Thread Shuah Khan
On 3/23/21 6:55 AM, Hongren Zheng (Zenithal) wrote: The commit e0546fd8b748 ("usbip: tools: Start using VUDC backend in usbip tools") implemented device mode for user space tools, however the corresponding options are not documented in man page. This commit documents the options and provides

Re: [Ksummit-discuss] RFC: create mailing list "linux-issues" focussed on issues/bugs and regressions

2021-03-23 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Tue, Mar 23, 2021 at 09:30:33AM -0700, James Bottomley wrote: > > > I think the bulk of user issues are going to be regressions. Although > > > you may be in a better position to know for sure, but at least for > > > me, wearing my "user" hat, the thing that gets

Re: [PATCH v2 3/3] vfio/type1: Batch page pinning

2021-03-23 Thread Alex Williamson
On Tue, 23 Mar 2021 18:25:45 -0400 Daniel Jordan wrote: > Hi Alex, > > Alex Williamson writes: > > I've found a bug in this patch that we need to fix. The diff is a > > little difficult to follow, > > It was an awful diff, I remember... > > > so I'll discuss it in the resulting function

Re: [RFC PATCH 1/6] spi: spi-mem: Tell controller when device is ready for calibration

2021-03-23 Thread Michael Walle
Hi Pratyush, Am 2021-03-11 20:12, schrieb Pratyush Yadav: Some controllers like the Cadence OSPI controller need to perform a calibration sequence to operate at high clock speeds. This calibration should happen after the flash is fully initialized otherwise the calibration might happen in a

Re: [PATCH v2 -next] powerpc: kernel/time.c - cleanup warnings

2021-03-23 Thread Alexandre Belloni
On 23/03/2021 23:18:17+0100, Alexandre Belloni wrote: > Hello, > > On 23/03/2021 05:12:57-0400, He Ying wrote: > > We found these warnings in arch/powerpc/kernel/time.c as follows: > > warning: symbol 'decrementer_max' was not declared. Should it be static? > > warning: symbol 'rtc_lock' was not

Re: [PATCH v4 RESEND 3/5] perf/x86/lbr: Move cpuc->lbr_xsave allocation out of sleeping region

2021-03-23 Thread Liang, Kan
On 3/23/2021 5:41 PM, Peter Zijlstra wrote: On Mon, Mar 22, 2021 at 02:06:33PM +0800, Like Xu wrote: diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c index 18df17129695..a4ce669cc78d 100644 --- a/arch/x86/events/core.c +++ b/arch/x86/events/core.c @@ -373,7 +373,7 @@

Re: linux-next: bad topic branch merged into the clk-imx tree

2021-03-23 Thread Abel Vesa
On 21-03-24 09:02:43, Stephen Rothwell wrote: > Hi all, > > Please try to avoid merging branches based on v5.12-rc1-dontuse - ask > the branch owner to rebase onto (at least) v5.12-rc2. > Oups, fixed now. > -- > Cheers, > Stephen Rothwell

Re: [PATCH v4 3/6] dt-bindings: power: tegra: Add binding for core power domain

2021-03-23 Thread Dmitry Osipenko
24.03.2021 01:48, Rob Herring пишет: > On Sun, Mar 14, 2021 at 07:48:07PM +0300, Dmitry Osipenko wrote: >> All NVIDIA Tegra SoCs have a core power domain where majority of hardware >> blocks reside. Add binding for the core power domain. >> >> Signed-off-by: Dmitry Osipenko >> --- >>

Re: [PATCH RFC] f2fs: fix to avoid selecting full segment w/ {AT,}SSR allocator

2021-03-23 Thread Jaegeuk Kim
On 03/19, Chao Yu wrote: > On 2021/3/19 1:17, Jaegeuk Kim wrote: > > On 02/20, Chao Yu wrote: > > > In cp disabling mode, there could be a condition > > > - target segment has 128 ckpt valid blocks > > > - GC migrates 128 valid blocks to other segment (segment is still in > > > dirty list) > > > -

Re: [PATCH v4 1/4] drm: sun4i: dsi: Use drm_of_find_panel_or_bridge

2021-03-23 Thread Laurent Pinchart
Hi Jagan, Thank you for the patch. On Mon, Mar 22, 2021 at 07:31:49PM +0530, Jagan Teki wrote: > Replace of_drm_find_panel with drm_of_find_panel_or_bridge > for finding panel, this indeed help to find the bridge if > bridge support added. > > Added NULL in bridge argument, same will replace

Re: [RFC PATCH v5 4/4] scheduler: Add cluster scheduler level for x86

2021-03-23 Thread Tim Chen
On 3/18/21 9:16 PM, Barry Song wrote: > From: Tim Chen > > There are x86 CPU architectures (e.g. Jacobsville) where L2 cahce > is shared among a cluster of cores instead of being exclusive > to one single core. > > To prevent oversubscription of L2 cache, load should be > balanced between

Re: [PATCH 1/3] posic_acl: Add a helper determine if SGID should be cleared

2021-03-23 Thread Vivek Goyal
On Tue, Mar 23, 2021 at 10:32:33AM +0100, Christian Brauner wrote: > On Mon, Mar 22, 2021 at 01:01:11PM -0400, Vivek Goyal wrote: > > On Sat, Mar 20, 2021 at 11:03:22AM +0100, Christian Brauner wrote: > > > On Fri, Mar 19, 2021 at 11:42:48PM +0100, Andreas Grünbacher wrote: > > > > Hi, > > > > >

Re: [PATCH v4 3/6] dt-bindings: power: tegra: Add binding for core power domain

2021-03-23 Thread Rob Herring
On Sun, Mar 14, 2021 at 07:48:07PM +0300, Dmitry Osipenko wrote: > All NVIDIA Tegra SoCs have a core power domain where majority of hardware > blocks reside. Add binding for the core power domain. > > Signed-off-by: Dmitry Osipenko > --- > .../power/nvidia,tegra20-core-domain.yaml | 51

Re: [PATCH v4 1/9] dt-bindings: soundwire: qcom: clarify data port bus parameters

2021-03-23 Thread Rob Herring
On Fri, 12 Mar 2021 12:00:01 +, Srinivas Kandagatla wrote: > Some of the parameters for data ports are not applicable or not implemented > in IP. So mark them as invalid/not applicable in DT so that controller is > aware of this. > > Add comment to these bindings to provide more clarity on

Re: [PATCH v5 1/4] PCI: Introduce pcim_alloc_irq_vectors()

2021-03-23 Thread Bjorn Helgaas
[+cc Christoph, Thomas, Alexander, in case you're interested] [+cc Jonathan, Kurt, Logan: vmd.c and switchtec.c use managed resources and pci_alloc_irq_vectors()] On Fri, Feb 26, 2021 at 11:50:53PM +0800, Dejin Zheng wrote: > Introduce pcim_alloc_irq_vectors(), a device-managed version of >

[PATCH v9 1/1] fpga: dfl: afu: harden port enable logic

2021-03-23 Thread Russ Weight
Port enable is not complete until ACK = 0. Change __afu_port_enable() to guarantee that the enable process is complete by polling for ACK == 0. Signed-off-by: Russ Weight Reviewed-by: Tom Rix Reviewed-by: Matthew Gerlach Acked-by: Wu Hao --- v9: - Fix the sense of the if condition in

Re: [PATCH v5 13/19] dts: bindings: Document device tree bindings for ETE

2021-03-23 Thread Rob Herring
On Tue, 23 Mar 2021 12:06:41 +, Suzuki K Poulose wrote: > Document the device tree bindings for Embedded Trace Extensions. > ETE can be connected to legacy coresight components and thus > could optionally contain a connection graph as described by > the CoreSight bindings. > > Cc:

Re: [PATCH v5 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-23 Thread Rob Herring
On Fri, Mar 19, 2021 at 10:38:29AM +0100, Parshuram Thombare wrote: > Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. > > Signed-off-by: Parshuram Thombare > --- > .../display/bridge/cdns,mhdp8546.yaml | 34 --- > 1 file changed, 21 insertions(+), 13

Re: [tip: irq/core] genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()

2021-03-23 Thread Dmitry Torokhov
Hi Thomas, On Thu, Mar 04, 2021 at 07:50:31PM +0100, Thomas Gleixner wrote: > Dmitry, > > On Thu, Mar 04 2021 at 11:57, Thomas Gleixner wrote: > > On Thu, Mar 04 2021 at 10:53, tip-bot wrote: > > > >> The following commit has been merged into the irq/core branch of tip: > >> > >> Commit-ID:

Re: [PATCH v5 01/13] dt-bindings: usb: fix yamllint check warning

2021-03-23 Thread Rob Herring
On Tue, 16 Mar 2021 17:22:20 +0800, Chunfeng Yun wrote: > Fix warning: "missing starting space in comment" > > Fixes: 23bf6fc7046c ("dt-bindings: usb: convert usb-device.txt to YAML > schema") > Signed-off-by: Chunfeng Yun > --- > v5: add Fixes tag suggested by Greg > v2~v4: no changes > --- >

[PATCH v2] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-23 Thread Stephen Boyd
These scm calls are never used outside of legacy ARMv7 based platforms. That's because PSCI, mandated on arm64, implements them for modern SoCs via the PSCI spec. Let's move them to the legacy file and only compile the legacy file into the kernel when CONFIG_ARM=y. Otherwise provide stubs and fail

Re: [PATCH v5 02/24] dt-bindings: introduce silabs,wfx.yaml

2021-03-23 Thread Rob Herring
On Mon, 15 Mar 2021 14:24:39 +0100, Jerome Pouiller wrote: > From: Jérôme Pouiller > > Prepare the inclusion of the wfx driver in the kernel. > > Signed-off-by: Jérôme Pouiller > --- > .../bindings/net/wireless/silabs,wfx.yaml | 133 ++ > 1 file changed, 133 insertions(+)

Re: [PATCH v5 6/7] dt-bindings: interrupt-controller: Add Loongson-2K1000 LIOINTC

2021-03-23 Thread Rob Herring
On Mon, 15 Mar 2021 15:50:03 +0800, Qing Zhang wrote: > Add liointc-2.0 properties support, so update the maxItems and > condition description. > > Signed-off-by: Qing Zhang > Tested-by: Ming Wang > --- > > v4-v5: > - Add reg condition description > > .../loongson,liointc.yaml

[PATCH] ia64: drop unused IA64_FW_EMU ifdef

2021-03-23 Thread Sergei Trofimovich
It's a remnant of deleted hpsim emulation target removed in fc5bad037 ("ia64: remove the hpsim platform"). CC: Andrew Morton CC: linux-i...@vger.kernel.org Signed-off-by: Sergei Trofimovich --- arch/ia64/kernel/head.S | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [PATCH v5] ARM: Implement SLS mitigation

2021-03-23 Thread Jian Cai
Thanks for the suggestion. I've sent an inquiry to the author of -mharden-sls* in GCC and hopefully that would shed some more light. We do get warnings for oraphon sections when using lld. The other linkers do not seem to provide such warnings, although the boot failure also does not seem to

[PATCH 3/3] remoteproc: pru: Fix and cleanup firmware interrupt mapping logic

2021-03-23 Thread Suman Anna
The PRU firmware interrupt mappings are configured and unconfigured in .start() and .stop() callbacks respectively using the variables 'evt_count' and a 'mapped_irq' pointer. These variables are modified only during these callbacks but are not re-initialized/reset properly during unwind or failure

Re: [PATCH v6 2/3] dt-bindings: arm: fsl: Add the reMarkable 2 e-Ink tablet

2021-03-23 Thread Rob Herring
On Mon, 22 Mar 2021 09:09:26 -0400, Alistair Francis wrote: > Signed-off-by: Alistair Francis > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH v6 1/3] dt-bindings: Add vendor prefix for reMarkable

2021-03-23 Thread Rob Herring
On Mon, 22 Mar 2021 09:09:25 -0400, Alistair Francis wrote: > reMarkable AS produces eInk tablets > > Signed-off-by: Alistair Francis > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

[PATCH 0/3] PRU firmware event/interrupt mapping fixes

2021-03-23 Thread Suman Anna
Hi, The following series includes fixes for various different issues associated with the PRU firmware event/interrupt mapping configuration logic added in the same commit c75c9fdac66e ("remoteproc: pru: Add support for PRU specific interrupt configuration"). The fixes are agnostic of SoC family.

[PATCH 2/3] remoteproc: pru: Fix wrong success return value for fw events

2021-03-23 Thread Suman Anna
The irq_create_fwspec_mapping() returns a proper virq value on success and 0 upon any failure. The pru_handle_intrmap() treats this as an error and disposes all firmware event mappings correctly, but is returning this incorrect value as is, letting the pru_rproc_start() interpret it as a success

Re: [PATCH v6 7/7] dt-bindings: clock: tegra: Convert to schema

2021-03-23 Thread Rob Herring
On Sat, 20 Mar 2021 18:26:48 +0300, Dmitry Osipenko wrote: > Convert NVIDIA Tegra clock bindings to schema. > > Signed-off-by: Dmitry Osipenko > --- > .../bindings/clock/nvidia,tegra114-car.txt| 63 -- > .../bindings/clock/nvidia,tegra124-car.txt| 107 >

[PATCH 1/3] remoteproc: pru: Fixup interrupt-parent logic for fw events

2021-03-23 Thread Suman Anna
The PRU firmware interrupt mapping logic in pru_handle_intrmap() uses of_irq_find_parent() with PRU device node to get a handle to the PRUSS Interrupt Controller at present. This logic however requires that the PRU nodes always define a interrupt-parent property. This property is neither a

Re: [PATCH v6 02/13] dt-bindings: media: nxp, imx8mq-vpu: Update the bindings for G2 support

2021-03-23 Thread Rob Herring
On Thu, 18 Mar 2021 09:20:35 +0100, Benjamin Gaignard wrote: > Introducing G2 hevc video decoder lead to modify the bindings to allow > to get one node per VPUs. > VPUs share one hardware control block which is provided as a phandle on > an syscon. > Each node got now one reg and one interrupt. >

Re: [PATCH v6 1/2] dt-bindings: Add support for the Broadcom UART driver

2021-03-23 Thread Rob Herring
On Thu, 18 Mar 2021 15:11:30 -0400, Al Cooper wrote: > Add DT bindings for the Broadcom 8250 based UART driver. This > UART is based on an 8250 but adds additional functionality. The > additional features include the ability to use DMA for transfers and > a baud rate clock system that is more

Re: [PATCH v6 01/13] dt-bindings: mfd: Add 'nxp, imx8mq-vpu-ctrl' to syscon list

2021-03-23 Thread Rob Herring
On Thu, 18 Mar 2021 09:20:34 +0100, Benjamin Gaignard wrote: > Add 'nxp,imx8mq-vpu-ctrl' in the list of possible syscon. > It will used to access to the VPU control registers. > > Signed-off-by: Benjamin Gaignard > --- > Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + > 1 file changed,

Re: [PATCH v6 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-03-23 Thread Rob Herring
On Wed, 17 Mar 2021 11:42:42 +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp Control and Status Registers module. > > Signed-off-by: Liu Ying > --- > v5->v6: > * Drop 'select' schema. (Rob) > > v4->v5: > * Newly introduced in v5. (Rob) > >

Re: [PATCH 0/3] Apple M1 DART IOMMU driver

2021-03-23 Thread Mark Kettenis
> Date: Tue, 23 Mar 2021 14:53:46 -0600 > From: Rob Herring > > On Sun, Mar 21, 2021 at 05:00:50PM +0100, Mark Kettenis wrote: > > > Date: Sat, 20 Mar 2021 15:19:33 + > > > From: Sven Peter > > > > > > Hi, > > > > > > After Hector's initial work [1] to bring up Linux on Apple's M1 it's

Re: [PATCH] kernel: kcov: fix a typo in comment

2021-03-23 Thread Marco Elver
On Tue, 23 Mar 2021 at 07:45, 'Dmitry Vyukov' via kasan-dev wrote: > On Tue, Mar 23, 2021 at 7:24 AM tl455047 wrote: > > > > Fixed a typo in comment. > > > > Signed-off-by: tl455047 > > Reviewed-by: Dmitry Vyukov > > +Andrew, linux-mm as KCOV patches are generally merged into mm. > > Thanks

Re: [PATCH v7 08/13] phy: cadence-torrent: Use a common header file for Cadence SERDES

2021-03-23 Thread Rob Herring
On Fri, 19 Mar 2021 18:11:23 +0530, Kishon Vijay Abraham I wrote: > No functional change. In order to have a single header file for all > Cadence SERDES move phy-cadence-torrent.h to phy-cadence.h. This is > in preparation for adding Cadence Sierra SERDES specific macros. > > Signed-off-by:

Re: [PATCH v7 1/2] dt-bindings: serial: Add rx-tx-swap to stm32-usart

2021-03-23 Thread Rob Herring
On Fri, 12 Mar 2021 16:37:01 +0100, Martin Devera wrote: > Add new rx-tx-swap property to allow for RX & TX pin swapping. > > Signed-off-by: Martin Devera > Acked-by: Fabrice Gasnier > --- > v7: > - fix yaml linter warning > v6: > - add version changelog > v5: > - yaml fixes based on Rob

Re: [PATCH -tip v4 10/12] x86/kprobes: Push a fake return address at kretprobe_trampoline

2021-03-23 Thread Peter Zijlstra
On Mon, Mar 22, 2021 at 03:41:40PM +0900, Masami Hiramatsu wrote: > ".global kretprobe_trampoline\n" > ".type kretprobe_trampoline, @function\n" > "kretprobe_trampoline:\n" > #ifdef CONFIG_X86_64 So what happens if we get an NMI here? That is, after the RET but before the push?

Re: [PATCH v2] eeprom/optoe: driver to read/write SFP/QSFP/CMIS EEPROMS

2021-03-23 Thread Andrew Lunn
> > Our experience is that a number of SFPs are broken, they don't follow the > > standard. Some you cannot perform more than 16 bytes reads without them > > locking up. Others will perform a 16 byte read, but only give you one > useful > > byte of data. So you have to read enough of the EEPROM a

Re: [PATCH v8 2/3] dt-bindings: mtd: Add a property to declare secure regions in NAND chips

2021-03-23 Thread Rob Herring
On Tue, 23 Mar 2021 13:09:29 +0530, Manivannan Sadhasivam wrote: > On a typical end product, a vendor may choose to secure some regions in > the NAND memory which are supposed to stay intact between FW upgrades. > The access to those regions will be blocked by a secure element like > Trustzone. So

Re: [PATCH v8 21/22] dt-bindings: add BCM6318 GPIO sysctl binding documentation

2021-03-23 Thread Rob Herring
On Wed, 17 Mar 2021 15:38:02 +0100, Álvaro Fernández Rojas wrote: > Add binding documentation for the GPIO sysctl found in BCM6318 SoCs. > > Signed-off-by: Álvaro Fernández Rojas > --- > v8: add changes suggested by Rob Herring > v7: add changes suggested by Rob Herring > >

Re: [PATCH v2 3/3] vfio/type1: Batch page pinning

2021-03-23 Thread Daniel Jordan
Hi Alex, Alex Williamson writes: > I've found a bug in this patch that we need to fix. The diff is a > little difficult to follow, It was an awful diff, I remember... > so I'll discuss it in the resulting function below... > > (1) Imagine the user has passed a vaddr range that alternates

Re: [PATCH v8 18/22] dt-bindings: add BCM63268 GPIO sysctl binding documentation

2021-03-23 Thread Rob Herring
On Wed, 17 Mar 2021 15:37:59 +0100, Álvaro Fernández Rojas wrote: > Add binding documentation for the GPIO sysctl found in BCM63268 SoCs. > > Signed-off-by: Álvaro Fernández Rojas > --- > v8: add changes suggested by Rob Herring > v7: add changes suggested by Rob Herring > >

Re: [PATCH v8 17/22] dt-bindings: add BCM63268 pincontroller binding documentation

2021-03-23 Thread Rob Herring
On Wed, Mar 17, 2021 at 03:37:58PM +0100, Álvaro Fernández Rojas wrote: > Add binding documentation for the pincontrol core found in the BCM63268 > family SoCs. > > Co-developed-by: Jonas Gorski checkpatch.pl highlights an error here. > Signed-off-by: Jonas Gorski > Signed-off-by: Álvaro

[PATCH v5 28/28] afs: Use the fscache_write_begin() helper

2021-03-23 Thread David Howells
Make AFS use the new fscache_write_begin() helper to do the pre-reading required before the write. If successful, the helper returns with the required page filled in and locked. It may read more than just one page, expanding the read to meet cache granularity requirements as necessary. Note: A

[PATCH v5 27/28] afs: Use new fscache read helper API

2021-03-23 Thread David Howells
Make AFS use the new fscache read helpers to implement the VM read operations: - afs_readpage() now hands off responsibility to fscache_readpage(). - afs_readpages() is gone and replaced with afs_readahead(). - afs_readahead() just hands off responsibility to fscache_readahead(). These make

[PATCH v5 26/28] afs: Use the fs operation ops to handle FetchData completion

2021-03-23 Thread David Howells
Use the 'success' and 'aborted' afs_operations_ops methods and add a 'failed' method to handle the completion of an AFS.FetchData, AFS.FetchData64 or YFS.FetchData64 RPC operation rather than directly calling the done func pointed to by the afs_read struct from the call delivery handler. This

[PATCH v5 25/28] afs: Prepare for use of THPs

2021-03-23 Thread David Howells
As a prelude to supporting transparent huge pages, use thp_size() and similar rather than PAGE_SIZE/SHIFT. Further, try and frame everything in terms of file positions and lengths rather than page indices and numbers of pages. Signed-off-by: David Howells cc: linux-...@lists.infradead.org cc:

Re: [PATCH v7 2/2] ARM: ftrace: Add MODULE_PLTS support

2021-03-23 Thread Qais Yousef
Hi Alexander On 03/22/21 18:02, Alexander Sverdlin wrote: > Hi Qais, > > On 22/03/2021 17:32, Qais Yousef wrote: > > Yes you're right. I was a bit optimistic on CONFIG_DYNAMIC_FTRACE will imply > > CONFIG_ARM_MODULE_PLTS is enabled too. > > > > It only has an impact on reducing ifdefery when

[PATCH v5 24/28] afs: Extract writeback extension into its own function

2021-03-23 Thread David Howells
Extract writeback extension into its own function to break up the writeback function a bit. Signed-off-by: David Howells cc: linux-...@lists.infradead.org cc: linux-cach...@redhat.com cc: linux-fsde...@vger.kernel.org Link:

[PATCH v5 23/28] afs: Wait on PG_fscache before modifying/releasing a page

2021-03-23 Thread David Howells
PG_fscache is going to be used to indicate that a page is being written to the cache, and that the page should not be modified or released until it's finished. Make afs_invalidatepage() and afs_releasepage() wait for it. Signed-off-by: David Howells cc: linux-...@lists.infradead.org cc:

Re: [PATCH v8 15/22] dt-bindings: add BCM6368 GPIO sysctl binding documentation

2021-03-23 Thread Rob Herring
On Wed, 17 Mar 2021 15:37:56 +0100, Álvaro Fernández Rojas wrote: > Add binding documentation for the GPIO sysctl found in BCM6368 SoCs. > > Signed-off-by: Álvaro Fernández Rojas > --- > v8: add changes suggested by Rob Herring > v7: add changes suggested by Rob Herring > >

[PATCH v5 22/28] afs: Use ITER_XARRAY for writing

2021-03-23 Thread David Howells
Use a single ITER_XARRAY iterator to describe the portion of a file to be transmitted to the server rather than generating a series of small ITER_BVEC iterators on the fly. This will make it easier to implement AIO in afs. In theory we could maybe use one giant ITER_BVEC, but that means

[PATCH v5 21/28] afs: Set up the iov_iter before calling afs_extract_data()

2021-03-23 Thread David Howells
afs_extract_data() sets up a temporary iov_iter and passes it to AF_RXRPC each time it is called to describe the remaining buffer to be filled. Instead: (1) Put an iterator in the afs_call struct. (2) Set the iterator for each marshalling stage to load data into the appropriate places.

[PATCH v5 20/28] afs: Log remote unmarshalling errors

2021-03-23 Thread David Howells
Log unmarshalling errors reported by the peer (ie. it can't parse what we sent it). Limit the maximum number of messages to 3. Signed-off-by: David Howells cc: linux-...@lists.infradead.org cc: linux-cach...@redhat.com cc: linux-fsde...@vger.kernel.org Link:

[PATCH v5 19/28] afs: Don't truncate iter during data fetch

2021-03-23 Thread David Howells
Don't truncate the iterator to correspond to the actual data size when fetching the data from the server - rather, pass the length we want to read to rxrpc. This will allow the clear-after-read code in future to simply clear the remaining iterator capacity rather than having to reinitialise the

Re: [PATCH v8 14/22] dt-bindings: add BCM6368 pincontroller binding documentation

2021-03-23 Thread Rob Herring
On Wed, 17 Mar 2021 15:37:55 +0100, Álvaro Fernández Rojas wrote: > Add binding documentation for the pincontrol core found in BCM6368 SoCs. > > Co-developed-by: Jonas Gorski > Signed-off-by: Jonas Gorski > Signed-off-by: Álvaro Fernández Rojas > --- > v8: add changes suggested by Rob Herring

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