[PATCH v2 3/3] clk: at91: clk-sam9x60-pll: remove unused variable

2020-08-24 Thread Claudiu Beznea
Fix variable set but not used compilation warning. Fixes: 43b1bb4a9b3e ("clk: at91: clk-sam9x60-pll: re-factor to support plls with multiple outputs") Reported-by: kernel test robot Signed-off-by: Claudiu Beznea --- drivers/clk/at91/clk-sam9x60-pll.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v2 2/3] clk: at91: clk-main: update key before writing AT91_CKGR_MOR

2020-08-24 Thread Claudiu Beznea
SAMA5D2 datasheet specifies on chapter 33.22.8 (PMC Clock Generator Main Oscillator Register) that writing any value other than 0x37 on KEY field aborts the write operation. Use the key when selecting main clock parent. Fixes: 27cb1c2083373 ("clk: at91: rework main clk implementation") Signed-off-

[PATCH v2 0/3] fixes for at91 clocks

2020-08-24 Thread Claudiu Beznea
Hi, In this series I collected 2 patches send previously and add another that fixes a compilation warning. Changes in v2: - add patches "clk: at91: remove the checking of parent_name" and "clk: at91: clk-main: update key before writing AT91_CKGR_MOR" in the same series and collect Reviewed-by

[PATCH v2 1/3] clk: at91: remove the checking of parent_name

2020-08-24 Thread Claudiu Beznea
There is no need to check parent_name variable while assigning it to init.parent_names. parent_name variable is already checked at the beginning of at91_clk_register_peripheral() function. Fixes: 6114067e437eb ("clk: at91: add PMC peripheral clocks") Signed-off-by: Claudiu Beznea Reviewed-by: Ale

Re: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain

2020-08-24 Thread Christoph Hellwig
On Tue, Aug 25, 2020 at 02:39:55PM +0800, Kai Heng Feng wrote: > Hi Christoph, > > > On Aug 25, 2020, at 2:23 PM, Christoph Hellwig wrote: > > > > On Fri, Aug 21, 2020 at 08:32:20PM +0800, Kai-Heng Feng wrote: > >> New Intel laptops with VMD cannot reach deeper power saving state, > >> renders v

Re: [PATCH 01/16] dt-bindings: mfd: rohm,bd71847-pmic: Correct clock properties requirements

2020-08-24 Thread k...@kernel.org
On Tue, Aug 25, 2020 at 06:23:36AM +, Vaittinen, Matti wrote: > > Hello Krzysztof, > > On Mon, 2020-08-24 at 21:06 +0200, Krzysztof Kozlowski wrote: > > The input clock and number of clock provider cells are not required > > for > > the PMIC to operate. They are needed only for the optional

Re: [PATCH] net: usb: Fix uninit-was-stored issue in asix_read_cmd()

2020-08-24 Thread Greg Kroah-Hartman
On Tue, Aug 25, 2020 at 08:51:35AM +0200, Greg Kroah-Hartman wrote: > On Mon, Aug 24, 2020 at 10:55:28AM +0200, Dmitry Vyukov wrote: > > On Sun, Aug 23, 2020 at 12:57 PM Greg Kroah-Hartman > > wrote: > > > > > > On Sun, Aug 23, 2020 at 12:31:03PM +0200, Dmitry Vyukov wrote: > > > > On Sun, Aug 23,

Re: [PATCH] drm/msm: drop cache sync hack

2020-08-24 Thread Christoph Hellwig
On Sat, Aug 22, 2020 at 10:52:54AM -0700, Rob Clark wrote: > From: Rob Clark > > Now that it isn't causing problems to use dma_map/unmap, we can drop the > hack of using dma_sync in certain cases. Great to see! What did solve the problems?

Re: [PATCH v4 0/2] staging: android: Remove BUG/BUG_ON from ion

2020-08-24 Thread Greg Kroah-Hartman
On Tue, Aug 25, 2020 at 07:47:29AM +0100, Christoph Hellwig wrote: > On Fri, Aug 21, 2020 at 06:27:04PM +0300, Tomer Samara wrote: > > Remove BUG/BUG_ON from androind/ion > > Please just remove ion. It has been rejected and we have developed > proper kernel subsystens to replace it. Don't waste

Re: [PATCH] net: usb: Fix uninit-was-stored issue in asix_read_cmd()

2020-08-24 Thread Greg Kroah-Hartman
On Mon, Aug 24, 2020 at 10:55:28AM +0200, Dmitry Vyukov wrote: > On Sun, Aug 23, 2020 at 12:57 PM Greg Kroah-Hartman > wrote: > > > > On Sun, Aug 23, 2020 at 12:31:03PM +0200, Dmitry Vyukov wrote: > > > On Sun, Aug 23, 2020 at 12:19 PM Greg Kroah-Hartman > > > wrote: > > > > > > > > On Sun, Aug 2

Re: [PATCH 03/16] arm64: dts: imx8mm-beacon-som.dtsi: Align regulator names with schema

2020-08-24 Thread Vaittinen, Matti
Hello Krzysztof, Just some questions - please ignore if I misunderstood the impact of the change. On Mon, 2020-08-24 at 21:06 +0200, Krzysztof Kozlowski wrote: > Device tree schema expects regulator names to be lowercase. This > fixes > dtbs_check warnings like: > > arch/arm64/boot/dts/free

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

2020-08-24 Thread Stephen Rothwell
Hi Alexei, On Mon, 24 Aug 2020 20:27:28 -0700 Alexei Starovoitov wrote: > > I didn't receive the first email you've replied to. > The build error is: > " > No libelf found > make[5]: *** [Makefile:284: elfdep] Error 1 > " > and build process stops because libelf is not found, right? > That is ex

Re: [RFC PATCH 2/3] dmaengine: add peripheral configuration

2020-08-24 Thread Peter Ujfalusi
Hi Vinod, On 24/08/2020 11.47, Vinod Koul wrote: > Some complex dmaengine controllers have capability to program the > peripheral device, so pass on the peripheral configuration as part of > dma_slave_config > > Signed-off-by: Vinod Koul > --- > include/linux/dmaengine.h | 75 ++

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-24 Thread Feng Tang
On Mon, Aug 24, 2020 at 05:56:53PM +0100, Mel Gorman wrote: > On Mon, Aug 24, 2020 at 06:12:38PM +0200, Borislav Petkov wrote: > > > > > :) Right, this is what I'm doing right now. Some test job is queued on > > > the test box, and it may needs some iterations of new patch. Hopefully we > > > can

Re: [PATCH 02/16] dt-bindings: mtd: gpmi-nand: Fix matching of clocks on different SoCs

2020-08-24 Thread Krzysztof Kozlowski
On Tue, Aug 25, 2020 at 08:40:20AM +0200, Sascha Hauer wrote: > On Mon, Aug 24, 2020 at 09:06:47PM +0200, Krzysztof Kozlowski wrote: > > Driver requires different amount of clocks for different SoCs. Describe > > these requirements properly to fix dtbs_check warnings like: > > > > arch/arm64/

[PATCH 2/2] iommu/vt-d:Add support for probing ACPI device in RMRR

2020-08-24 Thread FelixCuioc
In the probe_acpi_namespace_devices function,when the physical node of the acpi device is NULL,the unlock function is missing. Add mutex_unlock(&adev->physical_node_lock). Reported-by: Dan Carpenter Signed-off-by: FelixCuioc --- drivers/iommu/intel/iommu.c | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH v4 0/2] staging: android: Remove BUG/BUG_ON from ion

2020-08-24 Thread Christoph Hellwig
On Fri, Aug 21, 2020 at 06:27:04PM +0300, Tomer Samara wrote: > Remove BUG/BUG_ON from androind/ion Please just remove ion. It has been rejected and we have developed proper kernel subsystens to replace it. Don't waste your time on it.

Re: [PATCH v2 3/9] ASoC: audio-graph: Identify 'no_pcm' DAI links for DPCM

2020-08-24 Thread Kuninori Morimoto
Hi Sameer > > Other solution is create both snd_soc_find_dai_with_mutex()/without_mutex(). > > I'm not sure which style is best. > > I don't know how complex it is to have a unified solution. But if we > can protect snd_soc_find_dai() itself, things would be simpler may be > in long term. Right

[PATCH] dmaengine: pl330: Fix burst length if burst size is smaller than bus width

2020-08-24 Thread Marek Szyprowski
Move the burst len fixup after setting the generic value for it. This finally enables the fixup introduced by commit 137bd11090d8 ("dmaengine: pl330: Align DMA memcpy operations to MFIFO width"), which otherwise was overwritten by the generic value. Reported-by: kernel test robot Fixes: 137bd1109

Re: [RFC PATCH 3/3] opp: Power on (virtual) power domains managed by the OPP core

2020-08-24 Thread Ulf Hansson
On Tue, 25 Aug 2020 at 06:43, Viresh Kumar wrote: > > On 24-08-20, 17:08, Stephan Gerhold wrote: > > On Mon, Aug 24, 2020 at 04:36:57PM +0200, Ulf Hansson wrote: > > > That said, perhaps should rely on the consumer to deploy runtime PM > > > support, but let the OPP core to set up the device links

Re: [PATCH 4.19 00/73] 4.19.142-rc2 review

2020-08-24 Thread Naresh Kamboju
On Mon, 24 Aug 2020 at 22:20, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.142 release. > There are 73 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. > > Re

[PATCH v2 1/2] mm/migrate: Fixup setting UFFD_WP flag

2020-08-24 Thread Alistair Popple
Commit f45ec5ff16a75 ("userfaultfd: wp: support swap and page migration") introduced support for tracking the uffd wp bit during page migration. However the non-swap PTE variant was used to set the flag for zone device private pages which are a type of swap page. This leads to corruption of the sw

[PATCH v2 2/2] mm/rmap: Fixup copying of soft dirty and uffd ptes

2020-08-24 Thread Alistair Popple
During memory migration a pte is temporarily replaced with a migration swap pte. Some pte bits from the existing mapping such as the soft-dirty and uffd write-protect bits are preserved by copying these to the temporary migration swap pte. However these bits are not stored at the same location for

Re: [PATCH 02/16] dt-bindings: mtd: gpmi-nand: Fix matching of clocks on different SoCs

2020-08-24 Thread Sascha Hauer
On Mon, Aug 24, 2020 at 09:06:47PM +0200, Krzysztof Kozlowski wrote: > Driver requires different amount of clocks for different SoCs. Describe > these requirements properly to fix dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml: > nand-controller@3300200

[PATCH v9 2/4] power: supply: core: add wireless charger adapter type property

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 + drivers/power/supply/pow

Re: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain

2020-08-24 Thread Kai Heng Feng
Hi Christoph, > On Aug 25, 2020, at 2:23 PM, Christoph Hellwig wrote: > > On Fri, Aug 21, 2020 at 08:32:20PM +0800, Kai-Heng Feng wrote: >> New Intel laptops with VMD cannot reach deeper power saving state, >> renders very short battery time. > > So what about just disabling VMD given how blood

[PATCH v9 0/4] add some power supply properties about wireless/wired charging

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang This patchset aims to provide power supply properties about wireless/wired charging. "quick_charge_type" reports different types of quick charge based on the charging power; "tx_adapter" shows" the type of wireless charging adapter; "signal_strength" shows the coupling level be

[PATCH v9 4/4] power: supply: core: property to control reverse charge

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 14 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 1 + 3 files changed, 16 insertions(+

[PATCH v9 3/4] power: supply: core: add wireless signal strength property

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 22 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v9 1/4] power: supply: core: add quick charge type property

2020-08-24 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 ++ drivers/power/supply/power_supply_sysfs.c | 1 + drivers/power/supply/qcom_smbb.c| 79 +

Re: [PATCH 3/5] i2c: aspeed: Mask IRQ status to relevant bits

2020-08-24 Thread Joel Stanley
On Thu, 20 Aug 2020 at 16:12, Eddie James wrote: > > Mask the IRQ status to only the bits that the driver checks. This > prevents excessive driver warnings when operating in slave mode > when additional bits are set that the driver doesn't handle. > > Signed-off-by: Eddie James > --- > drivers/i

Re: [PATCH] sched/fair: Fix wrong cpu selecting from isolated domain

2020-08-24 Thread Jiang Biao
On Mon, 24 Aug 2020 at 20:31, Xunlei Pang wrote: > > We've met problems that occasionally tasks with full cpumask > (e.g. by putting it into a cpuset or setting to full affinity) > were migrated to our isolated cpus in production environment. > > After some analysis, we found that it is due to the

Re: [PATCH 02/29] alpha: Avoid comma separated statements

2020-08-24 Thread Robert Richter
On 24.08.20 21:55:59, Joe Perches wrote: > Use semicolons and braces. > > Signed-off-by: Joe Perches > --- > arch/alpha/kernel/pci_iommu.c | 8 +--- > arch/alpha/oprofile/op_model_ev4.c | 22 ++ > arch/alpha/oprofile/op_model_ev5.c | 8 +--- > 3 files changed,

[PATCH] scsi: megaraid: Remove unnecessary assignment to variable ret

2020-08-24 Thread Jing Xiangfeng
The variable ret is being initialized with 'FAILED'. So we can remove this assignement. Signed-off-by: Jing Xiangfeng --- drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid

Re: [PATCH] net: usb: Fix uninit-was-stored issue in asix_read_cmd()

2020-08-24 Thread Himadri Pandya
On Mon, Aug 24, 2020 at 11:16:55AM -0700, Jakub Kicinski wrote: > On Sun, 23 Aug 2020 13:50:42 +0530 Himadri Pandya wrote: > > Initialize the buffer before passing it to usb_read_cmd() function(s) to > > fix the uninit-was-stored issue in asix_read_cmd(). > > > > Fixes: KMSAN: kernel-infoleak in r

[PATCH] perf stat: Fix s390x compile error on F32 utils/stat-display.c

2020-08-24 Thread Thomas Richter
Fix a compile error on F32 and gcc version 10.1 on s390 in file utils/stat-display.c. The error does not show up with make DEBUG=y. In fact the issue shows up when using both compiler options -O6 and -D_FORTIFY_SOURCE=2 (which are omitted with DEBUG=Y). This is the offending call chain: print_cou

[PATCH v5] i3c: master: fix for SETDASA and DAA process

2020-08-24 Thread Parshuram Thombare
This patch fix following issue. Controller slots blocked for devices with static_addr but no init_dyn_addr may limit the number of I3C devices on the bus which gets dynamic address in DAA. So instead of attaching all the devices with static_addr, now we only attach the devices which successfully co

[PATCH] video: fbdev: radeon: Fix memleak in radeonfb_pci_register

2020-08-24 Thread Dinghao Liu
When radeon_kick_out_firmware_fb() fails, info should be freed just like the subsequent error paths. Fixes: 069ee21a82344 ("fbdev: Fix loading of module radeonfb on PowerMac") Signed-off-by: Dinghao Liu --- drivers/video/fbdev/aty/radeon_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH v3 4/5] arch_topology, cpufreq: constify arch_* cpumasks

2020-08-24 Thread Viresh Kumar
On 24-08-20, 22:02, Ionela Voinescu wrote: > From: Valentin Schneider > > The passed cpumask arguments to arch_set_freq_scale() and > arch_freq_counters_available() are only iterated over, so reflect this > in the prototype. This also allows to pass system cpumasks like > cpu_online_mask without

Re: [PATCH v3 3/5] cpufreq: report whether cpufreq supports Frequency Invariance (FI)

2020-08-24 Thread Viresh Kumar
On 24-08-20, 22:02, Ionela Voinescu wrote: > Now that the update of the FI scale factor is done in cpufreq core for > selected functions - target(), target_index() and fast_switch(), > we can provide feedback to the task scheduler and architecture code > on whether cpufreq supports FI. > > For thi

RE: [PATCH v5] i3c: master: fix for SETDASA and DAA process

2020-08-24 Thread Parshuram Raju Thombare
Please ignore this patch. Regards, Parshuram Thombare >-Original Message- >From: Parshuram Thombare >Sent: Tuesday, August 25, 2020 11:51 AM >To: bbrezil...@kernel.org; vitor.soa...@synopsys.com >Cc: Przemyslaw Gaj ; linux-...@lists.infradead.org; linux- >ker...@vger.kernel.org; Milind P

Re: [PATCH v6 00/76] x86: SEV-ES Guest Support

2020-08-24 Thread Joerg Roedel
Hi Mike, On Tue, Aug 25, 2020 at 12:21:03AM +, Mike Stunes wrote: > Thanks for the new update! I still see the same FSGSBASE behavior on our > platform. > > That is, APs come up offline; masking out either FSGSBASE or RDPID from the > guest's CPUID results in all CPUs online. > > Is that st

Re: [PATCH 01/16] dt-bindings: mfd: rohm,bd71847-pmic: Correct clock properties requirements

2020-08-24 Thread Vaittinen, Matti
Hello Krzysztof, On Mon, 2020-08-24 at 21:06 +0200, Krzysztof Kozlowski wrote: > The input clock and number of clock provider cells are not required > for > the PMIC to operate. They are needed only for the optional bd718x7 > clock driver. I have always found the DT bindings hard to do. I quite

Re: [PATCH] PCI/ASPM: Enable ASPM for links under VMD domain

2020-08-24 Thread Christoph Hellwig
On Fri, Aug 21, 2020 at 08:32:20PM +0800, Kai-Heng Feng wrote: > New Intel laptops with VMD cannot reach deeper power saving state, > renders very short battery time. So what about just disabling VMD given how bloody pointless it is? Hasn't anyone learned from the AHCI remapping debacle? I'm real

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-24 Thread Feng Tang
On Mon, Aug 24, 2020 at 06:12:38PM +0200, Borislav Petkov wrote: > > -DEFINE_PER_CPU(struct mce, injectm); > > +DEFINE_PER_CPU_ALIGNED(struct mce, injectm); > > EXPORT_PER_CPU_SYMBOL_GPL(injectm); > > I don't think this is the right fix. Agreed :) This is a debug patch, what we want is to root c

[PATCH v5] i3c: master: fix for SETDASA and DAA process

2020-08-24 Thread Parshuram Thombare
This patch fixes the following issue. Controller slots blocked for the devices with only static_addr or init_dyn_addr may limit the number of I3C devices on the bus which gets dynamic address in DAA. So instead of attaching all the devices with static_addr, now we only attach the devices which succ

Re: [PATCH v2 2/5] cpufreq: intel_pstate: Always return last EPP value from sysfs

2020-08-24 Thread Artem Bityutskiy
On Mon, 2020-08-24 at 19:42 +0200, Rafael J. Wysocki wrote: > From: "Rafael J. Wysocki" > > Make the energy_performance_preference policy attribute in sysfs > always return the last EPP value written to it instead of the one > currently in the HWP Request MSR to avoid possible confusion when > th

[PATCH 1/2] arm64/kvm: Drop unnecessary check in kvm_vcpu_preferred_target()

2020-08-24 Thread Gavin Shan
Since commit ("arm64/kvm: Add generic v8 KVM target"), there is no negative number returned from kvm_target_cpu(). So it's not needed to validate its return value in kvm_vcpu_preferred_target() and this just drops the unnecessary check. Signed-off-by: Gavin Shan --- arch/arm64/kvm/guest.c | 3 -

[PATCH 2/2] arm64/kvm: Drop checking target CPU type on initializing module

2020-08-24 Thread Gavin Shan
The target CPU type is validated when KVM module is initialized. However, we always have a valid target CPU type since commit ("arm64/kvm: Add generic v8 KVM target"). So it's unnecessary to validate the target CPU type at that time and this just drops it. Signed-off-by: Gavin Shan --- arch/ar

Re: [PATCH] Fix s390x compile error on F32 utils/stat-display.c

2020-08-24 Thread Thomas Richter
On 8/24/20 10:22 PM, Jiri Olsa wrote: > On Wed, Aug 12, 2020 at 08:27:08AM -0300, Arnaldo Carvalho de Melo wrote: >> Em Wed, Jul 22, 2020 at 11:20:53AM +0200, Thomas Richter escreveu: >>> Fix a compile error on F32 and gcc version 10.1 on s390 in file >>> utils/stat-display.c. The error does not s

Re: x86/kprobes: kretprobe fails to triggered if kprobe at function entry is not optimized (trigger by int3 breakpoint)

2020-08-24 Thread Masami Hiramatsu
Hi Eddy, On Mon, 24 Aug 2020 16:41:58 + "eddy...@trendmicro.com" wrote: > > -Original Message- > > From: Masami Hiramatsu > > Sent: Monday, August 24, 2020 11:54 PM > > To: Eddy Wu (RD-TW) > > Cc: Peter Zijlstra ; linux-kernel@vger.kernel.org; > > x...@kernel.org; David S. Miller

Re: pcm|dmaengine|imx-sdma race condition on i.MX6

2020-08-24 Thread Sascha Hauer
On Fri, Aug 21, 2020 at 09:52:00AM +, Robin Gong wrote: > On 2020/08/20 14:52 Sascha Hauer wrote: > > On Wed, Aug 19, 2020 at 01:08:29PM +0200, Lars-Peter Clausen wrote: > > > > For the first option, which is potentially more performant, we have > > > > to leave the atomic PCM context and we a

Kernel panic - not syncing: Attempted to kill init! x86_64 running 4.19

2020-08-24 Thread Naresh Kamboju
While running LTP tracing ftrace-stress-test kernel on x86_64 got panic on stable rc 4.19 branch. I have checked this kernel panic has been happening from the beginning of 4.19 release. I will run git bisect starting from 4.18 and get back to you on this email thread. steps to reproduce: # Boot q

Re: [PATCH v3 2/5] cpufreq: move invariance setter calls in cpufreq core

2020-08-24 Thread Viresh Kumar
On 24-08-20, 22:02, Ionela Voinescu wrote: > To properly scale its per-entity load-tracking signals, the task scheduler > needs to be given a frequency scale factor, i.e. some image of the current > frequency the CPU is running at. Currently, this scale can be computed > either by using counters (A

KASAN: slab-out-of-bounds Read in read_descriptors (2)

2020-08-24 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:da2968ff Merge tag 'pci-v5.9-fixes-1' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=153afba690 kernel config: https://syzkaller.appspot.com/x/.config?x=a0437fdd630bee11 das

KASAN: use-after-free Read in cgroup_path_ns

2020-08-24 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:da2968ff Merge tag 'pci-v5.9-fixes-1' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=159763ce90 kernel config: https://syzkaller.appspot.com/x/.config?x=bb68b9e8a8cc842f das

Re: [PATCH] MAINTAINERS: update QUALCOMM IOMMU after Arm SSMU drivers move

2020-08-24 Thread Lukas Bulwahn
On Fri, 21 Aug 2020, Will Deacon wrote: > On Sun, Aug 02, 2020 at 08:53:20AM +0200, Lukas Bulwahn wrote: > > Commit e86d1aa8b60f ("iommu/arm-smmu: Move Arm SMMU drivers into their own > > subdirectory") moved drivers/iommu/qcom_iommu.c to > > drivers/iommu/arm/arm-smmu/qcom_iommu.c amongst othe

Re: [PATCH v3 1/5] arch_topology: validate input frequencies to arch_set_freq_scale()

2020-08-24 Thread Viresh Kumar
On 24-08-20, 22:02, Ionela Voinescu wrote: > The current frequency passed to arch_set_freq_scale() could end up > being 0, signaling an error in setting a new frequency. Also, if the > maximum frequency in 0, this will result in a division by 0 error. > > Therefore, validate these input values bef

kernel/dma/pool.c:79 cma_in_zone() warn: always true condition '(end <= ((((32) == 64)) << (32)) - 1))) => (0-u32max <= u32max)'

2020-08-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6a9dc5fd6170d0a41c8a14eb19e63d94bea5705a commit: d7e673ec2c8e0ea39c4c70fc490d67d7fbda869d dma-pool: Only allocate from CMA when in same memory zone date: 11 days ago config: arc-randconfig-m031-20200824

[PATCH v2] can: m_can: Set device to software init mode before closing

2020-08-24 Thread Faiz Abbas
There might be some requests pending in the buffer when the interface close sequence occurs. In some devices, these pending requests might lead to the module not shutting down properly when m_can_clk_stop() is called. Therefore, move the device to init state before potentially powering it down. S

Re: [PATCH v2 3/9] ASoC: audio-graph: Identify 'no_pcm' DAI links for DPCM

2020-08-24 Thread Sameer Pujar
Hi Morimoto-san, Yes, I'm posting fixup patch. https://patchwork.kernel.org/patch/11719919/ Just curious that why snd_soc_find_dai() itself cannot be protected, instead of leaving this to callers. Because, snd_soc_find_dai() is called both with/without client_mutex. (same/sof are ca

Re: [PATCH 5.4 000/109] 5.4.61-rc2 review

2020-08-24 Thread Naresh Kamboju
On Mon, 24 Aug 2020 at 22:19, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.61 release. > There are 109 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. > > Res

Re: [PATCH V2] cpufreq: tegra186: Fix initial frequency

2020-08-24 Thread Viresh Kumar
On 24-08-20, 15:59, Jon Hunter wrote: > Commit 6cc3d0e9a097 ("cpufreq: tegra186: add > CPUFREQ_NEED_INITIAL_FREQ_CHECK flag") fixed CPUFREQ support for > Tegra186 but as a consequence the following warnings are now seen on > boot ... > > cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 0

Re: [PATCH v4 17/17] media: mtk-vcodec: venc: fix invalid time per frame in S_PARM

2020-08-24 Thread Tiffany Lin
On Fri, 2020-08-21 at 19:36 +0900, Alexandre Courbot wrote: > v4l2-compliance expects the driver to adjust the time per frame if it is > invalid (numerator or denominator set to 0). Adjust it to the default > value in these cases. > Acked-by: Tiffany Lin > Signed-off-by: Alexandre Courbot > --

Re: [PATCH v4 16/17] media: mtk-vcodec: venc: set default time per frame

2020-08-24 Thread Tiffany Lin
On Fri, 2020-08-21 at 19:36 +0900, Alexandre Courbot wrote: > The time per frame was left initialized to 0/0, which make the driver > fail v4l2-compliance, and also leaves it potentially exposed to doing a > division by zero. > Acked-by: Tiffany Lin > Signed-off-by: Alexandre Courbot > --- > d

Re: [PATCH v4 15/17] media: mtk-vcodec: venc: support ENUM_FRAMESIZES on OUTPUT formats

2020-08-24 Thread Tiffany Lin
On Fri, 2020-08-21 at 19:36 +0900, Alexandre Courbot wrote: > v4l2-compliance requires ENUM_FRAMESIZES to support OUTPUT formats. > Reuse mtk_venc_find_format() to make sure both queues are considered > when serving an ENUM_FRAMESIZES. > Acked-by: Tiffany Lin > Signed-off-by: Alexandre Courbot

Re: [PATCH v2 3/9] ASoC: audio-graph: Identify 'no_pcm' DAI links for DPCM

2020-08-24 Thread Kuninori Morimoto
Hi Sameer > > Yes, I'm posting fixup patch. > > > > https://patchwork.kernel.org/patch/11719919/ > > Just curious that why snd_soc_find_dai() itself cannot be protected, > instead of leaving this to callers. Because, snd_soc_find_dai() is called both with/without client_mutex. (same/

Re: [PATCH v4 14/17] media: mtk-vcodec: venc: use platform data for ENUM_FRAMESIZES

2020-08-24 Thread Tiffany Lin
On Fri, 2020-08-21 at 19:36 +0900, Alexandre Courbot wrote: > vidioc_enum_framesizes() assumes that all encoders support H.264 and VP8, > which is not necessarily true and requires to duplicate information about > the supported codecs which is already stored in the platform data. > > Fix this by r

[PATCH v2] MAINTAINERS: update QUALCOMM IOMMU after Arm SMMU drivers move

2020-08-24 Thread Lukas Bulwahn
Commit e86d1aa8b60f ("iommu/arm-smmu: Move Arm SMMU drivers into their own subdirectory") moved drivers/iommu/qcom_iommu.c to drivers/iommu/arm/arm-smmu/qcom_iommu.c amongst other moves, adjusted some sections in MAINTAINERS, but missed adjusting the QUALCOMM IOMMU section. Hence, ./scripts/get_ma

Re: [PATCH for v5.9] mm/page_alloc: handle a missing case for memalloc_nocma_{save/restore} APIs

2020-08-24 Thread Joonsoo Kim
2020년 8월 25일 (화) 오후 2:10, Andrew Morton 님이 작성: > > On Tue, 25 Aug 2020 13:59:42 +0900 js1...@gmail.com wrote: > > > From: Joonsoo Kim > > > > memalloc_nocma_{save/restore} APIs can be used to skip page allocation > > on CMA area, but, there is a missing case and the page on CMA area could > > be a

Re: [PATCH 5.7 000/127] 5.7.18-rc2 review

2020-08-24 Thread Naresh Kamboju
On Mon, 24 Aug 2020 at 22:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.18 release. > There are 127 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. > > Res

Re: [PATCH] CHROMIUM: arm64: dts: mt8183-elm: Set GPU power regulator to always on

2020-08-24 Thread Anand K. Mistry
:facepalm: sorry about the subject line. I'll fix it up in the next revision. On Tue, 25 Aug 2020 at 15:26, Anand K Mistry wrote: > > Keep the da9212 BUCKB always-on. This works around an issue on Elm/Hana > devices where sometimes, the regulator is disabled before scpsys is > suspended, causing

[PATCH net backport 5.6.14-5.8.3 v1] net: openvswitch: introduce common code for flushing flows

2020-08-24 Thread xiangxia . m . yue
From: Tonghao Zhang [ Upstream commit 77b981c82c1df7c7ad32a046f17f007450b46954 ] Backport this commit to 5.6.14 - 5.8.3. To avoid some issues, for example RCU usage warning and double free, we should flush the flows under ovs_lock. This patch refactors table_instance_destroy and introduces tabl

Re: [PATCH 5.8 000/149] 5.8.4-rc2 review

2020-08-24 Thread Naresh Kamboju
On Mon, 24 Aug 2020 at 22:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.4 release. > There are 149 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. > > Resp

[PATCH] CHROMIUM: arm64: dts: mt8183-elm: Set GPU power regulator to always on

2020-08-24 Thread Anand K Mistry
Keep the da9212 BUCKB always-on. This works around an issue on Elm/Hana devices where sometimes, the regulator is disabled before scpsys is suspended, causing the suspension of scpsys to fail. Usually, the GPU and scpsys are suspended by the runtime PM before the system is suspended, due to the GP

Re: [PATCH 2/2] mm/rmap: Fixup copying of soft dirty and uffd ptes

2020-08-24 Thread Alistair Popple
On Tuesday, 25 August 2020 1:43:59 AM AEST Peter Xu wrote: > > --- a/mm/migrate.c > > +++ b/mm/migrate.c > > @@ -2427,9 +2427,11 @@ static int migrate_vma_collect_pmd(pmd_t *pmdp, > > > > entry = make_migration_entry(page, mpfn & > > > >

Re: [PATCH v2 3/9] ASoC: audio-graph: Identify 'no_pcm' DAI links for DPCM

2020-08-24 Thread Sameer Pujar
Hi Morimoto-san, (snip) I tried testing this with LOCKDEP config enabled at my end. It seems I don't see warning originated from above function. Are you suggesting that, in general, snd_soc_find_dai() should be called with client_mutex held? Hmm ? strange... Yes indeed. For saftely I will f

Re: [PATCH 07/14 v1] usb: typec: tcpci_maxim: Chip level TCPC driver

2020-08-24 Thread Randy Dunlap
On 8/24/20 9:22 PM, Badhri Jagan Sridharan wrote: > diff --git a/drivers/usb/typec/tcpm/Kconfig b/drivers/usb/typec/tcpm/Kconfig > index fa3f39336246..7c9722b02afe 100644 > --- a/drivers/usb/typec/tcpm/Kconfig > +++ b/drivers/usb/typec/tcpm/Kconfig > @@ -27,6 +27,12 @@ config TYPEC_RT1711H >

Re: jii hllo

2020-08-24 Thread neetu pal
i dropped by to say Gm sir

Re: [PATCH for v5.9] mm/page_alloc: handle a missing case for memalloc_nocma_{save/restore} APIs

2020-08-24 Thread Andrew Morton
On Tue, 25 Aug 2020 13:59:42 +0900 js1...@gmail.com wrote: > From: Joonsoo Kim > > memalloc_nocma_{save/restore} APIs can be used to skip page allocation > on CMA area, but, there is a missing case and the page on CMA area could > be allocated even if APIs are used. This patch handles this case

[PATCH] spi: spi-fsl-espi: Remove use of %p

2020-08-24 Thread Chris Packham
The register offset is already included in the device name so even prior %p values being hashed printing the base was redundant. Remove the %p from the dev_info() output. Signed-off-by: Chris Packham --- drivers/spi/spi-fsl-espi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v11 2/2] Add PWM fan controller driver for LGM SoC

2020-08-24 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11 ++ dr

[PATCH v11 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-24 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar --- .../devi

[PATCH v11 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-24 Thread Rahul Tanwar
Patch 1 adds dt binding document in YAML format. Patch 2 add PWM fan controller driver for LGM SoC. v11: - Address below review concerns (Andy Shevchenko) * Fix a issue with dev_err_probe() usage & improve the usage. * Fix & improve a ordering issue with clk_enable/disable & reset_control

[PATCH for v5.9] mm/page_alloc: handle a missing case for memalloc_nocma_{save/restore} APIs

2020-08-24 Thread js1304
From: Joonsoo Kim memalloc_nocma_{save/restore} APIs can be used to skip page allocation on CMA area, but, there is a missing case and the page on CMA area could be allocated even if APIs are used. This patch handles this case to fix the potential issue. Missing case is an allocation from the pc

[PATCH 06/29] drbd: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/block/drbd/drbd_receiver.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index 422363daa618..87f732fb5456 100644 --- a/drivers/bl

[PATCH 13/29] bcache: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/md/bcache/bset.c | 12 drivers/md/bcache/sysfs.c | 6 -- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c index 67a2c47f4201..94d38e8a59b3 10064

[PATCH 04/29] sparc: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- arch/sparc/kernel/smp_64.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c index e286e2badc8a..28c11f7871cd 100644 --- a/arch/sparc/kernel/smp_64.c +++ b/a

[PATCH 09/29] drm/gma500: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/gpu/drm/gma500/mdfld_intel_display.c | 44 +--- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_intel_display.c b/drivers/gpu/drm/gma500/mdfld_intel_display.c index aae

[PATCH 05/29] ata: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/ata/pata_icside.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/ata/pata_icside.c b/drivers/ata/pata_icside.c index 08543aeb0093..498383cb6e29 100644 --- a/drivers/ata/pata_icsi

[PATCH 08/29] dma-buf: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/dma-buf/st-dma-fence.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma-buf/st-dma-fence.c b/drivers/dma-buf/st-dma-fence.c index e593064341c8..c8a12d7ad71a 100644 --- a/drivers/dma-buf/st-dma

[PATCH 10/29] drm/i915: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 8 +--- drivers/gpu/drm/i915/gt/intel_gt_requests.c| 6 -- drivers/gpu/drm/i915/gt/selftest_workarounds.c | 6 -- drivers/gpu/drm/i915/intel_runtime_pm.c| 6 --

[PATCH 28/29] sunrpc: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- net/sunrpc/sysctl.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index 999eee1ed61c..6c86e2a7d942 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c @@ -108,8

[PATCH 14/29] media: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/media/i2c/msp3400-kthreads.c | 12 drivers/media/pci/bt8xx/bttv-cards.c | 6 -- drivers/media/pci/saa7134/saa7134-video.c | 7 +-- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/dr

[PATCH 16/29] 8390: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/net/ethernet/8390/axnet_cs.c | 19 --- drivers/net/ethernet/8390/lib8390.c | 14 +- drivers/net/ethernet/8390/pcnet_cs.c | 6 -- 3 files changed, 25 insertions(+), 14 deletions(-) diff --git a/dr

[PATCH 19/29] s390/tty3270: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/s390/char/tty3270.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index aec996de44d9..6acce975df26 100644 --- a/drivers/s390/char/tty3270.c +++

[PATCH 21/29] media: atomisp: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/staging/media/atomisp/pci/atomisp_subdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_subdev.c b/drivers/staging/media/atomisp/pci/atomisp_subdev.c index 6b

[PATCH 15/29] mtd: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/mtd/devices/lart.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/devices/lart.c b/drivers/mtd/devices/lart.c index 56f50d27b7fd..aecd441e4183 100644 --- a/drivers/mtd/devices/lart.c +++

RE: [PATCH] dt-bindings: mmc: Add missing description for clk_in/out_sd1

2020-08-24 Thread Manish Narani
> -Original Message- > From: Michal Simek On Behalf Of Michal Simek > Sent: Monday, August 24, 2020 1:55 PM > To: linux-kernel@vger.kernel.org; mon...@monstr.eu; Michal Simek > ; git ; Manish Narani > > Cc: Adrian Hunter ; Rob Herring > ; Ulf Hansson ; Wan Ahmad > Zainie ; > devicet...

[PATCH 18/29] wan: sbni: Avoid comma separated statements

2020-08-24 Thread Joe Perches
Use semicolons and braces. Signed-off-by: Joe Perches --- drivers/net/wan/sbni.c | 101 +++-- 1 file changed, 58 insertions(+), 43 deletions(-) diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index 40c04ea1200a..2fde439543fb 100644 --- a/drivers/

  1   2   3   4   5   6   7   8   9   10   >