Re: [PATCH 0/3] Introduce devm_pm_opp_set_* API

2020-10-28 Thread Viresh Kumar
On 12-10-20, 21:55, Frank Lee wrote: > Hi, this patchset introduce devm_pm_opp_set_prop_name() and > devm_pm_opp_set_supported_hw(). > > Yangtao Li (3): > opp: Add devres wrapper for dev_pm_opp_set_supported_hw > opp: Add devres wrapper for dev_pm_opp_set_prop_name > drm/msm: Convert to

[PATCH 0/4] Powerpc: Better preemption for shared processor

2020-10-28 Thread Srikar Dronamraju
Currently, vcpu_is_preempted will return the yield_count for shared_processor. On a PowerVM LPAR, Phyp schedules at SMT8 core boundary i.e all CPUs belonging to a core are either group scheduled in or group scheduled out. This can be used to better predict non-preempted CPUs on PowerVM shared

Re: [PATCH V2 1/2] sched/core: Rename and move schedutil_cpu_util() to core.c

2020-10-28 Thread Viresh Kumar
On 23-10-20, 14:34, Vincent Guittot wrote: > Maybe it's time to make sched_util and pelt available for !SMP too. > > With util_est and uclamp, I can see some benefits for !SMP compare to ondemand That's a decision you guys (sched maintainers) need to make :) -- viresh

[PATCH 3/4] powerpc: Reintroduce is_kvm_guest in a new avatar

2020-10-28 Thread Srikar Dronamraju
Introduce a static branch that would be set during boot if the OS happens to be a KVM guest. Subsequent checks to see if we are on KVM will rely on this static branch. This static branch would be used in vcpu_is_preempted in a subsequent patch. Signed-off-by: Srikar Dronamraju Cc: linuxppc-dev

Re: drivers/video/backlight/ltv350qv.c:192:12: warning: stack frame size of 13472 bytes in function 'ltv350qv_power'

2020-10-28 Thread Daniel Thompson
On Sun, Oct 25, 2020 at 12:17:08PM -0700, Andrew Morton wrote: > On Mon, 26 Oct 2020 02:15:37 +0800 kernel test robot wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: d76913908102044f14381df865bb74df17a538cb > > commit:

Re: [PATCH v6 11/52] dt-bindings: memory: tegra30: emc: Document OPP table and voltage regulator

2020-10-28 Thread Rob Herring
On Mon, 26 Oct 2020 01:16:54 +0300, Dmitry Osipenko wrote: > Document new OPP table and voltage regulator properties which are needed > for supporting dynamic voltage-frequency scaling of the memory controller. > Some boards may have a fixed core voltage regulator, hence it's optional > because

Re: [PATCH] ext4: properly check for dirty state in ext4_inode_datasync_dirty()

2020-10-28 Thread Theodore Y. Ts'o
On Wed, Oct 28, 2020 at 08:57:03AM +0530, Ritesh Harjani wrote: > > Well, I too noticed this yesterday while I was testing xfstests -g swap. > Those tests were returning _notrun, hence that could be the reason why > it didn't get notice in XFSTESTing from Ted. Yeah, one of the things I discussed

[RFC PATCH 2/3] mwifiex: pcie: add reset_d3cold quirk for Surface gen4+ devices

2020-10-28 Thread Tsuchiya Yuto
To reset mwifiex on Surface gen4+ (Pro 4 or later gen) devices, it seems that putting the wifi device into D3cold is required according to errata.inf file on Windows installation (Windows/INF/errata.inf). This patch adds a function that performs power-cycle (put into D3cold then D0) and call the

[PATCH 4/4] powerpc/paravirt: Use is_kvm_guest in vcpu_is_preempted

2020-10-28 Thread Srikar Dronamraju
If its a shared lpar but not a KVM guest, then see if the vCPU is related to the calling vCPU. On PowerVM, only cores can be preempted. So if one vCPU is a non-preempted state, we can decipher that all other vCPUs sharing the same core are in non-preempted state. Signed-off-by: Srikar Dronamraju

Re: [PATCH v11 09/14] s390/vfio-ap: allow assignment of unavailable AP queues to mdev device

2020-10-28 Thread Halil Pasic
On Thu, 22 Oct 2020 13:12:04 -0400 Tony Krowiak wrote: > +static int vfio_ap_mdev_validate_masks(struct ap_matrix_mdev *matrix_mdev, > +unsigned long *mdev_apm, > +unsigned long *mdev_aqm) > +{ > + if

Re: [PATCH 00/13] selftests fixes

2020-10-28 Thread Michael Ellerman
Tommi Rantala writes: > Hi, small fixes to issues I hit with selftests. > > Tommi Rantala (13): > selftests: filter kselftest headers from command in lib.mk > selftests: pidfd: fix compilation errors due to wait.h > selftests: add vmaccess to .gitignore > selftests/harness: prettify SKIP

Re: [PATCH v2 00/15] Introduce threaded trace streaming for basic perf record operation

2020-10-28 Thread Jiri Olsa
On Wed, Oct 28, 2020 at 10:35:08AM +0300, Alexey Budankov wrote: > > On 28.10.2020 10:08, Namhyung Kim wrote: > > Hi, > > > > On Wed, Oct 28, 2020 at 1:02 AM Alexey Budankov > > wrote: > >> > >> > >> On 27.10.2020 15:10, Jiri Olsa wrote: > >>> On Mon, Oct 26, 2020 at 08:59:01PM +0300, Alexey

[ANNOUNCE] v5.9.1-rt20

2020-10-28 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v5.9.1-rt20 patch set. Changes since v5.9.1-rt19: - Tiny update to the rtmutex patches (make __read_rt_trylock() static). - The test_lockup module failed to compile. Reported by Fernando Lopez-Lezcano. - The `kcompactd' daemon together

[PATCH RFC v2 1/4] x86/cpufeatures: Enumerate #DB for bus lock detection

2020-10-28 Thread Fenghua Yu
A bus lock is acquired either through split locked access to writeback (WB) memory or by using locks to uncacheable (UC) memory (e.g. direct device assignment). This is typically >1000 cycles slower than an atomic operation within a cache line. It also disrupts performance on other cores. Some

Re: [RESENDPATCH v15 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-10-28 Thread Miquel Raynal
Hello, "Ramuthevar,Vadivel MuruganX" wrote on Mon, 26 Oct 2020 15:30:21 +0800: > From: Ramuthevar Vadivel Murugan > > This patch adds the new IP of Nand Flash Controller(NFC) support > on Intel's Lightning Mountain(LGM) SoC. > > DMA is used for burst data transfer operation, also DMA HW

[ANNOUNCE] v5.10-rc1-rt1

2020-10-28 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v5.10-rc1-rt1 patch set. Changes since v5.9.1-rt20 - Rebase to v5.10-rc1. Known issues - It has been pointed out that due to changes to the printk code the internal buffer representation changed. This is only an issue if tools

[PATCH RFC v2 3/4] x86/bus_lock: Set rate limit for bus lock

2020-10-28 Thread Fenghua Yu
To enforce user application throttling or mitigations, extend the existing split lock detect kernel parameter: split_lock_detect=ratelimit:N It limits bus lock rate to N per second for non root users. Signed-off-by: Fenghua Yu Reviewed-by: Tony Luck --- arch/x86/kernel/cpu/intel.c |

[PATCH] Documentation: Chinese translation of Documentation/arm64/perf.rst

2020-10-28 Thread Bailu Lin
This is a Chinese translated version of Documentation/arm64/perf.rst Signed-off-by: Bailu Lin --- Documentation/arm64/perf.rst | 2 + .../translations/zh_CN/arm64/index.rst| 1 + .../translations/zh_CN/arm64/perf.rst | 85 +++ 3 files changed,

Re: [PATCH] docs: Makefile: honor V=0 for docs building

2020-10-28 Thread Stephen Rothwell
Hi Jon, On Wed, 28 Oct 2020 11:11:42 -0600 Jonathan Corbet wrote: > > Applied, thanks. ...ahhh the silence:) Thanks, indeed. For Aussies, though, the quote is "how's the serenity?" https://www.screenaustralia.gov.au/sa/screen-news/2015/10-11-the-castle-top-10-quotes (quote number 3)

Re: [PATCH] RDMA/core: Fix error return in _ib_modify_qp()

2020-10-28 Thread Jason Gunthorpe
On Fri, Oct 16, 2020 at 03:58:45PM +0800, Jing Xiangfeng wrote: > Fix to return error code PTR_ERR() from the error handling case instead of > 0. > > Fixes: 51aab12631dd ("RDMA/core: Get xmit slave for LAG") > Signed-off-by: Jing Xiangfeng > Reviewed-by: Maor Gottlieb > --- >

Re: [PATCH v8 -tip 08/26] sched/fair: Snapshot the min_vruntime of CPUs on force idle

2020-10-28 Thread Joel Fernandes
On Mon, Oct 26, 2020 at 01:47:24PM +0100, Peter Zijlstra wrote: > On Mon, Oct 19, 2020 at 09:43:18PM -0400, Joel Fernandes (Google) wrote: > > > @@ -4723,6 +4714,14 @@ pick_next_task(struct rq *rq, struct task_struct > > *prev, struct rq_flags *rf) > > update_rq_clock(rq_i);

Re: [PATCH 0/4] arch, mm: improve robustness of direct map manipulation

2020-10-28 Thread Edgecombe, Rick P
On Wed, 2020-10-28 at 13:30 +0200, Mike Rapoport wrote: > On Wed, Oct 28, 2020 at 11:20:12AM +, Will Deacon wrote: > > On Tue, Oct 27, 2020 at 10:38:16AM +0200, Mike Rapoport wrote: > > > On Mon, Oct 26, 2020 at 06:05:30PM +, Edgecombe, Rick P > > > wrote: > > > > On Mon, 2020-10-26 at

Re: [PATCH] bpf: don't rely on GCC __attribute__((optimize)) to disable GCSE

2020-10-28 Thread Geert Uytterhoeven
Hi Ard, On Tue, Oct 27, 2020 at 9:57 PM Ard Biesheuvel wrote: > Commit 3193c0836f203 ("bpf: Disable GCC -fgcse optimization for > ___bpf_prog_run()") introduced a __no_fgcse macro that expands to a > function scope __attribute__((optimize("-fno-gcse"))), to disable a > GCC specific optimization

[PATCH RFC v2 2/4] x86/bus_lock: Handle warn and fatal in #DB for bus lock

2020-10-28 Thread Fenghua Yu
#DB for bus lock is enabled by bus lock detection bit 2 in DEBUGCTL MSR while #AC for split lock is enabled by split lock detection bit 29 in TEST_CTRL MSR. Use the existing kernel command line option "split_lock_detect=" to handle #DB for bus lock: split_lock_detect= #AC for

[PATCH] irqchip/renesas-intc-irqpin: Merge irlm_bit and needs_irlm

2020-10-28 Thread Geert Uytterhoeven
Get rid of the separate flag to indicate if the IRLM bit is present in the INTC/Interrupt Control Register 0, by considering -1 an invalid irlm_bit value. Signed-off-by: Geert Uytterhoeven --- Tested on r8a7778/bock-w, r8a7779/marzen, r8a7740/armadillo. and sh73a0/kzm9g.

Re: [PATCH] iio: light: apds9960: remove unneeded semicolon

2020-10-28 Thread Matt Ranostay
On Tue, Oct 27, 2020 at 1:14 PM wrote: > > From: Tom Rix > > A semicolon is not needed after a switch statement. > Acked-by: Matt Ranostay > Signed-off-by: Tom Rix > --- > drivers/iio/light/apds9960.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] buffer_io_error: Use dev_err_ratelimited

2020-10-28 Thread Tony Asleson
On 10/28/20 3:45 PM, Tony Asleson wrote: > On 10/26/20 5:07 PM, Andy Shevchenko wrote: >>> + dev_err_ratelimited(gendev, >>> + "Buffer I/O error, logical block %llu%s\n", >> >>> + (unsigned long long)bh->b_blocknr, msg); >> >> It's a u64 always (via sector_t), do

Re: [PATCH 10/11] [DEBUG] firmware: arm_scmi: add custom_dummy SCMI devname

2020-10-28 Thread Cristian Marussi
Hi On Mon, Oct 26, 2020 at 08:37:46AM -0400, Thara Gopinath wrote: > > > On 10/21/20 7:35 AM, Cristian Marussi wrote: > > On Tue, Oct 20, 2020 at 10:49:23PM -0400, Thara Gopinath wrote: > > > > > > > > > On 10/14/20 11:05 AM, Cristian Marussi wrote: > > > > Add custom_dummy SCMI devname. > >

Re: [PATCH] s390/smp: Move rcu_cpu_starting() earlier

2020-10-28 Thread Paul E. McKenney
On Wed, Oct 28, 2020 at 02:27:42PM -0400, Qian Cai wrote: > The call to rcu_cpu_starting() in smp_init_secondary() is not early > enough in the CPU-hotplug onlining process, which results in lockdep > splats as follows: > > WARNING: suspicious RCU usage > - >

Re: [PATCH v2] Asoc: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions

2020-10-28 Thread Mark Brown
On Tue, Oct 27, 2020 at 05:04:34PM +0530, Srinivasa Rao Mandadapu wrote: > Fixes: cba62c8b49be ("ASoC: qcom: Add support for SC7180 lpass variant") This commit is actually Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit kumar : which is not the commit that

Re: [PATCH 04/22] KVM: mmu: extract spte.h and spte.c

2020-10-28 Thread Paolo Bonzini
On 27/10/20 15:46, Valdis Klētnieks wrote: > This died a horrid death on my laptop when building with W=1. > > CC arch/x86/kvm/mmu/tdp_iter.o > In file included from arch/x86/kvm/mmu/tdp_iter.c:5: > arch/x86/kvm/mmu/spte.h:120:18: error: 'shadow_nonpresent_or_rsvd_mask_len' > defined but

Re: [PATCH v2 1/2] Input: i8042 - Prevent intermixing i8042 commands

2020-10-28 Thread Hans de Goede
Hi, Quick self intro: I have take over drivers/platform/x86 maintainership from Andy; and I'm working my way through the backlog of old patches in patchwork: https://patchwork.kernel.org/project/platform-driver-x86/list/ On 8/27/20 10:41 PM, Raul E Rangel wrote: > The i8042_mutex must be held by

Re: [PATCH] ASoC: qcom: sm8250: Fix array out of bounds access

2020-10-28 Thread Mark Brown
On Wed, 28 Oct 2020 14:20:01 +, Srinivas Kandagatla wrote: > Static analysis Coverity had detected a potential array out-of-bounds > write issue due to the fact that MAX AFE port Id was set to 16 instead > of using AFE_PORT_MAX macro. > > Fix this by properly using AFE_PORT_MAX macro.

Re: problems with splice from /proc (was Linux 5.10-rc1)

2020-10-28 Thread Greg KH
On Tue, Oct 27, 2020 at 04:32:13PM +, Christoph Hellwig wrote: > On Tue, Oct 27, 2020 at 10:17:25AM +0100, Greg KH wrote: > > Ok, I couldn't get a clean merge of that old branch on top of your > > 5.10-rc1 tree, so I can't give it a run-through. If you have an updated > > series you want me

Re: 回复: [PATCH] io-wq: set task TASK_INTERRUPTIBLE state before schedule_timeout

2020-10-28 Thread Jens Axboe
On 10/27/20 8:47 PM, Zhang, Qiang wrote: > > > > 发件人: Jens Axboe > 发送时间: 2020年10月27日 21:35 > 收件人: Zhang, Qiang > 抄送: io-ur...@vger.kernel.org; linux-kernel@vger.kernel.org > 主题: Re: [PATCH] io-wq: set task TASK_INTERRUPTIBLE state before >

Re: [PATCH 4.4 000/112] 4.4.241-rc1 review

2020-10-28 Thread Guenter Roeck
On Wed, Oct 28, 2020 at 10:06:21AM -0700, Guenter Roeck wrote: > On Tue, Oct 27, 2020 at 02:48:30PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.241 release. > > There are 112 patches in this series, all will be posted as a response > > to this one.

[RESEND PATCH] entry: Fixup irqentry_enter() comment

2020-10-28 Thread ira . weiny
From: Ira Weiny irq_enter_from_user_mode() was changed to irqentry_enter_from_user_mode(). Update the comment within irqentry_enter() to reflect this change. Suggested-by: Thomas Gleixner Signed-off-by: Ira Weiny --- Resend due to mail being dropped on it's way to LKML

[PATCH 7/8] sched: Replace spaces with tabs

2020-10-28 Thread John B. Wyatt IV
Matches the convention of the surrounding code. Issue reported by checkpatch. Signed-off-by: John B. Wyatt IV --- arch/x86/include/asm/thread_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h

Re: [PATCH] ath10k: Fix the parsing error in service available event

2020-10-28 Thread Doug Anderson
Hi, On Tue, Oct 27, 2020 at 8:20 AM Rakesh Pillai wrote: > > The wmi service available event has been > extended to contain extra 128 bit for new services > to be indicated by firmware. > > Currently the presence of any optional TLVs in > the wmi service available event leads to a parsing >

[PATCH RT] mm/memcontrol: Disable preemption in __mod_memcg_lruvec_state()

2020-10-28 Thread Sebastian Andrzej Siewior
The callers expect disabled preemption/interrupts while invoking __mod_memcg_lruvec_state(). This works mainline because a lock of some kind is acquired. Use preempt_disable_rt() where per-CPU variables are accessed and a stable pointer is expected. This is also done in __mod_zone_page_state()

Re: [PATCH 4.19 000/264] 4.19.153-rc1 review

2020-10-28 Thread Guenter Roeck
Retry. On Wed, Oct 28, 2020 at 10:10:35AM -0700, Guenter Roeck wrote: > On Tue, Oct 27, 2020 at 02:50:58PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.153 release. > > There are 264 patches in this series, all will be posted as a response > > to

Re: [PATCH] KUnit: Docs: style: fix some Kconfig example issues

2020-10-28 Thread David Gow
On Wed, Oct 28, 2020 at 2:49 AM Randy Dunlap wrote: > > Fix the Kconfig example to be closer to Kconfig coding style. > (Except that it still uses spaces instead of tabs for indentation; > I guess that Sphinx wants it that way.) > > Also add punctuation and a trailing slash ('/') to a

Re: [PATCH v2 1/2] bpf: don't rely on GCC __attribute__((optimize)) to disable GCSE

2020-10-28 Thread Alexei Starovoitov
On Wed, Oct 28, 2020 at 06:15:05PM +0100, Ard Biesheuvel wrote: > Commit 3193c0836 ("bpf: Disable GCC -fgcse optimization for > ___bpf_prog_run()") introduced a __no_fgcse macro that expands to a > function scope __attribute__((optimize("-fno-gcse"))), to disable a > GCC specific optimization that

Re: [PATCH v2] serial: max310x: rework RX interrupt handling

2020-10-28 Thread Thomas Petazzoni
Hello, On Wed, 28 Oct 2020 18:06:51 +0100 Thomas Petazzoni wrote: > On my way to send a v3 :-) Well, in fact the patch is upstream already: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/tty/serial/max310x.c?id=fce3c5c1a2d9cd888f2987662ce17c0c651916b2 So

[PATCH v4 5/5] ARM: defconfig: Enable ax88796c driver

2020-10-28 Thread Łukasz Stelmach
Enable ax88796c driver for the ethernet chip on Exynos3250-based ARTIK5 boards. Signed-off-by: Łukasz Stelmach --- arch/arm/configs/exynos_defconfig | 2 ++ arch/arm/configs/multi_v7_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig

Re: [PATCH v2] serial: max310x: rework RX interrupt handling

2020-10-28 Thread Thomas Petazzoni
Hello, On Wed, 28 Oct 2020 17:20:24 +0100 Jan Kundrát wrote: > Thanks for taking the time to write this patch. We're using MAX14830 on a > Clearfog Base board via a 26 MHz SPI bus. Our code polls a custom > peripheral over UART at 115200 baud ten times a second; the messages are > typically

Re: [PATCH] clk: imx: gate2: Fix the is_enabled op

2020-10-28 Thread Abel Vesa
On 20-10-28 09:24:12, Sascha Hauer wrote: > Hi Abel, > > On Mon, Oct 26, 2020 at 08:50:48PM +0200, Abel Vesa wrote: > > The clock is considered to be enabled only if the controlling bits > > match the cgr_val mask. Also make sure the is_enabled returns the > > correct vaule by locking the access

[PATCH v4 0/5] AX88796C SPI Ethernet Adapter

2020-10-28 Thread Łukasz Stelmach
This is a driver for AX88796C Ethernet Adapter connected in SPI mode as found on ARTIK5 evaluation board. The driver has been ported from a v3.10.9 vendor kernel for ARTIK5 board. Changes in v4: - fixed compilation problems in asix,ax88796c.yaml and in ax88796c_main.c introduced in v3

[PATCH v4 4/5] ARM: dts: exynos: Add Ethernet to Artik 5 board

2020-10-28 Thread Łukasz Stelmach
Add node for ax88796c ethernet chip. Signed-off-by: Łukasz Stelmach --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 29 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts index

[PATCH v4 2/5] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter

2020-10-28 Thread Łukasz Stelmach
Add bindings for AX88796C SPI Ethernet Adapter. Signed-off-by: Łukasz Stelmach --- .../bindings/net/asix,ax88796c.yaml | 69 +++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/asix,ax88796c.yaml diff --git

Re: [PATCH v5 1/7] fpga: sec-mgr: intel fpga security manager class driver

2020-10-28 Thread Russ Weight
On 10/27/20 7:41 PM, Wu, Hao wrote: >> On 10/25/20 7:29 PM, Wu, Hao wrote: Subject: [PATCH v5 1/7] fpga: sec-mgr: intel fpga security manager class driver Create the FPGA Security Manager class driver. The security manager provides interfaces to manage secure updates

Re: [Linux-stm32] [PATCH v7 10/12] ARM: dts: stm32: Fix schema warnings for pwm-leds

2020-10-28 Thread Alexander Dahl
Hello Ahmad, Am Dienstag, 27. Oktober 2020, 11:58:10 CET schrieb Ahmad Fatoum: > Hello, > > On 10/27/20 11:05 AM, Alexander Dahl wrote: > > Hello Ahmad, > > > > thanks for your feedback, comments below. > > > >>> - led-rgb { > >>> + led-controller-2 { > >> > >> Is a single RGB LED really a

[PATCH v2 net 0/5] net: ipa: minor bug fixes

2020-10-28 Thread Alex Elder
This series fixes several bugs. They are minor, in that the code currently works on supported platforms even without these patches applied, but they're bugs nevertheless and should be fixed. Version 2 improves the commit message for the fourth patch. It also fixes a bug in two spots in the last

[PATCH v3 3/9] perf mem: Support new memory event PERF_MEM_EVENTS__LOAD_STORE

2020-10-28 Thread Leo Yan
On the architectures with perf memory profiling, two types of hardware events have been supported: load and store; if want to profile memory for both load and store operations, the tool will use these two events at the same time, the usage is: # perf mem record -t load,store -- uname But this

Re: 答复: [PATCH] bus: mhi: core: Add support MHI EE FP for download firmware

2020-10-28 Thread Bhaumik Bhatt
On 2020-10-27 18:57, Carl Yin wrote: Hi bbhatt: On Wednesday, October 28, 2020 9:34 AM, bbhatt wrote: Hi Carl, On 2020-10-27 16:01, Hemant Kumar wrote: > Hi Jeff, > > On 10/27/20 8:11 AM, Jeffrey Hugo wrote: >> On 10/27/2020 3:43 AM, carl@quectel.com wrote: >>> From: "carl.yin" >>> >>>

Re: [PATCH] mtd: rawnand: qcom: Fix DMA sync on FLASH_STATUS register read

2020-10-28 Thread Miquel Raynal
Hello, Praveenkumar I wrote on Wed, 28 Oct 2020 19:48:34 +0530: > Hi Miquel, > > Please find the inline reply. > > Thanks, > Praveenkumar I > > > On 10/28/2020 3:38 PM, Miquel Raynal wrote: > > Hello, > > > > Praveenkumar I wrote on Fri, 9 Oct 2020 > > 13:37:52 +0530: > > > >> After

Re: [PATCH] cpufreq: schedutil: set sg_policy->next_freq to the final cpufreq

2020-10-28 Thread Viresh Kumar
On 27-10-20, 19:54, zhuguangqin...@gmail.com wrote: > From: zhuguangqing > > In the following code path, next_freq is clamped between policy->min > and policy->max twice in functions cpufreq_driver_resolve_freq() and > cpufreq_driver_fast_switch(). For there is no update_lock in the code > path,

Re: [PATCH 2/3] ARM: dts: aspeed: amd-ethanolx: Enable KCS channel 3

2020-10-28 Thread Joel Stanley
On Tue, 27 Oct 2020 at 12:41, Konstantin Aladyshev wrote: > > The KCS interface on the LPC channel 3 in the controller > is used for the in-band BMC<->BIOS IPMI communication. > 0xCA2 is a default host CPU LPC IO address for this > interface. > > Signed-off-by: Konstantin Aladyshev I don't have

RE: [PATCH V5 0/2] Change vring space from nomal memory to dma coherent memory

2020-10-28 Thread Sherry Sun
> Subject: Re: [PATCH V5 0/2] Change vring space from nomal memory to dma > coherent memory > > On Wed, Oct 28, 2020 at 06:05:28AM +, Sherry Sun wrote: > > Hi Greg, > > > > > Subject: Re: [PATCH V5 0/2] Change vring space from nomal memory to > > > dma coherent memory > > > > > > On Wed,

Re: [PATCH 4.14 000/191] 4.14.203-rc1 review

2020-10-28 Thread Guenter Roeck
Retry. On Wed, Oct 28, 2020 at 10:08:53AM -0700, Guenter Roeck wrote: > On Tue, Oct 27, 2020 at 02:47:35PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.203 release. > > There are 191 patches in this series, all will be posted as a response > > to

Re: [PATCH] opp: Don't always remove static OPPs in _of_add_opp_table_v1()

2020-10-28 Thread Geert Uytterhoeven
Hi Viresh, On Wed, 14 Oct 2020, Viresh Kumar wrote: The patch missed returning 0 early in case of success and hence the static OPPs got removed by mistake. Fix it. Fixes: 90d46d71cce2 ("opp: Handle multiple calls for same OPP table in _of_add_opp_table_v1()") Reported-by: Aisheng Dong

Re: [PATCH v2 06/15] perf session: load data directory into tool process memory

2020-10-28 Thread Jiri Olsa
On Wed, Oct 28, 2020 at 04:22:49PM +0900, Namhyung Kim wrote: > On Tue, Oct 27, 2020 at 11:43 PM Alexey Budankov > wrote: > > > > > > On 27.10.2020 15:21, Jiri Olsa wrote: > > > On Tue, Oct 27, 2020 at 10:37:58AM +0300, Alexey Budankov wrote: > > >> I agree perf report OOM issue can exist on

[PATCH v3 1/6] irq_work: Cleanup

2020-10-28 Thread Peter Zijlstra
Get rid of the __call_single_node union and clean up the API a little to avoid external code relying on the structure layout as much. Signed-off-by: Peter Zijlstra (Intel) --- drivers/gpu/drm/i915/i915_request.c |4 ++-- include/linux/irq_work.h| 33

Re: [PATCH] net: cls_api: remove unneeded local variable in tc_dump_chain()

2020-10-28 Thread Cong Wang
On Wed, Oct 28, 2020 at 6:59 AM Tom Rix wrote: > > > On 10/28/20 4:35 AM, Lukas Bulwahn wrote: > > @@ -2971,13 +2963,11 @@ static int tc_dump_chain(struct sk_buff *skb, > > struct netlink_callback *cb) > > if (!dev) > > return skb->len; > > > > -

Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used ring

2020-10-28 Thread Vincent Whitchurch
On Wed, Oct 28, 2020 at 02:47:49AM +0100, Sherry Sun wrote: > > Subject: Re: [PATCH V3 2/4] misc: vop: do not allocate and reassign the used > > ring > > > > On Tue, Oct 27, 2020 at 08:05:43AM +0100, Sherry Sun wrote: > > > Can you help test the patch about removing the codes of reassign used > >

[PATCH v3 2/6] smp: Cleanup smp_call_function*()

2020-10-28 Thread Peter Zijlstra
Get rid of the __call_single_node union and cleanup the API a little to avoid external code relying on the structure layout as much. Signed-off-by: Peter Zijlstra (Intel) --- arch/mips/kernel/process.c |5 +- arch/mips/kernel/smp.c | 25

Re: [PATCH 03/11] firmware: arm_scmi: introduce common protocol interface

2020-10-28 Thread Cristian Marussi
On Mon, Oct 26, 2020 at 09:07:12AM -0400, Thara Gopinath wrote: Hi Thara, > > > On 10/21/20 6:27 AM, Cristian Marussi wrote: > > On Tue, Oct 20, 2020 at 10:47:10PM -0400, Thara Gopinath wrote: > > > > > > > > > On 10/14/20 11:05 AM, Cristian Marussi wrote: > > > > Introduce generic

Re: [PATCH v36 00/13] /dev/random - a new approach

2020-10-28 Thread Greg Kroah-Hartman
On Wed, Oct 28, 2020 at 06:51:17PM +0100, Torsten Duwe wrote: > On Mon, 19 Oct 2020 21:28:50 +0200 > Stephan Müller wrote: > [...] > > * Sole use of crypto for data processing: > [...] > > - The LRNG uses only properly defined and implemented cryptographic > >algorithms unlike the use of the

Re: [PATCH 32/33] docs: ABI: stable: remove a duplicated documentation

2020-10-28 Thread Wei Liu
On Wed, Oct 28, 2020 at 03:23:30PM +0100, Mauro Carvalho Chehab wrote: > Perhaps due to a wrong cut-and-paste, this entry: > > What: /sys/bus/vmbus/devices//channels//cpu > > was added twice by the same patch, one following the other. > > Remove the duplication. > > Fixes:

[PATCH v2] sched/fair: prefer prev cpu in asymmetric wakeup path

2020-10-28 Thread Vincent Guittot
During fast wakeup path, scheduler always check whether local or prev cpus are good candidates for the task before looking for other cpus in the domain. With commit b7a331615d25 ("sched/fair: Add asymmetric CPU capacity wakeup scan") the heterogenous system gains a dedicated path but doesn't try

Re: [PATCH 5.4 000/408] 5.4.73-rc1 review

2020-10-28 Thread Guenter Roeck
Retry. On Wed, Oct 28, 2020 at 10:11:08AM -0700, Guenter Roeck wrote: > On Tue, Oct 27, 2020 at 02:48:58PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.73 release. > > There are 408 patches in this series, all will be posted as a response > > to

[PATCH net-next v3 4/4] net: hdlc_fr: Add support for any Ethertype

2020-10-28 Thread Xie He
Change the fr_rx function to make this driver support any Ethertype when receiving skbs on normal (non-Ethernet-emulating) PVC devices. (This driver is already able to handle any Ethertype when sending.) Originally in the fr_rx function, the code that parses the long (10-byte) header only

[PATCH v3 5/6] irq_work: Provide irq_work_queue_remote()

2020-10-28 Thread Peter Zijlstra
While the traditional irq_work relies on the ability to self-IPI, it makes sense to provide an unconditional irq_work_queue_remote() interface. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/irq_work.h | 17 -- kernel/irq_work.c| 129

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-28 Thread Paul E. McKenney
On Wed, Oct 28, 2020 at 04:08:59PM -0400, Qian Cai wrote: > On Wed, 2020-10-28 at 08:53 -0700, Paul E. McKenney wrote: > > On Wed, Oct 28, 2020 at 10:39:47AM -0400, Qian Cai wrote: > > > On Tue, 2020-10-27 at 20:01 -0700, Paul E. McKenney wrote: > > > > If I have the right email thread associated

Re: [PATCH v3 5/6] irq_work: Provide irq_work_queue_remote()

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 02:40:46PM +0100, Frederic Weisbecker wrote: > On Wed, Oct 28, 2020 at 12:07:12PM +0100, Peter Zijlstra wrote: > > While the traditional irq_work relies on the ability to self-IPI, it > > makes sense to provide an unconditional irq_work_queue_remote() > > interface. > > We

Re: [PATCH] tools/perf: Remove broken __no_tail_call attribute

2020-10-28 Thread Miguel Ojeda
On Wed, Oct 28, 2020 at 9:11 AM Peter Zijlstra wrote: > > Subject: tools/perf: Remove broken __no_tail_call attribute Acked-by: Miguel Ojeda Cheers, Miguel

Re: [tip: locking/core] lockdep: Fix usage_traceoverflow

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 05:40:48PM +, Chris Wilson wrote: > Quoting Chris Wilson (2020-10-27 16:34:53) > > Quoting Peter Zijlstra (2020-10-27 15:45:33) > > > On Tue, Oct 27, 2020 at 01:29:10PM +, Chris Wilson wrote: > > > > > > > <4> [304.908891] hm#2, depth: 6 [6], 3425cfea6ff31f7f != >

[PATCH v2 1/1] usb: typec: stusb160x: fix signedness comparison issue with enum variables

2020-10-28 Thread Amelie Delaunay
chip->port_type and chip->pwr_opmode are enums and when GCC considers them as unsigned, the conditions are never met. This patch takes advantage of the ret variable and fixes the following warnings: drivers/usb/typec/stusb160x.c:548 stusb160x_get_fw_caps() warn: unsigned 'chip->port_type' is

Re: [PATCH] x86: Drop RDPID macro to discourage use of RDPID in the kernel

2020-10-28 Thread Peter Zijlstra
On Tue, Oct 27, 2020 at 02:45:32PM -0700, Sean Christopherson wrote: > Drop the GAS-compatible RDPID macro as RDPID shouldn't be used in the > kernel, excepting the vDSO, which handcodes RDPID in inline asm. RDPID > is unsafe in the kernel because KVM loads guest's TSC_AUX on VM-entry > and may

答复: [PATCH] bus: mhi: core: Fix null pointer access

2020-10-28 Thread 殷张成
Hi bbhatt: On Wednesday, October 28, 2020 9:02 AM, bbhatt wrote: > Hi Carl, > > Yes this change is needed. Good catch. I ran in to this issue as well when a > dev_err() call was made with a bad MHI configuration. [carl.yin] yes, I also meet this error with a bad MHI configuration. > > Maybe

Re: linux-next: build warning in Linus' tree

2020-10-28 Thread Stephen Rothwell
Hi Micah, On Wed, 28 Oct 2020 08:56:00 -0700 Micah Morton wrote: > > Thanks for the heads up. I think someone sent a patch to fix this > yesterday: https://marc.info/?l=linux-doc=160379233902729=2 > > Do I need to do anything else or should that cover it? That should be fine, thanks. --

RE: [EXT] Re: [PATCH V5 0/2] Change vring space from nomal memory to dma coherent memory

2020-10-28 Thread Andy Duan
From: Greg KH Sent: Wednesday, October 28, 2020 7:14 PM > On Wed, Oct 28, 2020 at 10:17:39AM +, Andy Duan wrote: > > From: Greg KH Sent: Wednesday, October > > 28, 2020 3:07 PM > > > On Wed, Oct 28, 2020 at 06:05:28AM +, Sherry Sun wrote: > > > > Hi Greg, > > > > > > > > > Subject: Re:

Re: [PATCH v2 2/2] net: ftgmac100: add handling of mdio/phy nodes for ast2400/2500

2020-10-28 Thread Ivan Mikhaylov
On Tue, 2020-10-27 at 19:23 +0100, Andrew Lunn wrote: > On Tue, Oct 27, 2020 at 05:49:24PM +0300, Ivan Mikhaylov wrote: > > phy-handle can't be handled well for ast2400/2500 which has an embedded > > MDIO controller. Add ftgmac100_mdio_setup for ast2400/2500 and initialize > > PHYs from mdio child

Re: [RFC][PATCH v3 6/6] rcu/tree: Use irq_work_queue_remote()

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 03:54:28PM +0100, Peter Zijlstra wrote: > On Wed, Oct 28, 2020 at 12:07:13PM +0100, Peter Zijlstra wrote: > > AFAICT we only need/use irq_work_queue_on() on remote CPUs, since we > > can directly access local state. So avoid the IRQ_WORK dependency and > > use the

[PATCH v2] mm: memcg/slab: Fix use after free in obj_cgroup_charge

2020-10-28 Thread Muchun Song
The rcu_read_lock/unlock only can guarantee that the memcg will not be freed, but it cannot guarantee the success of css_get to memcg. If the whole process of a cgroup offlining is completed between reading a objcg->memcg pointer and bumping the css reference on another CPU, and there are exactly

Re: [PATCH v2 1/2] sched/wait: Add add_wait_queue_priority()

2020-10-28 Thread Paolo Bonzini
On 28/10/20 15:20, Peter Zijlstra wrote: > Shall I take the waitqueue thing and stick it in a topic branch for > Paolo so he can then merge that and the kvm bits on top into the KVM > tree? Topic branches are always the best solution. :) Paolo

Re: [PATCH 1/3] x86/debug: Fix BTF handling

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 06:20:25PM +0900, Masami Hiramatsu wrote: > On Tue, 27 Oct 2020 20:41:26 +0100 > Peter Zijlstra wrote: > > > On Tue, Oct 27, 2020 at 10:15:05AM +0100, Peter Zijlstra wrote: > > > > > @@ -873,6 +866,20 @@ static __always_inline void exc_debug_ke > > >*/ > > >

Re: [PATCH] ext4: properly check for dirty state in ext4_inode_datasync_dirty()

2020-10-28 Thread Ritesh Harjani
On 10/27/20 3:58 AM, harshad shirwadkar wrote: Thanks Andrea for catching and sending out a fix for this. On Sat, Oct 24, 2020 at 7:01 AM Andrea Righi wrote: ext4_inode_datasync_dirty() needs to return 'true' if the inode is dirty, 'false' otherwise, but the logic seems to be incorrectly

[PATCH] mtd: spi-nor: intel-spi: Split intel-spi reading from writing

2020-10-28 Thread Daniel Gutson
This patch separates the writing part of the intel-spi drivers so the 'dangerous' part can be set/unset independently. This way, the kernel can be configured to include the reading parts of the driver which can be used without the dangerous write operations that can turn the system unbootable.

Re: [tip: locking/core] lockdep: Fix usage_traceoverflow

2020-10-28 Thread Peter Zijlstra
On Wed, Oct 28, 2020 at 08:42:09PM +0100, Peter Zijlstra wrote: > On Wed, Oct 28, 2020 at 05:40:48PM +, Chris Wilson wrote: > > Quoting Chris Wilson (2020-10-27 16:34:53) > > > Quoting Peter Zijlstra (2020-10-27 15:45:33) > > > > On Tue, Oct 27, 2020 at 01:29:10PM +, Chris Wilson wrote: >

Re: [PATCH bpf-next 2/5] bpf: Implement get_current_task_btf and RET_PTR_TO_BTF_ID

2020-10-28 Thread Martin KaFai Lau
On Tue, Oct 27, 2020 at 06:03:14PM +0100, KP Singh wrote: [ ... ] > diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c > index b0790876694f..eb0aef85fc11 100644 > --- a/kernel/bpf/verifier.c > +++ b/kernel/bpf/verifier.c > @@ -493,7 +493,8 @@ static bool is_ptr_cast_function(enum

Re: [PATCH bpf-next 1/5] bpf: Implement task local storage

2020-10-28 Thread Martin KaFai Lau
On Tue, Oct 27, 2020 at 06:03:13PM +0100, KP Singh wrote: [ ... ] > diff --git a/kernel/bpf/bpf_task_storage.c b/kernel/bpf/bpf_task_storage.c > new file mode 100644 > index ..774140c458cc > --- /dev/null > +++ b/kernel/bpf/bpf_task_storage.c > @@ -0,0 +1,327 @@ > +//

Re: [PATCH] soc: ti: ti_sci_pm_domains: check for proper args count in xlate

2020-10-28 Thread Nishanth Menon
On 16:17-20201028, Tero Kristo wrote: > K2G devices still only use single parameter for power-domains property, > so check for this properly in the driver. Without this, every peripheral > fails to probe resulting in boot failure. > > Fixes: efa5c01cd7ee ("soc: ti: ti_sc

Re: [PATCH 1/3] ARM: dts: aspeed: amd-ethanolx: Update KCS nodes to use v2 binding

2020-10-28 Thread Joel Stanley
On Tue, 27 Oct 2020 at 12:38, Konstantin Aladyshev wrote: > > KCS nodes compatible property in the 'aspeed-g5.dtsi' file was > changed to use v2 binding in the commit fa4c8ec6feaa > ("ARM: dts: aspeed: Change KCS nodes to v2 binding"). > For the proper initialization of /dev/ipmi-kcs* devices >

Re: [PATCH 1/2] media: i2c: imx258: add HDR control

2020-10-28 Thread Krzysztof Kozlowski
On Mon, Oct 05, 2020 at 05:15:58PM +0200, Krzysztof Kozlowski wrote: > The IMX258 supports High Dynamic Range with 5 levels of low/high > exposure ratio. Add a V4L2 control for HDR (WIDE_DYNAMIC_RANGE). > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/media/i2c/imx258.c | 28

Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-10-28 Thread Miquel Raynal
Hi Yifeng, A few more comments below, but overall looks better. Yifeng Zhao wrote on Wed, 28 Oct 2020 17:53:24 +0800: > This driver supports Rockchip NFC (NAND Flash Controller) found on RK3308, > RK2928, RKPX30, RV1108 and other SOCs. The driver has been tested using > 8-bit NAND interface on

Re: [PATCH v4 0/7] mtd: spi-nor: add xSPI Octal DTR support

2020-10-28 Thread Tudor.Ambarus
Hi, Mason, YC Lin, We'll have to figure out how we can best use the "Command Sequences to Change to Octal DDR" table. Would be great if you continue to work on this. One has to rebase this series on top of v5.10-rc1 with Pratyush's series [1] applied in advance. Please let me know about your

Re: [PATCH v4 6/7] arm64: mm: Set ZONE_DMA size based on early IORT scan

2020-10-28 Thread Hanjun Guo
On 2020/10/21 20:34, Nicolas Saenz Julienne wrote: From: Ard Biesheuvel We recently introduced a 1 GB sized ZONE_DMA to cater for platforms incorporating masters that can address less than 32 bits of DMA, in particular the Raspberry Pi 4, which has 4 or 8 GB of DRAM, but has peripherals that

[PATCH 1/4] powerpc: Refactor is_kvm_guest declaration to new header

2020-10-28 Thread Srikar Dronamraju
Only code/declaration movement, in anticipation of doing a kvm-aware vcpu_is_preempted. No additional changes. Signed-off-by: Srikar Dronamraju Cc: linuxppc-dev Cc: LKML Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Nathan Lynch Cc: Gautham R Shenoy Cc: Peter Zijlstra Cc: Valentin

[PATCH] ext4: Use generic casefolding support

2020-10-28 Thread Daniel Rosenberg
This switches ext4 over to the generic support provided in libfs. Since casefolded dentries behave the same in ext4 and f2fs, we decrease the maintenance burden by unifying them, and any optimizations will immediately apply to both. Signed-off-by: Daniel Rosenberg Reviewed-by: Eric Biggers ---

  1   2   3   4   5   6   7   8   9   10   >