[PATCH 08/32] MAINTAINERS: update current-sense-amplifier.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset fbac26b9ad21 ("dt-bindings:iio:afe:current-sense-amplifier: txt to yaml conversion.") renamed: Documentation/devicetree/bindings/iio/afe/current-sense-amplifier.txt to: Documentation/devicetree/bindings/iio/afe/current-sense-amplifier.yaml. Update its cross-reference accordingly. Fixes

[PATCH 22/32] MAINTAINERS: update nxp,imx8-jpeg.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
The file name: Documentation/devicetree/bindings/media/imx8-jpeg.yaml should be, instead: Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml. Update its cross-reference accordingly. Fixes: be157db0a3d8 ("media: Add maintainer for IMX jpeg v4l2 driver") Fixes: b16ed1e66008 ("media: dt-bind

[PATCH 10/32] MAINTAINERS: update voltage-divider.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 6f633bc91ac1 ("dt-bindings:iio:afe:voltage-divider: txt to yaml conversion") renamed: Documentation/devicetree/bindings/iio/afe/voltage-divider.txt to: Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml. Update its cross-reference accordingly. Fixes: 6f633bc91ac1 ("dt-bindi

[PATCH 09/32] MAINTAINERS: update current-sense-shunt.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset ce66e52b6c16 ("dt-bindings:iio:afe:current-sense-shunt: txt to yaml conversion.") renamed: Documentation/devicetree/bindings/iio/afe/current-sense-shunt.txt to: Documentation/devicetree/bindings/iio/afe/current-sense-shunt.yaml. Update its cross-reference accordingly. Fixes: ce66e52b6c

[PATCH 23/32] MAINTAINERS: update ovti,ov2680.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
The file name: Documentation/devicetree/bindings/media/i2c/ov2680.yaml should be, instead: Documentation/devicetree/bindings/media/i2c/ovti,ov2680.yaml. Update its cross-reference accordingly. Fixes: 57226cd8c8bf ("media: dt-bindings: ov2680: convert bindings to yaml") Signed-off-by: Mauro Carva

Re: [PATCH v2 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs

2021-04-01 Thread Enrico Weigelt, metux IT consult
On 27.03.21 10:46, Henning Schild wrote: In this case, they seem to be assigned to certain specific functions (by physical labels on the box), so IMHO the LED names should reflect that in some ways. The choice for "status" was because of /* Miscelleaus functions. Use functions above if you c

[PATCH 28/32] dt-bindings: power: update battery.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changesets: 70c23e62d20c ("dt-bindings: power: supply: Fix remaining battery.txt links") and: 471dec8023d1 ("dt-bindings: power: Convert battery.txt to battery.yaml") renamed: Documentation/devicetree/bindings/power/supply/battery.txt to: Documentation/devicetree/bindings/power/supply/battery.yaml

Re: [PATCH v2 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117

2021-04-01 Thread Rob Herring
On Thu, 01 Apr 2021 14:46:47 +0530, Puranjay Mohan wrote: > Add devicetree binding document for TMP117, a digital temperature sensor. > > Signed-off-by: Puranjay Mohan > --- > .../bindings/iio/temperature/ti,tmp117.yaml | 34 +++ > 1 file changed, 34 insertions(+) > create mod

Re: [PATCH v9 0/6] Optionally randomize kernel stack offset each syscall

2021-04-01 Thread Thomas Gleixner
On Thu, Apr 01 2021 at 09:37, Will Deacon wrote: > On Wed, Mar 31, 2021 at 01:54:52PM -0700, Kees Cook wrote: >> Hi Will (and Mark and Catalin), >> >> Can you take this via the arm64 tree for v5.13 please? Thomas has added >> his Reviewed-by, so it only leaves arm64's. :) > > Sorry, these got mixe

Re: [Linux-cifsd-devel] [PATCH] cifsd: use kfree to free memory allocated by kzalloc

2021-04-01 Thread Namjae Jeon
2021-04-01 20:50 GMT+09:00, Dan Carpenter : > On Thu, Apr 01, 2021 at 04:39:33PM +0500, Muhammad Usama Anjum wrote: >> kfree should be used to free memory allocated by kzalloc to avoid >> any overhead and for maintaining consistency. >> >> Fixes: 5dfeb6d945 ("cifsd: use kmalloc() for small allocati

[PATCH 01/32] MAINTAINERS: update adi,ad5758.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 1e6536ee349b ("dt-bindings:iio:dac:adi,ad5758 yaml conversion") renamed: Documentation/devicetree/bindings/iio/dac/ad5758.txt to: Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml. Update its cross-reference accordingly. Fixes: 1e6536ee349b ("dt-bindings:iio:dac:adi,ad5758 yaml

[PATCH 14/32] MAINTAINERS: update mtk-sd.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset c626695ecd8b ("dt-bindings: mmc: Convert mtk-sd to json-schema") renamed: Documentation/devicetree/bindings/mmc/mtk-sd.txt to: Documentation/devicetree/bindings/mmc/mtk-sd.yaml. Update its cross-reference accordingly. Fixes: c626695ecd8b ("dt-bindings: mmc: Convert mtk-sd to json-schema

[PATCH 30/32] Documentation: net: dsa: update configuration.rst reference

2021-04-01 Thread Mauro Carvalho Chehab
The file name: Documentation/configuration.txt should be, instead: Documentation/networking/dsa/configuration.rst. Update its cross-reference accordingly. Fixes: 75b8988dfe83 ("cifsd: add server handler for central processing and tranport layers") Fixes: 58dd7a8d9d02 ("Documentation: net: dsa: D

[PATCH 29/32] docs: dt: update writing-schema.rst references

2021-04-01 Thread Mauro Carvalho Chehab
Changeset b83db5b84900 ("docs: dt: Group DT docs into relevant sub-sections") renamed: Documentation/devicetree/writing-schema.rst to: Documentation/devicetree/bindings/writing-schema.rst. Update the cross-references accordingly. Fixes: b83db5b84900 ("docs: dt: Group DT docs into relevant sub-sec

[PATCH 07/32] MAINTAINERS: update envelope-detector.yaml reference

2021-04-01 Thread Mauro Carvalho Chehab
Changeset 66a6dcc20e63 ("dt-bindings:iio:adc:envelope-detector: txt to yaml conversion.") renamed: Documentation/devicetree/bindings/iio/adc/envelope-detector.txt to: Documentation/devicetree/bindings/iio/adc/envelope-detector.yaml. Update its cross-reference accordingly. Fixes: 66a6dcc20e63 ("d

Re: [PATCH -next] IB/srpt: Fix passing zero to 'PTR_ERR'

2021-04-01 Thread Jason Gunthorpe
On Wed, Mar 24, 2021 at 10:09:39PM +0800, YueHaibing wrote: > Fix smatch warning: > > drivers/infiniband/ulp/srpt/ib_srpt.c:2341 srpt_cm_req_recv() warn: passing > zero to 'PTR_ERR' > > Use PTR_ERR_OR_ZERO instead of PTR_ERR > > Fixes: 847462de3a0a ("IB/srpt: Fix srpt_cm_req_recv() error path (

[PATCH -next] mfd: twl: Remove unused inline function twl4030charger_usb_en()

2021-04-01 Thread YueHaibing
There is no caller in tree, so can remove it. Signed-off-by: YueHaibing --- include/linux/mfd/twl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/mfd/twl.h b/include/linux/mfd/twl.h index 089e8942223a..8871cc5188a0 100644 --- a/include/linux/mfd/twl.h +++ b/include/linux/mfd

Re: [PATCH] KVM: x86: Fix potential memory access error

2021-04-01 Thread Sean Christopherson
On Thu, Apr 01, 2021, Vitaly Kuznetsov wrote: > Sean Christopherson writes: > > > On Wed, Mar 31, 2021, Yang Li wrote: > >> Using __set_bit() to set a bit in an integer is not a good idea, since > >> the function expects an unsigned long as argument, which can be 64bit wide. > >> Coverity reports

Re: [PATCH v6 00/27] Memory Folios

2021-04-01 Thread Matthew Wilcox
On Thu, Apr 01, 2021 at 08:05:37AM +0100, Christoph Hellwig wrote: > On Wed, Mar 31, 2021 at 07:47:01PM +0100, Matthew Wilcox (Oracle) wrote: > > - Mirror members of struct page (for pagecache / anon) into struct folio, > >so (eg) you can use folio->mapping instead of folio->page.mapping > >

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 01:10:48PM +, Liu, Yi L wrote: > > From: Jason Gunthorpe > > Sent: Thursday, April 1, 2021 7:47 PM > [...] > > I'm worried Intel views the only use of PASID in a guest is with > > ENQCMD, but that is not consistent with the industry. We need to see > > normal nested PAS

[tip: x86/core] objtool: Rework rebuild_reloc logic

2021-04-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the x86/core branch of tip: Commit-ID: 98ce4d014ad4c1c4afcc427fc3f0002674315cb9 Gitweb: https://git.kernel.org/tip/98ce4d014ad4c1c4afcc427fc3f0002674315cb9 Author:Peter Zijlstra AuthorDate:Fri, 26 Mar 2021 16:12:06 +01:00 Committer

[PATCH v1 1/2] mmc: core: Let sanitize timeout readable/writable via sysfs

2021-04-01 Thread Bean Huo
From: Bean Huo As the density increases, the 4-minute timeout value for disinfection is no longer feasible. At the same time, devices of different densities have different timeout values, and it is difficult to obtain a unified standard timeout value. Therefore, it is better to let the user contr

Re: [PATCH 1/2] soundwire: add macro to selectively change error levels

2021-04-01 Thread Pierre-Louis Bossart
+#define sdw_dev_dbg_or_err(dev, is_err, fmt, ...) \ + do {\ + if (is_err) \ + dev_err(dev, fmt, __VA_ARGS__); \

Re: [PATCH -next] RDMA/uverbs: Fix -Wunused-function warning

2021-04-01 Thread Leon Romanovsky
On Thu, Apr 01, 2021 at 10:10:28AM +0800, YueHaibing wrote: > make W=1 warns this: > > In file included from drivers/infiniband/sw/rdmavt/mmap.c:51:0: > ./include/rdma/uverbs_ioctl.h:937:1: > warning: ‘_uverbs_get_const_unsigned’ defined but not used > [-Wunused-function] > _uverbs_get_const_un

Re: [PATCH -next] media: camss: csiphy: Remove redundant dev_err call in msm_csiphy_subdev_init()

2021-04-01 Thread Robert Foss
Hey Yang, Thanks for the patch, feel free to add my r-b. Reviewed-by: Robert Foss On Thu, 1 Apr 2021 at 12:33, Yang Yingliang wrote: > > There is an error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Reported-by: Hulk Robot

[PATCH v3] sched/debug: Use sched_debug_lock to serialize use of cgroup_path[] only

2021-04-01 Thread Waiman Long
The handling of sysrq key can be activated by echoing the key to /proc/sysrq-trigger or via the magic key sequence typed into a terminal that is connected to the system in some way (serial, USB or other mean). In the former case, the handling is done in a user context. In the latter case, it is lik

[PATCH v8 10/13] media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control

2021-04-01 Thread Benjamin Gaignard
Make sure that V4L2_PIX_FMT_HEVC_SLICE is correctly handle by v4l2 of the driver. Signed-off-by: Benjamin Gaignard Reviewed-by: Ezequiel Garcia --- version 8: - Add Ezequiel review tag drivers/staging/media/hantro/hantro_v4l2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/stagi

Re: [PATCH 3/7] PM: runtime: remove kernel-doc warnings

2021-04-01 Thread Rafael J. Wysocki
On Thu, Apr 1, 2021 at 1:26 AM Pierre-Louis Bossart wrote: > > remove make W=1 warnings > > drivers/base/power/runtime.c:926: warning: Function parameter or > member 'timer' not described in 'pm_suspend_timer_fn' > > drivers/base/power/runtime.c:926: warning: Excess function parameter > 'data' des

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 01:38:46PM +, Liu, Yi L wrote: > > From: Jean-Philippe Brucker > > Sent: Thursday, April 1, 2021 8:05 PM > [...] > > > > Also wondering about: > > > > * Querying IOMMU nesting capabilities before binding page tables (which > > page table formats are supported?). We

Re: [PATCH 12/13] KVM: x86/mmu: Fast invalidation for TDP MMU

2021-04-01 Thread Ben Gardon
On Thu, Apr 1, 2021 at 3:36 AM Paolo Bonzini wrote: > > On 31/03/21 23:08, Ben Gardon wrote: > > > > + if (is_tdp_mmu_enabled(kvm)) > > + kvm_tdp_mmu_invalidate_roots(kvm); > > + > > /* > >* Toggle mmu_valid_gen between '0' and '1'. Because slots_lock is > >*

Re: [PATCH net-next v1 3/3] net: fec: add basic selftest support

2021-04-01 Thread Florian Fainelli
On 4/1/21 12:47 AM, Oleksij Rempel wrote: > On Wed, Mar 31, 2021 at 02:27:19PM +0200, Andrew Lunn wrote: >> On Tue, Mar 30, 2021 at 03:54:07PM +0200, Oleksij Rempel wrote: >>> Port some parts of the stmmac selftest to the FEC. This patch was tested >>> on iMX6DL. >>> With this tests it is possible

Re: [PATCH v2 11/14] drm/bridge: ti-sn65dsi86: Power things properly for reading the EDID

2021-04-01 Thread Doug Anderson
Hi, On Thu, Apr 1, 2021 at 4:12 AM Andrzej Hajda wrote: > > > W dniu 31.03.2021 o 16:48, Doug Anderson pisze: > > Hi, > > > > On Wed, Mar 31, 2021 at 4:08 AM Andrzej Hajda wrote: > >> > >> W dniu 30.03.2021 o 04:53, Douglas Anderson pisze: > >>> eDP panels won't provide their EDID unless they're

Re: [PATCH v1 3/7] PCI: New Primary to Sideband (P2SB) bridge support library

2021-04-01 Thread Mika Westerberg
On Thu, Apr 01, 2021 at 06:43:11PM +0300, Andy Shevchenko wrote: > On Sat, Mar 13, 2021 at 10:45:57AM +0100, Henning Schild wrote: > > Am Mon, 8 Mar 2021 14:20:16 +0200 > > schrieb Andy Shevchenko : > > ... > > > > + * pci_p2sb_bar - Get Primary to Sideband bridge (P2SB) device BAR > > > + * @pde

Re: [PATCH v5 07/10] coresight: etm4x: Add complex configuration handlers to etmv4

2021-04-01 Thread Mathieu Poirier
On Tue, Mar 16, 2021 at 06:03:57PM +, Mike Leach wrote: > Adds in handlers to allow the ETMv4 to use the complex configuration > support. Features and configurations can be loaded and selected in the > device. > > Signed-off-by: Mike Leach > --- > drivers/hwtracing/coresight/Makefile

Re: [PATCH 0/2] Don't show PF_IO_WORKER in /proc//task/

2021-04-01 Thread Stefan Metzmacher
Hi Jens, >> I know you brought this one up as part of your series, not sure I get >> why you want it owned by root and read-only? cmdline and exe, yeah those >> could be hidden, but is there really any point? >> >> Maybe I'm missing something here, if so, do clue me in! > > I looked through /proc

Re: [PATCH v2] powerpc/traps: Enhance readability for trap types

2021-04-01 Thread Segher Boessenkool
On Thu, Apr 01, 2021 at 06:01:29PM +1000, Nicholas Piggin wrote: > Excerpts from Michael Ellerman's message of April 1, 2021 12:39 pm: > > Segher Boessenkool writes: > >> On Wed, Mar 31, 2021 at 08:58:17PM +1100, Michael Ellerman wrote: > >>> So perhaps: > >>> > >>> EXC_SYSTEM_RESET > >>> EXC

Re: [GIT PULL] XArray for 5.12

2021-04-01 Thread pr-tracker-bot
The pull request you sent on Thu, 1 Apr 2021 13:50:45 +0100: > git://git.infradead.org/users/willy/xarray.git tags/xarray-5.12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e8d1895883da8048266a7da43b0a381588dca87d Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [PATCH v4 1/8] KVM: arm64: vgic-v3: Fix some error codes when setting RDIST base

2021-04-01 Thread Auger Eric
Hi Marc, On 4/1/21 12:52 PM, Marc Zyngier wrote: > Hi Eric, > > On Thu, 01 Apr 2021 09:52:31 +0100, > Eric Auger wrote: >> >> KVM_DEV_ARM_VGIC_GRP_ADDR group doc says we should return >> -EEXIST in case the base address of the redist is already set. >> We currently return -EINVAL. >> >> However

Re: [PATCH -next 1/3] mm/debug_vm_pgtable: Fix one comment mistake

2021-04-01 Thread Anshuman Khandual
On 4/1/21 7:53 AM, Shixin Liu wrote: > The branch condition should be CONFIG_TRANSPARENT_HUGEPAGE instead of > CONFIG_ARCH_HAS_PTE_DEVMAP. > > Signed-off-by: Shixin Liu > --- > mm/debug_vm_pgtable.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mm/debug_vm_pgtab

[PATCH] iommu: Remove duplicate check of pasids

2021-04-01 Thread Qi Liu
Remove duplicate check of pasids in amd_iommu_domain_enable_v2(), as it has been guaranteed in amd_iommu_init_device(). Signed-off-by: Qi Liu --- drivers/iommu/amd/iommu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iommu/amd/iommu.c b/drivers/iommu/amd/iommu.c index 107316e..7

Re: [PATCH] Revert "usb: dwc3: gadget: Prevent EP queuing while stopping transfers"

2021-04-01 Thread Wesley Cheng
On 4/1/2021 4:55 AM, Martin Kepplinger wrote: > This reverts commit 9de47c3737e0c0207beb03615b320cabe495. > > Signed-off-by: Martin Kepplinger > --- > > I more or less blindly report: > commit 9de47c ("usb: dwc3: gadget: Prevent EP queuing while stopping > transfers") results in the be

Re: [Drbd-dev] [PATCH] drbd: Fix a use after free in get_initial_state

2021-04-01 Thread Christoph Böhmwalder
On 4/1/21 1:57 PM, Lv Yunlong wrote: In get_initial_state, it calls notify_initial_state_done(skb,..) if cb->args[5]==1. I see that if genlmsg_put() failed in notify_initial_state_done(), the skb will be freed by nlmsg_free(skb). Then get_initial_state will goto out and the freed skb will be used

Re: [PATCH v3 3/4] watchdog: simatic-ipc-wdt: add new driver for Siemens Industrial PCs

2021-04-01 Thread Enrico Weigelt, metux IT consult
On 29.03.21 19:49, Henning Schild wrote: Hi, This driver adds initial support for several devices from Siemens. It is based on a platform driver introduced in an earlier commit. Where does the wdt actually come from ? Is it in the SoC ? (which SoC exactly). SoC-builtin wdt is a pretty usual

Re: [bug report] node: Add memory-side caching attributes

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 05:06:52PM +0300, Dan Carpenter wrote: > > diff --git a/drivers/base/node.c b/drivers/base/node.c > > index f449dbb2c74666..89c28952863977 100644 > > +++ b/drivers/base/node.c > > @@ -319,25 +319,24 @@ void node_add_cache(unsigned int nid, struct > > node_cache_attrs *cach

Re: [Outreachy kernel] [PATCH 2/2] staging: media: omap4iss: align arguments with open parenthesis

2021-04-01 Thread Matthew Wilcox
On Thu, Apr 01, 2021 at 04:07:39PM +0100, Beatriz Martins de Carvalho wrote: > subdev = v4l2_i2c_new_subdev_board(&iss->v4l2_dev, adapter, > - board_info->board_info, NULL); > +board_info->board_info, > NULL)

Re: [PATCH v6 4/7] pwm: pca9685: Support staggered output ON times

2021-04-01 Thread Clemens Gruber
On Thu, Apr 01, 2021 at 03:47:26PM +0200, Thierry Reding wrote: > On Thu, Apr 01, 2021 at 09:50:44AM +0200, Clemens Gruber wrote: > > Hi Thierry, > > > > On Wed, Mar 31, 2021 at 06:21:32PM +0200, Thierry Reding wrote: > > > On Wed, Mar 31, 2021 at 02:26:14PM +0200, Clemens Gruber wrote: > > > > On

Re: [EXTERNAL] [PATCH 2/2] KVM: x86: disable interrupts while pvclock_gtod_sync_lock is taken

2021-04-01 Thread David Woodhouse
On Tue, 2021-03-30 at 12:59 -0400, Paolo Bonzini wrote: > @@ -2686,13 +2688,13 @@ static int kvm_guest_time_update(struct > kvm_vcpu *v) > * If the host uses TSC clock, then passthrough TSC as stable > * to the guest. > */ > - spin_lock(&ka->pvclock_gtod_sync_lock);

Re: [PATCH v2 1/4] drm/msm: Remove unused freed llist node

2021-04-01 Thread Doug Anderson
Hi, On Wed, Mar 31, 2021 at 6:23 PM Rob Clark wrote: > > From: Rob Clark > > Unused since commit c951a9b284b9 ("drm/msm: Remove msm_gem_free_work") > > Signed-off-by: Rob Clark > Tested-by: Douglas Anderson > --- > drivers/gpu/drm/msm/msm_gem.h | 2 -- > 1 file changed, 2 deletions(-) Review

Re: [External] Re: [RFC PATCH 00/15] Use obj_cgroup APIs to charge the LRU pages

2021-04-01 Thread Muchun Song
On Wed, Mar 31, 2021 at 11:17 PM Johannes Weiner wrote: > > On Tue, Mar 30, 2021 at 03:05:42PM -0700, Roman Gushchin wrote: > > On Tue, Mar 30, 2021 at 05:30:10PM -0400, Johannes Weiner wrote: > > > On Tue, Mar 30, 2021 at 11:58:31AM -0700, Roman Gushchin wrote: > > > > On Tue, Mar 30, 2021 at 11:

[PATCH] ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power

2021-04-01 Thread Maciej Falkowski
The ams_delta_camera_power() function is unused as reports Clang compilation with omap1_defconfig on linux-next: arch/arm/mach-omap1/board-ams-delta.c:462:12: warning: unused function 'ams_delta_camera_power' [-Wunused-function] static int ams_delta_camera_power(struct device *dev, int power)

Re: Fix hibernation in FIPS mode?

2021-04-01 Thread Rafael J. Wysocki
On Thu, Apr 1, 2021 at 10:47 AM Ard Biesheuvel wrote: > > On Tue, 30 Mar 2021 at 21:56, Simo Sorce wrote: > > > > On Tue, 2021-03-30 at 21:45 +0200, Ard Biesheuvel wrote: > > > On Tue, 30 Mar 2021 at 20:05, Simo Sorce wrote: > > > > On Tue, 2021-03-30 at 16:46 +0200, Rafael J. Wysocki wrote: > >

Re: Re: [Drbd-dev] [PATCH] drbd: Fix a use after free in get_initial_state

2021-04-01 Thread lyl2019
> -原始邮件- > 发件人: "Christoph Böhmwalder" > 发送时间: 2021-04-01 21:01:20 (星期四) > 收件人: "Lv Yunlong" > 抄送: philipp.reis...@linbit.com, lars.ellenb...@linbit.com, ax...@kernel.dk, > linux-bl...@vger.kernel.org, linux-kernel@vger.kernel.org, > drbd-...@lists.linbit.com > 主题: Re: [Drbd-dev] [PA

Re: [PATCH v3 3/3] gpio: xilinx: Utilize generic bitmap_get_value and _set_value

2021-04-01 Thread Bartosz Golaszewski
On Thu, Apr 1, 2021 at 1:16 PM Syed Nayyar Waris wrote: > > On Wed, Mar 31, 2021 at 8:56 PM Srinivas Neeli wrote: > > > > Hi, > > > > > -Original Message- > > > From: Bartosz Golaszewski > > > Sent: Friday, March 26, 2021 10:58 PM > > > To: Michal Simek > > > Cc: Syed Nayyar Waris ; Sri

Re: [PATCH V4 XRT Alveo 10/20] fpga: xrt: main platform driver for management function device

2021-04-01 Thread Tom Rix
On 3/23/21 10:29 PM, Lizhi Hou wrote: > platform driver that handles IOCTLs, such as hot reset and xclbin download. > > Signed-off-by: Sonal Santan > Signed-off-by: Max Zhen > Signed-off-by: Lizhi Hou > --- > drivers/fpga/xrt/include/xmgmt-main.h | 34 ++ > drivers/fpga/xrt/mgmt/main.c

Re: [PATCH v2] powerpc/traps: Enhance readability for trap types

2021-04-01 Thread Segher Boessenkool
On Thu, Apr 01, 2021 at 10:55:58AM +0800, Xiongwei Song wrote: > Segher Boessenkool 于2021年4月1日周四 上午6:15写道: > > > On Wed, Mar 31, 2021 at 08:58:17PM +1100, Michael Ellerman wrote: > > > So perhaps: > > > > > > EXC_SYSTEM_RESET > > > EXC_MACHINE_CHECK > > > EXC_DATA_STORAGE > > > EXC_DATA_S

Re: [PATCH v7 4/8] dt-bindings: regulator: Add document for MT6359 regulator

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 19:02:03 +0800, Hsin-Hsiung Wang wrote: > add dt-binding document for MediaTek MT6359 PMIC > > Signed-off-by: Hsin-Hsiung Wang > --- > changes since v6: > - fix yaml error. > --- > .../bindings/regulator/mt6359-regulator.yaml | 385 ++ > 1 file changed, 385 i

Re: [PATCH v5 2/3] media: dt-bindings: media: i2c: Add bindings for TW9900

2021-04-01 Thread Rob Herring
On Thu, 01 Apr 2021 09:08:01 +0200, Maxime Chevallier wrote: > The Techwell TW9900 is a video decoder supporting multiple input > standards, such as PAL, NTSC and SECAM, and outputs a BT.656 video > signal. > > It's designed to be low-power, posesses some features such as a > programmable comb-fil

Re: [PATCH V2 2/8] dt-bindings: remoteproc: imx_rproc: add i.MX7ULP support

2021-04-01 Thread Rob Herring
On Tue, 30 Mar 2021 17:12:48 +0800, peng@oss.nxp.com wrote: > From: Peng Fan > > Add i.MX7ULP compatible. > > We use i.MX7ULP dual mode and in which case i.MX7ULP A7 core runs under > control of M4 core, M4 core starts by ROM and powers most serivces used > by A7 core, so A7 core has no powe

Re: [RFC PATCH v1 3/4] arm64: Detect FTRACE cases that make the stack trace unreliable

2021-04-01 Thread Mark Brown
On Tue, Mar 30, 2021 at 02:09:54PM -0500, madve...@linux.microsoft.com wrote: > + * FTRACE trampolines. > + */ > +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS > + { (unsigned long) &ftrace_graph_call, 0 }, > +#ifdef CONFIG_FUNCTION_GRAPH_TRACER > + { (unsigned long) ftrace_graph_caller

[PATCH 2/9] sched: Implement core-sched assertions

2021-04-01 Thread Peter Zijlstra
Signed-off-by: Peter Zijlstra (Intel) --- kernel/sched/core.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -268,18 +268,24 @@ static void __sched_core_flip(bool enabl cpus_read_unlock(); } -static void

Re: Fix hibernation in FIPS mode?

2021-04-01 Thread Rafael J. Wysocki
On Thu, Apr 1, 2021 at 6:22 PM Simo Sorce wrote: > > On Thu, 2021-04-01 at 18:02 +0200, Rafael J. Wysocki wrote: > > On Thu, Apr 1, 2021 at 3:54 PM Ard Biesheuvel wrote: > > > On Thu, 1 Apr 2021 at 15:38, Rafael J. Wysocki wrote: > > > > On Thu, Apr 1, 2021 at 10:47 AM Ard Biesheuvel wrote: > >

Re: [PATCH v1 0/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

2021-04-01 Thread Richard Weinberger
Sumit, - Ursprüngliche Mail - > Von: "Sumit Garg" > IIUC, this would require support for multiple trusted keys backends at > runtime but currently the trusted keys subsystem only supports a > single backend which is selected via kernel module parameter during > boot. > > So the trusted k

Re: [PATCH v6 4/7] pwm: pca9685: Support staggered output ON times

2021-04-01 Thread Thierry Reding
On Thu, Apr 01, 2021 at 09:50:44AM +0200, Clemens Gruber wrote: > Hi Thierry, > > On Wed, Mar 31, 2021 at 06:21:32PM +0200, Thierry Reding wrote: > > On Wed, Mar 31, 2021 at 02:26:14PM +0200, Clemens Gruber wrote: > > > On Mon, Mar 29, 2021 at 08:02:06PM +0200, Uwe Kleine-König wrote: > > > > On M

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Jason Gunthorpe
On Thu, Apr 01, 2021 at 02:05:00PM +0200, Jean-Philippe Brucker wrote: > On Thu, Apr 01, 2021 at 07:04:01AM +, Liu, Yi L wrote: > > > - how about AMD and ARM's vSVA support? Their PASID allocation and page > > > table > > > happens within guest. They only need to bind the guest PASID table to

Re: [PATCH v2 20/28] KVM: x86/mmu: Use atomic ops to set SPTEs in TDP MMU map

2021-04-01 Thread Ben Gardon
On Thu, Apr 1, 2021 at 3:32 AM Paolo Bonzini wrote: > > On 02/02/21 19:57, Ben Gardon wrote: > > @@ -720,7 +790,8 @@ int kvm_tdp_mmu_map(struct kvm_vcpu *vcpu, gpa_t gpa, > > u32 error_code, > >*/ > > if (is_shadow_present_pte(iter.old_spte) && > >

Re: [PATCH v2 4/6] dt-bindings: memory: tegra20: mc: Convert to schema

2021-04-01 Thread Rob Herring
On Wed, 31 Mar 2021 02:04:43 +0300, Dmitry Osipenko wrote: > Convert Tegra20 Memory Controller binding to schema. > > Signed-off-by: Dmitry Osipenko > --- > .../memory-controllers/nvidia,tegra20-mc.txt | 40 -- > .../memory-controllers/nvidia,tegra20-mc.yaml | 79 +++ >

Re: [PATCH] sched/fair: use signed long when compute energy delta in eas

2021-04-01 Thread Dietmar Eggemann
+cc: Pierre Gondois On 30/03/2021 11:45, Quentin Perret wrote: > Hi, > > On Tuesday 30 Mar 2021 at 13:21:54 (+0800), Xuewen Yan wrote: >> From: Xuewen Yan >> >> now the energy delta compute as follow: >> >> base_energy_pd = compute_energy(p, -1, pd); >> --->Traverse all CPUs in pd >>

Re: [PATCH net-next] net: phy: broadcom: Add statistics for all Gigabit PHYs

2021-04-01 Thread Andrew Lunn
On Thu, Apr 01, 2021 at 09:42:33AM -0700, Florian Fainelli wrote: > All Gigabit PHYs use the same register layout as far as fetching > statistics goes. Fast Ethernet PHYs do not all support statistics, and > the BCM54616S would require some switching between the coper and fiber > modes to fetch the

Re: [PATCH] perf inject: Fix repipe usage

2021-04-01 Thread Jiri Olsa
On Thu, Apr 01, 2021 at 01:36:05PM +0300, Adrian Hunter wrote: > Since commit 14d3d5405253 ("perf session: Try to read pipe data from file") > perf inject has started printing "PERFILE2h" when not processing pipes. > > The commit exposed perf to the possiblity that the input is not a pipe but > th

[gustavoars-linux:testing/warray-bounds] BUILD SUCCESS WITH WARNING 53c8d676f843d4a8b8a7fb528dd77e79791df28f

2021-04-01 Thread kernel test robot
`-- drivers-ide-ide-ioctls.c:warning:memcpy-offset-from-the-object-at-cmd-is-out-of-the-bounds-of-referenced-subobject-feature-with-type-unsigned-char-at-offset |-- arm-randconfig-c024-20210401 | `-- drivers-ide-ide-ioctls.c:warning:memcpy-offset-from-the-object-at-cmd-is-out-of-the-bounds-of-referen

Re: [PATCH 8/9] vfio/pci: export nvlink2 support into vendor vfio_pci drivers

2021-04-01 Thread Cornelia Huck
On Mon, 29 Mar 2021 17:10:53 -0600 Alex Williamson wrote: > On Tue, 23 Mar 2021 16:32:13 -0300 > Jason Gunthorpe wrote: > > > On Mon, Mar 22, 2021 at 10:40:16AM -0600, Alex Williamson wrote: > > > So unless you want to do some bitkeeper archaeology, we've always > > > allowed driver probes to

[PATCH] ARM: OMAP: Fix use of possibly uninitialized irq variable

2021-04-01 Thread Maciej Falkowski
The current control flow of IRQ number assignment to `irq` variable allows a request of IRQ of unspecified value, generating a warning under Clang compilation with omap1_defconfig on linux-next: arch/arm/mach-omap1/pm.c:656:11: warning: variable 'irq' is used uninitialized whenever 'if' condition

Re: [PATCH v2 2/2] KVM: nSVM: improve SYSENTER emulation on AMD

2021-04-01 Thread Vitaly Kuznetsov
Maxim Levitsky writes: > Currently to support Intel->AMD migration, if CPU vendor is GenuineIntel, > we emulate the full 64 value for MSR_IA32_SYSENTER_{EIP|ESP} > msrs, and we also emulate the sysenter/sysexit instruction in long mode. > > (Emulator does still refuse to emulate sysenter in 64 bi

Re: [PATCH v5 06/10] coresight: etm-perf: Update to activate selected configuration

2021-04-01 Thread Mathieu Poirier
On Tue, Mar 16, 2021 at 06:03:56PM +, Mike Leach wrote: > Add calls to activate the selected configuration as perf starts > and stops the tracing session. > > Signed-off-by: Mike Leach > Reviewed-by: Suzuki K Poulose Reviewed-by: Mathieu Poirier > --- > drivers/hwtracing/coresight/coresi

RE: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-04-01 Thread Liu, Yi L
> From: Jason Gunthorpe > Sent: Thursday, April 1, 2021 9:16 PM > > On Thu, Apr 01, 2021 at 01:10:48PM +, Liu, Yi L wrote: > > > From: Jason Gunthorpe > > > Sent: Thursday, April 1, 2021 7:47 PM > > [...] > > > I'm worried Intel views the only use of PASID in a guest is with > > > ENQCMD, bu

[syzbot] WARNING in bpf_test_run

2021-04-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:36e79851 libbpf: Preserve empty DATASEC BTFs during static.. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=1569bb06d0 kernel config: https://syzkaller.appspot.com/x/.config?x=7eff0f22b8563a5f das

[PATCH] arm64: perf: Remove redundant initialization in perf_event.c

2021-04-01 Thread Qi Liu
The initialization of value in function armv8pmu_read_hw_counter() and armv8pmu_read_counter() seem redundant, as they are soon updated. So, We can remove them. Signed-off-by: Qi Liu --- arch/arm64/kernel/perf_event.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/

Re: [PATCH 30/32] Documentation: net: dsa: update configuration.rst reference

2021-04-01 Thread Andrew Lunn
On Thu, Apr 01, 2021 at 02:17:50PM +0200, Mauro Carvalho Chehab wrote: > The file name: Documentation/configuration.txt > should be, instead: Documentation/networking/dsa/configuration.rst. > > Update its cross-reference accordingly. > > Fixes: 75b8988dfe83 ("cifsd: add server handler for central

Re: [PATCH v5 0/4] man2: udpate mm/userfaultfd manpages to latest

2021-04-01 Thread Alejandro Colomar (man-pages)
Hi Peter, On 3/30/21 12:18 AM, Peter Xu wrote: v5: - add r-bs for Mike R. - Fix spelling mistake "diable" [Mike R.] - s/Starting from/Since/ for patch 2 (also replaced two existing ones in the same file) [Alex] - s/un-write-protect/write-unprotect/ [Alex] - s/The process was interrupted and n

Re: [v2 PATCH] mm: gup: remove FOLL_SPLIT

2021-04-01 Thread Jason Gunthorpe
On Tue, Mar 30, 2021 at 01:38:59PM -0700, Yang Shi wrote: > Since commit 5a52c9df62b4 ("uprobe: use FOLL_SPLIT_PMD instead of FOLL_SPLIT") > and commit ba925fa35057 ("s390/gmap: improve THP splitting") FOLL_SPLIT > has not been used anymore. Remove the dead code. > > Reviewed-by: John Hubbard >

[PATCH v2 7/9] KVM: SVM: split svm_handle_invalid_exit

2021-04-01 Thread Maxim Levitsky
Split the check for having a vmexit handler to svm_check_exit_valid, and make svm_handle_invalid_exit only handle a vmexit that is already not valid. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/svm/svm.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arc

[PATCH 12/30] media: atmel: atmel-isc: add RLP to register offsets

2021-04-01 Thread Eugen Hristev
Add rlp to the reg offsets struct. This will allow different products to have a different reg offset for this particular module. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c| 4 ++-- drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++ drivers/media/plat

Re: [External] Re: [PATCH v2] writeback: fix obtain a reference to a freeing memcg css

2021-04-01 Thread Michal Hocko
On Thu 01-04-21 21:59:13, Muchun Song wrote: > On Thu, Apr 1, 2021 at 6:26 PM Michal Hocko wrote: [...] > > Even if the css ref count is not really necessary it shouldn't cause any > > harm and it makes the code easier to understand. At least a comment > > explaining why that is not necessary woul

Re: [PATCH -next] docs: arm64: Fix a grammar error

2021-04-01 Thread Catalin Marinas
On Tue, 30 Mar 2021 04:58:17 -0400, He Ying wrote: > depending -> depending on Applied to arm64 (for-next/misc), thanks! [1/1] docs: arm64: Fix a grammar error https://git.kernel.org/arm64/c/68f638a432df -- Catalin

[PATCH v17 12/17] RISC-V: KVM: Add timer functionality

2021-04-01 Thread Anup Patel
From: Atish Patra The RISC-V hypervisor specification doesn't have any virtual timer feature. Due to this, the guest VCPU timer will be programmed via SBI calls. The host will use a separate hrtimer event for each guest VCPU to provide timer functionality. We inject a virtual timer interrupt to

[PATCH v2 3/6] clk: at91: sama7g5: add securam's peripheral clock

2021-04-01 Thread Claudiu Beznea
Add SECURAM's peripheral clock. Signed-off-by: Claudiu Beznea Acked-by: Nicolas Ferre --- drivers/clk/at91/sama7g5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index 9e1ec48c4474..9c87b50abbae 100644 --- a/drivers/clk/at91/sama7g5

Re: [PATCH 1/2] soundwire: add macro to selectively change error levels

2021-04-01 Thread Greg KH
On Thu, Apr 01, 2021 at 09:30:27AM -0500, Pierre-Louis Bossart wrote: > > > On 4/1/21 2:24 AM, Vinod Koul wrote: > > On 31-03-21, 09:13, Bard Liao wrote: > > > From: Pierre-Louis Bossart > > > > > > We sometimes discard -ENODATA when reporting errors and lose all > > > traces of issues in the c

[PATCH v17 01/17] RISC-V: Add hypervisor extension related CSR defines

2021-04-01 Thread Anup Patel
This patch extends asm/csr.h by adding RISC-V hypervisor extension related defines. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- arch/riscv/include/asm/csr.h | 89 1 file changed, 89 insertion

[PATCH v1 0/2] Tow minor changes of eMMC sanitize

2021-04-01 Thread Bean Huo
From: Bean Huo Bean Huo (2): mmc: core: Let sanitize timeout readable/writable via sysfs mmc: core: Let sanitize not retry in case of timeout/failure drivers/mmc/core/block.c | 13 --- drivers/mmc/core/mmc.c | 80 -- drivers/mmc/core/mmc_ops.c

[GIT PULL] ARM: at91: defconfig for 5.13

2021-04-01 Thread nicolas.ferre
From: Nicolas Ferre Arnd, Olof, Here are the defconfig changes for 5.13 which is bigger than usual for aligning with options that we use frequently and some changes which will be beneficial for CI. There is an update with savedefconfig included, tell me if you prefer the PR without this first pa

[PATCH 17/30] media: atmel: atmel-isc: add register description for additional modules

2021-04-01 Thread Eugen Hristev
Add register description for additional pipeline modules: the Defective Pixel Correction (DPC) and the Vertical and Horizontal Scaler(VHXS) Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-regs.h | 67 +++ 1 file changed, 67 insertions(+) diff --git a/driv

[PATCH 01/30] media: atmel: atmel-isc: specialize gamma table into product specific

2021-04-01 Thread Eugen Hristev
Separate the gamma table from the isc base file into the specific sama5d2 product file. Add a pointer to the gamma table and entries count inside the platform driver specific struct. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c | 47 ++- drivers/

Re: [PATCH v4 7/8] KVM: arm64: vgic-v3: Expose GICR_TYPER.Last for userspace

2021-04-01 Thread Auger Eric
Hi Marc, On 4/1/21 3:42 PM, Marc Zyngier wrote: > Hi Eric, > > On Thu, 01 Apr 2021 09:52:37 +0100, > Eric Auger wrote: >> >> Commit 23bde34771f1 ("KVM: arm64: vgic-v3: Drop the >> reporting of GICR_TYPER.Last for userspace") temporarily fixed >> a bug identified when attempting to access the GIC

[PATCH 13/30] media: atmel: atmel-isc: add HIS to register offsets

2021-04-01 Thread Eugen Hristev
Add his to the reg offsets struct. This will allow different products to have a different reg offset for this particular module. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c| 11 +++ drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++ drivers/m

[GIT PULL] ARM: at91: soc for 5.13

2021-04-01 Thread nicolas.ferre
From: Nicolas Ferre Arnd, Olof, One single patch for now on our SoC branch. Stakeholders agreed to make it travel with at91 -> arm-soc. Thanks, best regards, Nicolas The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) ar

[PATCH 18/30] media: atmel: atmel-isc: extend pipeline with extra modules

2021-04-01 Thread Eugen Hristev
Newer ISC pipelines have the additional modules of Defective Pixel Correction -> DPC itself, Defective Pixel Correction -> Green Disparity Correction (DPC_GDC) Defective Pixel Correction -> Black Level Correction (DPC_BLC) Vertical and Horizontal Scaler -> VHXS Some products have this full pipelin

[PATCH 08/30] media: atmel: atmel-isc: create register offsets struct

2021-04-01 Thread Eugen Hristev
Create a struct that holds register offsets that are product specific. Add initially the CSC register. This allows each product that contains a variant of the ISC to add their own register offset. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c | 2 +- drivers/med

[PATCH 20/30] media: atmel: atmel-isc: create product specific v4l2 controls config

2021-04-01 Thread Eugen Hristev
Create product specific callback for initializing v4l2 controls. Call this from v4l2 controls init function. Signed-off-by: Eugen Hristev --- drivers/media/platform/atmel/atmel-isc-base.c| 5 +++-- drivers/media/platform/atmel/atmel-isc.h | 5 + drivers/media/platform/atmel/atm

[PATCH] Revert "usb: dwc3: gadget: Prevent EP queuing while stopping transfers"

2021-04-01 Thread Martin Kepplinger
This reverts commit 9de47c3737e0c0207beb03615b320cabe495. Signed-off-by: Martin Kepplinger --- I more or less blindly report: commit 9de47c ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers") results in the below error every time I connect the type-c connector to the dwc3,

[PATCH v17 16/17] RISC-V: KVM: Document RISC-V specific parts of KVM API

2021-04-01 Thread Anup Patel
Document RISC-V specific parts of the KVM API, such as: - The interrupt numbers passed to the KVM_INTERRUPT ioctl. - The states supported by the KVM_{GET,SET}_MP_STATE ioctls. - The registers supported by the KVM_{GET,SET}_ONE_REG interface and the encoding of those register ids. - The exit

<    3   4   5   6   7   8   9   10   11   12   >