RE: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence for wdog operations

2020-07-29 Thread Anson Huang
Hi, Guenter > Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence > for wdog operations > > On 7/28/20 7:20 PM, Anson Huang wrote: > > According to reference manual, the i.MX7ULP WDOG's operations should > > follow below sequence: > > > > 1. disable global interrupts; >

[PATCH V2 0/7] Add PCIe support for IPQ8074

2020-07-29 Thread Sivaprakash Murugesan
IPQ8074 has two PCIe ports both are based on synopsis designware PCIe controller. while it was assumed that PCIe support for IPQ8074 was already available, it was not functional until now. This patch series adds support for PCIe ports on IPQ8074. First PCIe port is of Gen2 synposis version is

[PATCH V2 1/7] dt-bindings: PCI: qcom: Add ipq8074 Gen3 PCIe compatible

2020-07-29 Thread Sivaprakash Murugesan
ipq8074 has two PCIe ports while the support for Gen2 PCIe port is already available add the support for Gen3 binding. Co-developed-by: Selvam Sathappan Periakaruppan Signed-off-by: Selvam Sathappan Periakaruppan Reviewed-by: Rob Herring Signed-off-by: Sivaprakash Murugesan ---

Re: Re: [PATCH v18 02/14] mm: Introduce Data Access MONitor (DAMON)

2020-07-29 Thread Shakeel Butt
On Sat, Jul 18, 2020 at 6:31 AM SeongJae Park wrote: > > On Fri, 17 Jul 2020 19:47:50 -0700 Shakeel Butt wrote: > > > On Mon, Jul 13, 2020 at 1:43 AM SeongJae Park wrote: > > > > > > From: SeongJae Park > > > > > > DAMON is a data access monitoring framework subsystem for the Linux > > >

Re: [PATCH 2/5] seqlock: Fold seqcount_LOCKNAME_t definition

2020-07-29 Thread peterz
On Wed, Jul 29, 2020 at 03:55:07PM +0100, Matthew Wilcox wrote: > On Wed, Jul 29, 2020 at 03:52:51PM +0200, Peter Zijlstra wrote: > > Manual repetition is boring and error prone. > > Yes, but generated functions are hard to grep for, and I'm pretty sure > that kernel-doc doesn't know how to

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-07-29 Thread Alan Stern
On Wed, Jul 29, 2020 at 07:53:52AM -0700, James Bottomley wrote: > On Wed, 2020-07-29 at 07:46 -0700, James Bottomley wrote: > > On Wed, 2020-07-29 at 10:32 -0400, Alan Stern wrote: > > > On Wed, Jul 29, 2020 at 04:12:22PM +0200, Martin Kepplinger wrote: > > > > On 28.07.20 22:02, Alan Stern

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-07-29 Thread Martin Kepplinger
On 29.07.20 16:53, James Bottomley wrote: > On Wed, 2020-07-29 at 07:46 -0700, James Bottomley wrote: >> On Wed, 2020-07-29 at 10:32 -0400, Alan Stern wrote: >>> On Wed, Jul 29, 2020 at 04:12:22PM +0200, Martin Kepplinger wrote: On 28.07.20 22:02, Alan Stern wrote: > On Tue, Jul 28, 2020

[PATCH 2/3] clk: meson: axg-audio: separate axg and g12a regmap tables

2020-07-29 Thread Jerome Brunet
There are more differences than what we initially thought. Let's keeps things clear and separate the axg and g12a regmap tables of the audio clock controller. Signed-off-by: Jerome Brunet --- drivers/clk/meson/axg-audio.c | 135 -- 1 file changed, 127

[PATCH 1/3] clk: meson: add sclk-ws driver

2020-07-29 Thread Jerome Brunet
This is yet another simple but odd driver for the audio block of the g12a and sm1 SoC families. For TDMOUT's sclk to be properly inverted, bit 29 of AUDIO_CLK_TDMOUT_x_CTRL should be the inverse of bit 28. IOW bit28 == !bit29 at all times This setting is automatically applied on axg and the

[PATCH 3/3] clk: meson: axg-audio: fix g12a tdmout sclk inverter

2020-07-29 Thread Jerome Brunet
Fix the tdmout inverter of the g12a and following SoC families. This inverter is special and needs two bits to be the inverse of each other for the inverter to operate properly. Fixes: 075001385c66 ("clk: meson: axg-audio: add g12a support") Signed-off-by: Jerome Brunet ---

[PATCH 0/3] clk: meson: axg-audio: fix tdmout sclk inverter

2020-07-29 Thread Jerome Brunet
The patchset fixes a problem with TDMOUT sclk inverter found on the g12a and following SoCs. On the the axg, a single bit was enough to drive the inverter. On the g12a a bit was added to, somehow, change how the clock is sampled. For the inverter to behave as intended, the new bit should be the

Re: [PATCH 3/4] KVM: SVM: Add GHCB Accessor functions

2020-07-29 Thread Sean Christopherson
On Wed, Jul 29, 2020 at 03:22:33PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Building a correct GHCB for the hypervisor requires setting valid bits > in the GHCB. Simplify that process by providing accessor functions to > set values and to update the valid bitmap. > > Signed-off-by:

[PATCH 2/4] ASoC: meson: axg-tdmin: fix g12a skew

2020-07-29 Thread Jerome Brunet
After carefully checking the result provided by the TDMIN on the g12a and sm1 SoC families, the TDMIN skew offset appears to be 3 instead of 2 on the axg. Fixes: f01bc67f58fd ("ASoC: meson: axg-tdm-formatter: rework quirks settings") Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdmin.c

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-07-29 Thread James Bottomley
On Wed, 2020-07-29 at 17:40 +0200, Martin Kepplinger wrote: > On 29.07.20 16:53, James Bottomley wrote: > > On Wed, 2020-07-29 at 07:46 -0700, James Bottomley wrote: > > > On Wed, 2020-07-29 at 10:32 -0400, Alan Stern wrote: [...] > > > > This error report comes from the SCSI layer, not the block

[PATCH 4/4] ASoC: meson: cards: remove DT_PREFIX for standard daifmt properties

2020-07-29 Thread Jerome Brunet
Standard dai format property don't need the "amlogic," prefix. There nothing amlogic specific about them. Just remove it. Fixes: 435857e015dc ("ASoC: meson: align axg card driver with DT bindings documentation") Signed-off-by: Jerome Brunet --- sound/soc/meson/meson-card-utils.c | 2 +- 1 file

[PATCH 1/4] ASoC: meson: axg-tdm-interface: fix link fmt setup

2020-07-29 Thread Jerome Brunet
The .set_fmt() callback of the axg tdm interface incorrectly test the content of SND_SOC_DAIFMT_MASTER_MASK as if it was a bitfield, which it is not. Implement the test correctly. Fixes: d60e4f1e4be5 ("ASoC: meson: add tdm interface driver") Signed-off-by: Jerome Brunet ---

[PATCH 3/4] ASoC: meson: axg-tdm-formatters: fix sclk inversion

2020-07-29 Thread Jerome Brunet
After carefully checking, it appears that both tdmout and tdmin require the rising edge of the sclk they get to be synchronized with the frame sync event (which should be a rising edge of lrclk). TDMIN was improperly set before this patch. Remove the sclk_invert quirk which is no longer needed

[PATCH 0/4] ASoC: meson: tdm fixes

2020-07-29 Thread Jerome Brunet
This patcheset is collection of fixes for the TDM input and output the axg audio architecture. Its fixes: - slave mode format setting - g12 and sm1 skew offset - tdm clock inversion - standard daifmt props names which don't require a specific prefix Jerome Brunet (4): ASoC: meson:

[PATCH] ASoC: core: restore dpcm flags semantics

2020-07-29 Thread Jerome Brunet
commit b73287f0b0745 ('ASoC: soc-pcm: dpcm: fix playback/capture checks') changed dpcm_playback and dpcm_capture semantic by throwing an error if these flags are not aligned with DAIs capabilities on the link. The former semantic did not force the flags and DAI caps to be aligned. The flag

Re: [PATCH 0/2] Fix st7703 panel initialization failures

2020-07-29 Thread Guido Günther
Hi, On Sat, Jul 18, 2020 at 07:42:15PM +0200, Ondřej Jirman wrote: > Hello, > > On Sat, Jul 18, 2020 at 07:31:24PM +0200, Guido Günther wrote: > > Hi, > > On Thu, Jul 16, 2020 at 04:32:09PM +0200, Ondřej Jirman wrote: > > > Hi Guido, > > > > > > On Thu, Jul 16, 2020 at 04:08:43PM +0200, Guido

Re: [PATCH V3 1/3] reset: imx7: Support module build

2020-07-29 Thread Philipp Zabel
On Tue, 2020-07-28 at 11:53 +0100, Lorenzo Pieralisi wrote: > On Fri, Jul 24, 2020 at 10:03:11AM +0200, Philipp Zabel wrote: > > On Mon, 2020-07-20 at 22:21 +0800, Anson Huang wrote: > > > Use module_platform_driver(), add module device table, author, > > > description and license to support

Re: [PATCH V3 3/3] pci: imx: Select RESET_IMX7 by default

2020-07-29 Thread Philipp Zabel
On Wed, 2020-07-29 at 09:26 -0600, Rob Herring wrote: > On Mon, Jul 20, 2020 at 8:26 AM Anson Huang wrote: > > i.MX7 reset driver now supports module build and it is no longer > > built in by default, so i.MX PCI driver needs to select it explicitly > > due to it is NOT supporting loadable module

Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence for wdog operations

2020-07-29 Thread Guenter Roeck
On 7/29/20 8:32 AM, Anson Huang wrote: > Hi, Guenter > > >> Subject: Re: [PATCH V2 1/2] watchdog: imx7ulp: Strictly follow the sequence >> for wdog operations >> >> On 7/28/20 7:20 PM, Anson Huang wrote: >>> According to reference manual, the i.MX7ULP WDOG's operations should >>> follow below

[PATCH -next] irqchip/imx-intmux: Fix irqdata regs save in imx_intmux_runtime_suspend()

2020-07-29 Thread Wei Yongjun
Gcc report warning as follows: drivers/irqchip/irq-imx-intmux.c:316:29: warning: variable 'irqchip_data' set but not used [-Wunused-but-set-variable] 316 | struct intmux_irqchip_data irqchip_data; | ^~~~ irqdata regs is stored to this variable on the

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-07-29 Thread James Bottomley
On Wed, 2020-07-29 at 11:40 -0400, Alan Stern wrote: > On Wed, Jul 29, 2020 at 07:53:52AM -0700, James Bottomley wrote: > > On Wed, 2020-07-29 at 07:46 -0700, James Bottomley wrote: [...] > > > That sense code means "NOT READY TO READY CHANGE, MEDIUM MAY HAVE > > > CHANGED" so it sounds like it

Re: [PATCH V7 1/6] clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31 bits

2020-07-29 Thread Randy Dunlap
On 7/29/20 7:48 AM, Anson Huang wrote: > Use readl_relaxed() instead of __raw_readl(), and use BIT(x) > instead of (1 << X) to fix below build warning reported by kernel > test robot: > > drivers/clk/imx/clk-imx6sl.c:149:49: warning: Shifting signed 32-bit > value by 31 bits is undefined

[PATCH -next] habanalabs: make some functions static

2020-07-29 Thread Wei Yongjun
The sparse tool complains as follows: drivers/misc/habanalabs/gaudi/gaudi.c:6275:5: warning: symbol 'gaudi_ctx_init' was not declared. Should it be static? drivers/misc/habanalabs/goya/goya.c:5228:5: warning: symbol 'goya_ctx_init' was not declared. Should it be static? Those functions are not

Re: [PATCH v4 29/78] drm/vc4: crtc: Add a delay after disabling the PixelValve output

2020-07-29 Thread Stefan Wahren
Hi Maxime, Am 29.07.20 um 16:42 schrieb Maxime Ripard: > Hi, > > On Wed, Jul 29, 2020 at 03:09:21PM +0100, Dave Stevenson wrote: >> On Wed, 8 Jul 2020 at 18:43, Maxime Ripard wrote: >>> In order to avoid pixels getting stuck in the (unflushable) FIFO between >>> the HVS and the PV, we need to

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-07-29 Thread Martin Kepplinger
On 29.07.20 17:40, Alan Stern wrote: > On Wed, Jul 29, 2020 at 07:53:52AM -0700, James Bottomley wrote: >> On Wed, 2020-07-29 at 07:46 -0700, James Bottomley wrote: >>> On Wed, 2020-07-29 at 10:32 -0400, Alan Stern wrote: On Wed, Jul 29, 2020 at 04:12:22PM +0200, Martin Kepplinger wrote:

Re: [PATCH v5 2/4] power: supply: bq27xxx_battery: Add the BQ27z561 Battery monitor

2020-07-29 Thread Dan Murphy
Hello On 7/29/20 7:06 AM, Dan Murphy wrote: Add the Texas Instruments BQ27z561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register has differing bits to determine if the battery is full, discharging or dead.

Re: [PATCH] ASoC: core: restore dpcm flags semantics

2020-07-29 Thread Pierre-Louis Bossart
On 7/29/20 10:46 AM, Jerome Brunet wrote: commit b73287f0b0745 ('ASoC: soc-pcm: dpcm: fix playback/capture checks') changed dpcm_playback and dpcm_capture semantic by throwing an error if these flags are not aligned with DAIs capabilities on the link. The former semantic did not force the

Should perf version match kernel version?

2020-07-29 Thread Vitaly Chikunov
Hi, It seems that most distros try to have perf version to match with running kernel version. Is is requirement? Would it be better to have single perf from kernel mainline to work with any (older) kernel version? We have different kernel versions in ALT Linux (stable for 4.19, 5.4, and 5.7) and

Re: Should perf version match kernel version?

2020-07-29 Thread peterz
On Wed, Jul 29, 2020 at 06:56:47PM +0300, Vitaly Chikunov wrote: > Hi, > > It seems that most distros try to have perf version to match with > running kernel version. Is is requirement? Would it be better to have > single perf from kernel mainline to work with any (older) kernel > version? > >

Re: [PATCH -next] habanalabs: make some functions static

2020-07-29 Thread Greg Kroah-Hartman
On Wed, Jul 29, 2020 at 11:59:25PM +0800, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/misc/habanalabs/gaudi/gaudi.c:6275:5: warning: > symbol 'gaudi_ctx_init' was not declared. Should it be static? > drivers/misc/habanalabs/goya/goya.c:5228:5: warning: > symbol

Re: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift operation

2020-07-29 Thread Greg Kroah-Hartman
On Tue, Jul 21, 2020 at 11:12:29PM +0530, B K Karthik wrote: > prevent a bad shift operation by verifying that > the argument to fls is non zero. > > Reported-by: "Vabhav Sharma (OSS)" > Signed-off-by: B K Karthik > --- > v1 -> v2: > added Reported-by tag > >

Re: linux-next: Tree for Jul 29 (drivers/crypto/sa2ul.c)

2020-07-29 Thread Randy Dunlap
On 7/29/20 5:22 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20200728: > on i386: ld: drivers/crypto/sa2ul.o: in function `sa_sha_digest': sa2ul.c:(.text+0x1faf): undefined reference to `sha512_zero_message_hash' sa2ul.c uses sha512_zero_message_hash, sha1_zero_message_hash, and

Re: [PATCH 4/7] gpio: dwapb: Convert driver to using the GPIO-lib-based IRQ-chip

2020-07-29 Thread Serge Semin
On Wed, Jul 29, 2020 at 06:10:24PM +0300, Andy Shevchenko wrote: > On Wed, Jul 29, 2020 at 3:58 PM Serge Semin > wrote: > > On Mon, Jul 27, 2020 at 12:22:28AM +0200, Linus Walleij wrote: > > ... > > > Sorry for a delay with a response to this issue. I had to give it a more > > thorough > >

RE: [PATCH v3 02/11] KVM: SVM: Change intercept_cr to generic intercepts

2020-07-29 Thread Babu Moger
> -Original Message- > From: Jim Mattson > Sent: Tuesday, July 28, 2020 6:56 PM > To: Moger, Babu > Cc: Paolo Bonzini ; Vitaly Kuznetsov > ; Wanpeng Li ; Sean > Christopherson ; kvm list > ; Joerg Roedel ; the arch/x86 > maintainers ; LKML ; Ingo > Molnar ; Borislav Petkov ; H . Peter

Re: [PATCH] hv_utils: Add validation for untrusted Hyper-V values

2020-07-29 Thread Andres Beltran
On Tue, Jul 28, 2020 at 5:04 PM Stephen Hemminger wrote: > > You may want to use one of the macros that prints this once only. > This is a "should never happen" type error, so if something goes wrong it > might happens so much that journal/syslog would get overloaded. Certainly, printing error

[PATCH 0/7] ARM: samsung: Cleanup of various S3C bits

2020-07-29 Thread Krzysztof Kozlowski
Hi, I tried to cleanup few warnings in S3C machine code which lead to finding some bigger issues. Patches touch mostly the ARM Samsung machine code except patch #1 (clk) and #5 (watchdog). They are independent from each other, except some conflicting lines. The last three patches would welcome

[PATCH 3/7] ARM: s3c: Remove plat-samsung/.../samsung-time.h

2020-07-29 Thread Krzysztof Kozlowski
Remove the arch/arm/plat-samsung/include/plat/samsung-time.h header and move the contents to common.h headers in mach-s3c24xx and mach-s3c64xx. The definition of declared functions is already in common.c in mach directories, so it is logically to put declaration next to them. This is also one

[PATCH 4/7] ARM: samsung: Fix language typo

2020-07-29 Thread Krzysztof Kozlowski
Fix Complie -> Compile Signed-off-by: Krzysztof Kozlowski --- arch/arm/plat-samsung/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 301e572651c0..43a8b2bd16ff 100644 ---

[PATCH 1/7] clk: samsung: s3c64xx: Declare s3c64xx_clk_init() in shared header

2020-07-29 Thread Krzysztof Kozlowski
The s3c64xx_clk_init() is defined and used by clk-s3c64xx driver and also used in mach-s3c64xx machine code. Move the declaration to a header to fix W=1 build warning: drivers/clk/samsung/clk-s3c64xx.c:391:13: warning: no previous prototype for 's3c64xx_clk_init' [-Wmissing-prototypes]

[PATCH 2/7] ARM: s3c64xx: Include header to fix -Wmissing-prototypes

2020-07-29 Thread Krzysztof Kozlowski
Include the spi-s3c64xx.h header to fix W=1 build warning: arch/arm/mach-s3c64xx/setup-spi.c:11:5: warning: no previous prototype for 's3c64xx_spi0_cfg_gpio' [-Wmissing-prototypes] 11 | int s3c64xx_spi0_cfg_gpio(void) Signed-off-by: Krzysztof Kozlowski ---

[PATCH 5/7] ARM: samsung: Kill useless HAVE_S3C2410_WATCHDOG

2020-07-29 Thread Krzysztof Kozlowski
A separate Kconfig option HAVE_S3C2410_WATCHDOG for Samsung SoCs does not have sense, because: 1. All ARMv7 and ARMv8 Samsung SoCs have watchdog, 2. All architecture Kconfigs were selecting it (if WATCHDOG framework is chosen), 3. HAVE_S3C2410_WATCHDOG is doing nothing except being a dependency

[PATCH 7/7] ARM: s3c24xx: Fix missing system reset

2020-07-29 Thread Krzysztof Kozlowski
Commit f6361c6b3880 ("ARM: S3C24XX: remove separate restart code") removed usage of the watchdog reset platform code in favor of the Samsung SoC watchdog driver. However the latter was not selected thus S3C24xx platforms lost reset abilities. Cc: Fixes: f6361c6b3880 ("ARM: S3C24XX: remove

[PATCH 6/7] ARM: s3c64xx: Switch to generic watchdog driver reset

2020-07-29 Thread Krzysztof Kozlowski
Similarly to commit f6361c6b3880 ("ARM: S3C24XX: remove separate restart code"), the platform watchdog reset code can be removed in favor of a generic watchdog driver which already handles reset. This allows removal of a bunch of machine code and fixes also W=1 compile warnings:

Re: [PATCH 2/7] modules: mark find_symbol static

2020-07-29 Thread Jessica Yu
+++ Christoph Hellwig [29/07/20 08:27 +0200]: find_symbol is only used in module.c. Signed-off-by: Christoph Hellwig CCing the livepatching ML, as this may or may not impact its users. AFAIK, the out-of-tree kpatch module had used find_symbol() in the past, I am not sure what its current

Re: mmotm 2020-07-27-18-18 uploaded (mm/page_alloc.c)

2020-07-29 Thread David Hildenbrand
On 29.07.20 16:38, David Hildenbrand wrote: > On 29.07.20 16:18, Michael S. Tsirkin wrote: >> On Tue, Jul 28, 2020 at 03:31:43PM -0700, Andrew Morton wrote: >>> On Wed, 29 Jul 2020 08:20:53 +1000 Stephen Rothwell >>> wrote: >>> Hi Andrew, On Tue, 28 Jul 2020 14:55:53 -0700 Andrew

RE: [PATCH v3 03/11] KVM: SVM: Change intercept_dr to generic intercepts

2020-07-29 Thread Babu Moger
> -Original Message- > From: Jim Mattson > Sent: Tuesday, July 28, 2020 6:59 PM > To: Moger, Babu > Cc: Paolo Bonzini ; Vitaly Kuznetsov > ; Wanpeng Li ; Sean > Christopherson ; kvm list > ; Joerg Roedel ; the arch/x86 > maintainers ; LKML ; Ingo > Molnar ; Borislav Petkov ; H . Peter

Re: [RESEND PATCH v1 1/2] thermal: qcom-spmi-temp-alarm: add support for GEN2 rev 1 PMIC peripherals

2020-07-29 Thread Guru Das Srinagesh
On Tue, Jul 28, 2020 at 06:08:28PM -0700, Stephen Boyd wrote: > Quoting Guru Das Srinagesh (2020-07-24 10:46:10) > > diff --git a/drivers/thermal/qcom/qcom-spmi-temp-alarm.c > > b/drivers/thermal/qcom/qcom-spmi-temp-alarm.c > > index bf7bae4..05a9601 100644 > > ---

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-07-29 Thread Alan Stern
On Wed, Jul 29, 2020 at 08:49:34AM -0700, James Bottomley wrote: > On Wed, 2020-07-29 at 11:40 -0400, Alan Stern wrote: > > On Wed, Jul 29, 2020 at 07:53:52AM -0700, James Bottomley wrote: > > > On Wed, 2020-07-29 at 07:46 -0700, James Bottomley wrote: > [...] > > > > That sense code means "NOT

Re: [PATCH 2/5] seqlock: Fold seqcount_LOCKNAME_t definition

2020-07-29 Thread peterz
On Wed, Jul 29, 2020 at 05:33:41PM +0200, pet...@infradead.org wrote: > On Wed, Jul 29, 2020 at 03:55:07PM +0100, Matthew Wilcox wrote: > > On Wed, Jul 29, 2020 at 03:52:51PM +0200, Peter Zijlstra wrote: > > > Manual repetition is boring and error prone. > > > > Yes, but generated functions are

Re: [f2fs-dev] [PATCH] f2fs: fix deadlock between quota writes and checkpoint

2020-07-29 Thread Jaegeuk Kim
On 07/29, Chao Yu wrote: > On 2020-7-29 15:02, Jaegeuk Kim wrote: > > f2fs_write_data_pages(quota_mapping) > > __f2fs_write_data_pages f2fs_write_checkpoint > > * blk_start_plug(); > > * add bio in write_io[DATA] > > - block_operations > >

Re: [RESEND PATCH v1 2/2] thermal: qcom-spmi-temp-alarm: Don't suppress negative temp

2020-07-29 Thread Guru Das Srinagesh
On Tue, Jul 28, 2020 at 06:09:12PM -0700, Stephen Boyd wrote: > Quoting Guru Das Srinagesh (2020-07-24 10:46:11) > > From: Veera Vegivada > > > > Currently driver is suppressing the negative temperature > > readings from the vadc. Consumers of the thermal zones need > > to read the negative

Re: [PATCH 2/3] ARM: l2c: update prefetch bits in L2X0_AUX_CTRL using DT value

2020-07-29 Thread Guillaume Tucker
On 29/07/2020 15:18, Russell King - ARM Linux admin wrote: > On Wed, Jul 29, 2020 at 02:47:32PM +0100, Guillaume Tucker wrote: >> The L310_PREFETCH_CTRL register bits 28 and 29 to enable data and >> instruction prefetch respectively can also be accessed via the >> L2X0_AUX_CTRL register. They

RE: [PATCH] hv_utils: Add validation for untrusted Hyper-V values

2020-07-29 Thread Stephen Hemminger
Ok at least use the ratelimit form of kernel logging. Netdev_err_ratelimited... -Original Message- From: Andres Beltran Sent: Wednesday, July 29, 2020 9:10 AM To: Stephen Hemminger Cc: KY Srinivasan ; Haiyang Zhang ; Wei Liu ; linux-hyp...@vger.kernel.org;

Re: [PATCH] arm64: dts: sun50i-pinephone: add led flash

2020-07-29 Thread Luca Weiss
Hi Maxime, On Mittwoch, 29. Juli 2020 14:34:44 CEST Maxime Ripard wrote: > Hi! > > On Sat, Jul 25, 2020 at 01:08:12PM +0200, Luca Weiss wrote: > > All revisions of the PinePhone have an SGM3140 LED flash. The gpios were > > swapped on v1.0 of the board but this was fixed in later revisions. > >

Re: [PATCH 2/7] modules: mark find_symbol static

2020-07-29 Thread Greg Kroah-Hartman
On Wed, Jul 29, 2020 at 06:13:18PM +0200, Jessica Yu wrote: > +++ Christoph Hellwig [29/07/20 08:27 +0200]: > > find_symbol is only used in module.c. > > > > Signed-off-by: Christoph Hellwig > > CCing the livepatching ML, as this may or may not impact its users. > > AFAIK, the out-of-tree

[tip: locking/core] lockdep: Refactor IRQ trace events fields into struct

2020-07-29 Thread tip-bot2 for Marco Elver
The following commit has been merged into the locking/core branch of tip: Commit-ID: 9cd8b723f823d007bd70a3252e681fde07143f6d Gitweb: https://git.kernel.org/tip/9cd8b723f823d007bd70a3252e681fde07143f6d Author:Marco Elver AuthorDate:Wed, 29 Jul 2020 13:09:15 +02:00

Re: Should perf version match kernel version?

2020-07-29 Thread Arnaldo Carvalho de Melo
On July 29, 2020 1:02:20 PM GMT-03:00, pet...@infradead.org wrote: >On Wed, Jul 29, 2020 at 06:56:47PM +0300, Vitaly Chikunov wrote: >> Hi, >> >> It seems that most distros try to have perf version to match with >> running kernel version. Is is requirement? Would it be better to have >> single

[tip: locking/core] kcsan: Improve IRQ state trace reporting

2020-07-29 Thread tip-bot2 for Marco Elver
The following commit has been merged into the locking/core branch of tip: Commit-ID: 47490fdd411675707624fdfbf7bcfcd5f6a5e706 Gitweb: https://git.kernel.org/tip/47490fdd411675707624fdfbf7bcfcd5f6a5e706 Author:Marco Elver AuthorDate:Wed, 29 Jul 2020 13:09:16 +02:00

Re: [PATCH v3 12/19] firmware_loader: Use security_post_load_data()

2020-07-29 Thread Mimi Zohar
On Tue, 2020-07-28 at 12:43 -0700, Kees Cook wrote: > On Mon, Jul 27, 2020 at 06:57:45AM -0400, Mimi Zohar wrote: > > On Fri, 2020-07-24 at 14:36 -0700, Kees Cook wrote: > > > Now that security_post_load_data() is wired up, use it instead > > > of the NULL file argument style of

drivers/net/ethernet/pensando/ionic/ionic_lif.c:2004:3-9: preceding lock on line 1998 (fwd)

2020-07-29 Thread Julia Lawall
Hello, It looks like an unlock may be wanted on line 2004. julia -- Forwarded message -- Date: Thu, 30 Jul 2020 00:08:47 +0800 From: kernel test robot To: kbu...@lists.01.org Cc: l...@intel.com, Julia Lawall Subject: drivers/net/ethernet/pensando/ionic/ionic_lif.c:2004:3-9:

Re: [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver

2020-07-29 Thread Chun-Kuang Hu
Hi, Neal: Neal Liu 於 2020年7月29日 週三 下午4:29寫道: > > MediaTek bus fabric provides TrustZone security support and data > protection to prevent slaves from being accessed by unexpected > masters. > The security violation is logged and sent to the processor for > further analysis or countermeasures. >

Re: [PATCH 0/2] locking/qspinlock: Break qspinlock_types.h header loop

2020-07-29 Thread Sergey Senozhatsky
On (20/07/29 16:28), pet...@infradead.org wrote: > On Wed, Jul 29, 2020 at 10:28:49PM +0900, Sergey Senozhatsky wrote: > > On (20/07/29 15:00), pet...@infradead.org wrote: > > > On Wed, Jul 29, 2020 at 10:51:44PM +1000, Herbert Xu wrote: > > > > On Wed, Jul 29, 2020 at 02:47:44PM +0200,

Wine List

2020-07-29 Thread Meggan Berg
Hello, Would you be interested in acquiring an email list of "Wine Enthusiasts List" from USA? We also have data for Beer Enthusiasts List, Liquor Enthusiasts List, Beverage Enthusiasts List and many more. Each record in the list contains Contact Name (First, Middle and Last Name),

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-07-29 Thread Martin Kepplinger
Am 29. Juli 2020 17:44:42 MESZ schrieb James Bottomley : >On Wed, 2020-07-29 at 17:40 +0200, Martin Kepplinger wrote: >> On 29.07.20 16:53, James Bottomley wrote: >> > On Wed, 2020-07-29 at 07:46 -0700, James Bottomley wrote: >> > > On Wed, 2020-07-29 at 10:32 -0400, Alan Stern wrote: >[...]

Re: drivers/net/ethernet/pensando/ionic/ionic_lif.c:2004:3-9: preceding lock on line 1998 (fwd)

2020-07-29 Thread Shannon Nelson
On 7/29/20 9:37 AM, Julia Lawall wrote: Hello, It looks like an unlock may be wanted on line 2004. julia Thanks for catching that, Julia.  I'll follow up shortly. sln -- Forwarded message -- Date: Thu, 30 Jul 2020 00:08:47 +0800 From: kernel test robot To:

Re: [PATCH v18 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-29 Thread Sebastian Reichel
Hi Ricardo and Dan, On Tue, Jul 28, 2020 at 03:08:12PM -0500, Ricardo Rivera-Matos wrote: > From: Dan Murphy > > Convert the battery.txt file to yaml and fix up the examples. > > Signed-off-by: Dan Murphy > Reviewed-by: Rob Herring > --- I merged this doing some modifcations while applying,

Re: [PATCH 6/7] modules: return licensing information from find_symbol

2020-07-29 Thread Jessica Yu
+++ Christoph Hellwig [29/07/20 08:27 +0200]: Report the GPLONLY status through a new argument. Signed-off-by: Christoph Hellwig --- include/linux/module.h | 2 +- kernel/module.c| 16 +++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] drm/amd/display: Clear dm_state for fast updates

2020-07-29 Thread Kazlauskas, Nicholas
On 2020-07-28 5:08 a.m., dan...@ffwll.ch wrote: On Mon, Jul 27, 2020 at 10:49:48PM -0400, Kazlauskas, Nicholas wrote: On 2020-07-27 5:32 p.m., Daniel Vetter wrote: On Mon, Jul 27, 2020 at 11:11 PM Mazin Rezk wrote: On Monday, July 27, 2020 4:29 PM, Daniel Vetter wrote: On Mon, Jul 27,

Error: invalid switch -me200

2020-07-29 Thread kernel test robot
-r014-20200729 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 417d3d495f1cfb0a2f7b60d00829925126fdcfd9) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod

[PATCH v2 2/2] thermal: qcom-spmi-temp-alarm: add support for GEN2 rev 1 PMIC peripherals

2020-07-29 Thread Guru Das Srinagesh
From: David Collins Add support for TEMP_ALARM GEN2 PMIC peripherals with digital major revision 1. This revision utilizes a different temperature threshold mapping than earlier revisions. Signed-off-by: David Collins Signed-off-by: Guru Das Srinagesh --- Changes from v1: - Added space

[PATCH v2 1/2] thermal: qcom-spmi-temp-alarm: Don't suppress negative temp

2020-07-29 Thread Guru Das Srinagesh
From: Veera Vegivada Currently driver is suppressing the negative temperature readings from the vadc. Consumers of the thermal zones need to read the negative temperature too. Don't suppress the readings. Fixes: c610afaa21d3c6e ("thermal: Add QPNP PMIC temperature alarm driver") Signed-off-by:

Re: [patch V5 05/15] entry: Provide infrastructure for work before transitioning to guest mode

2020-07-29 Thread Qian Cai
_ioctl_run+0xb52/0x1320 [kvm] [ 765.487229] Modules linked in: vfio_pci vfio_virqfd vfio_iommu_type1 vfio loop nls_ascii nls_cp437 vfat fat [ 766.118568] CPU: 13 PID: 3377 Comm: qemu-kvm Not tainted 5.8.0-rc7-next-20200729 #2 [ 766.147011] ? kthread_create_worker_on_cpu+0xc0/0xc0 [ 766.147016] ret_from_

Re: [PATCH v5 2/4] power: supply: bq27xxx_battery: Add the BQ27z561 Battery monitor

2020-07-29 Thread Sebastian Reichel
Hi, On Wed, Jul 29, 2020 at 10:55:54AM -0500, Dan Murphy wrote: > > +<<< HEAD > > Need to remove this artifact from a rebase. > > Not sure how this got here as it does not appear in my source. You don't see it in your source, since you removed it in patch 4. -- Sebastian signature.asc

Re: [PATCH 2/2] power: supply: Fix kerneldoc of power_supply_temp2resist_simple()

2020-07-29 Thread Sebastian Reichel
Hi, On Wed, Jul 29, 2020 at 09:43:48AM +0200, Krzysztof Kozlowski wrote: > Fix W=1 compile warnings (invalid kerneldoc): > > drivers/power/supply/power_supply_core.c:747: warning: Function parameter > or member 'temp' not described in 'power_supply_temp2resist_simple' >

Re: [PATCH 1/2] power: supply: cpcap-battery: Fix kerneldoc of cpcap_battery_read_accumulated()

2020-07-29 Thread Sebastian Reichel
Hi, On Wed, Jul 29, 2020 at 09:43:47AM +0200, Krzysztof Kozlowski wrote: > Fix W=1 compile warnings (invalid kerneldoc): > > drivers/power/supply/cpcap-battery.c:292: warning: Function parameter or > member 'ccd' not described in 'cpcap_battery_read_accumulated' >

Re: [PATCH -next] irqchip/imx-intmux: Fix irqdata regs save in imx_intmux_runtime_suspend()

2020-07-29 Thread Marc Zyngier
On 2020-07-29 16:58, Wei Yongjun wrote: Gcc report warning as follows: drivers/irqchip/irq-imx-intmux.c:316:29: warning: variable 'irqchip_data' set but not used [-Wunused-but-set-variable] 316 | struct intmux_irqchip_data irqchip_data; | ^~~~

Re: [PATCH 5/7] ARM: samsung: Kill useless HAVE_S3C2410_WATCHDOG

2020-07-29 Thread Guenter Roeck
On Wed, Jul 29, 2020 at 06:09:40PM +0200, Krzysztof Kozlowski wrote: > A separate Kconfig option HAVE_S3C2410_WATCHDOG for Samsung SoCs does > not have sense, because: > 1. All ARMv7 and ARMv8 Samsung SoCs have watchdog, > 2. All architecture Kconfigs were selecting it (if WATCHDOG framework is >

[PATCH v2 1/3] kconfig: qconf: use if_changed for qconf.moc rule

2020-07-29 Thread Masahiro Yamada
Regenerate qconf.moc when the moc command is changed. This also allows 'make mrproper' to clean it up. Previously, it was not cleaned up because 'clean-files += qconf.moc' was missing. Now 'make mrproper' correctly cleans it up because files listed in 'targets' are cleaned. Signed-off-by:

[PATCH v2 2/3] kconfig: qconf: compile moc object separately

2020-07-29 Thread Masahiro Yamada
Currently, qconf.moc is included from qconf.cc but they can be compiled independently. When you modify qconf.cc, qconf.moc does not need recompiling. Rename qconf.moc to qconf.moc.cc, and split it out as an independent compilation unit. Signed-off-by: Masahiro Yamada --- Changes in v2: -

[PATCH v2 3/3] kconfig: qconf: use delete[] instead of delete to free array

2020-07-29 Thread Masahiro Yamada
cppcheck reports "Mismatching allocation and deallocation". $ cppcheck scripts/kconfig/qconf.cc Checking scripts/kconfig/qconf.cc ... scripts/kconfig/qconf.cc:1242:10: error: Mismatching allocation and deallocation: data [mismatchAllocDealloc] delete data; ^

Re: [PATCH] ext4: Fix comment typo "the the".

2020-07-29 Thread Jan Kara
On Sat 25-04-20 02:16:24, kyoungho koo wrote: > I have found double typed comments "the the". So i modified it to > one "the" > > Signed-off-by: kyoungho koo Ted, this seems to have fallen through the cracks... Honza > --- >

Re: [PATCH] remoteproc: virtio: support sharing vdev buffer

2020-07-29 Thread Mathieu Poirier
Hi Peng, On Wed, Jul 22, 2020 at 09:15:43PM +0800, Peng Fan wrote: > Support sharing vdev buffer between multiple vdevs by using name > "vdevbuffer". > > Reviewed-by: Richard Zhu > Signed-off-by: Peng Fan > --- > drivers/remoteproc/remoteproc_virtio.c | 2 ++ > 1 file changed, 2 insertions(+)

Re: [PATCH 2/7] modules: mark find_symbol static

2020-07-29 Thread Christoph Hellwig
On Wed, Jul 29, 2020 at 06:24:35PM +0200, Greg Kroah-Hartman wrote: > On Wed, Jul 29, 2020 at 06:13:18PM +0200, Jessica Yu wrote: > > +++ Christoph Hellwig [29/07/20 08:27 +0200]: > > > find_symbol is only used in module.c. > > > > > > Signed-off-by: Christoph Hellwig > > > > CCing the

Re: [PATCH 6/7] modules: return licensing information from find_symbol

2020-07-29 Thread Christoph Hellwig
On Wed, Jul 29, 2020 at 06:48:00PM +0200, Jessica Yu wrote: > Just a small nit. Most of module.c uses license rather than licence - > could we unify the spelling to remain consistent? Sigh, American vs. > British English.. :) Sure, I can fix that up.

Re: [RFC PATCH v5 12/14] gpu: host1x: mipi: Keep MIPI clock enabled till calibration is done

2020-07-29 Thread Dmitry Osipenko
28.07.2020 19:04, Sowjanya Komatineni пишет: ... >>> +void tegra_mipi_cancel_calibration(struct tegra_mipi_device *device) >>> +{ >> Doesn't MIPI_CAL need to be reset here? > No need to reset MIPI CAL Could you please explain why. There is a calibration state-machine that apparently needs to be

Re: [PATCH v3 4/5] mm: memcg: charge memcg percpu memory to the parent cgroup

2020-07-29 Thread Michal Koutný
Hello. On Tue, Jun 23, 2020 at 11:45:14AM -0700, Roman Gushchin wrote: > Because the size of memory cgroup internal structures can dramatically > exceed the size of object or page which is pinning it in the memory, it's > not a good idea to simple ignore it. It actually breaks the isolation >

Re: [PATCH 1/6] dt-bindings: display: Document NewVision NV3052C DT node

2020-07-29 Thread Laurent Pinchart
Hi Paul, Thank you for the patch. On Mon, Jul 27, 2020 at 06:46:08PM +0200, Paul Cercueil wrote: > Add documentation for the Device Tree node for LCD panels based on the > NewVision NV3052C controller. > > Signed-off-by: Paul Cercueil > --- > .../display/panel/newvision,nv3052c.yaml | 69

RE: [Intel-wired-lan] [PATCH 4/4] ixgbe/ixgbe_ethtool.c: Remove unnecessary usages of memset.

2020-07-29 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan On Behalf Of > Suraj Upadhyay > Sent: Tuesday, July 14, 2020 12:42 PM > To: Kirsher, Jeffrey T ; da...@davemloft.net; > k...@kernel.org > Cc: net...@vger.kernel.org; kernel-janit...@vger.kernel.org; intel-wired- > l...@lists.osuosl.org;

[PATCH] kconfig: qconf: remove "goBack" debug message

2020-07-29 Thread Masahiro Yamada
Every time the goback icon is clicked, the annoying message "goBack" is displayed on the console. I guess this line is the left-over debug code of commit af737b4defe1 ("kconfig: qconf: simplify the goBack() logic"). Signed-off-by: Masahiro Yamada --- scripts/kconfig/qconf.cc | 1 - 1 file

Re: [PATCH 1/2] firmware: qcom_scm: Add memory protect virtual address ranges

2020-07-29 Thread Elliot Berman
++ On 7/24/2020 8:04 AM, Stanimir Varbanov wrote: > Hi, > > Gentle ping for review. > > On 7/9/20 2:58 PM, Stanimir Varbanov wrote: >> This adds a new SCM memprotect command to set virtual address ranges. >> >> Signed-off-by: Stanimir Varbanov >> --- >> drivers/firmware/qcom_scm.c | 24

Re: [PATCH rdma-next 0/4] Fix bugs around RDMA CM destroying state

2020-07-29 Thread Jason Gunthorpe
On Thu, Jul 23, 2020 at 10:07:03AM +0300, Leon Romanovsky wrote: > This small series simplifies some of the RDMA CM state transitions > connected with DESTROYING states and in the process resolves a bug > discovered by syzkaller. > > Thanks > > Jason Gunthorpe (4): > RDMA/cma: Simplify

Re: [PATCH] atm: Fix atm_dev reference count leaks in atmtcp_remove_persistent()

2020-07-29 Thread Markus Elfring
… > The refcount leaks issues occur in two error handling paths. Can it be nicer to use the term “reference count” for the commit message? > Fix the issue by … I suggest to replace this wording by the tag “Fixes”. … > +++ b/drivers/atm/atmtcp.c > @@ -433,9 +433,15 @@ static int

Re: [RFC PATCH 14/14] dts: bindings: coresight: ETMv4.4 system register access only units

2020-07-29 Thread Mathieu Poirier
On Wed, Jul 22, 2020 at 06:20:40PM +0100, Suzuki K Poulose wrote: > Document the bindings for ETMv4.4 and later with only system register > access. > > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > Cc: Mathieu Poirier > Cc: Mike Leach > Signed-off-by: Suzuki K Poulose > --- >

Re: [PATCH 2/7] modules: mark find_symbol static

2020-07-29 Thread Joe Lawrence
On 7/29/20 12:24 PM, Greg Kroah-Hartman wrote: On Wed, Jul 29, 2020 at 06:13:18PM +0200, Jessica Yu wrote: +++ Christoph Hellwig [29/07/20 08:27 +0200]: find_symbol is only used in module.c. Signed-off-by: Christoph Hellwig CCing the livepatching ML, as this may or may not impact its

Re: mmotm 2020-07-27-18-18 uploaded (mm/page_alloc.c)

2020-07-29 Thread Randy Dunlap
On 7/29/20 9:14 AM, David Hildenbrand wrote: > On 29.07.20 16:38, David Hildenbrand wrote: >> On 29.07.20 16:18, Michael S. Tsirkin wrote: >>> On Tue, Jul 28, 2020 at 03:31:43PM -0700, Andrew Morton wrote: On Wed, 29 Jul 2020 08:20:53 +1000 Stephen Rothwell wrote: > Hi Andrew,

Re: Re: Re: [PATCH v18 02/14] mm: Introduce Data Access MONitor (DAMON)

2020-07-29 Thread SeongJae Park
On Wed, 29 Jul 2020 08:31:29 -0700 Shakeel Butt wrote: > On Sat, Jul 18, 2020 at 6:31 AM SeongJae Park wrote: > > > > On Fri, 17 Jul 2020 19:47:50 -0700 Shakeel Butt wrote: > > > > > On Mon, Jul 13, 2020 at 1:43 AM SeongJae Park wrote: > > > > > > > > From: SeongJae Park > > > > > > > >

  1   2   3   4   5   6   7   8   9   10   >