[PATCH v2 3/3] arm64: dts: qcom: sm8250-xiaomi-elish: Enable usb_1 otg

2023-11-24 Thread Jianhua Lu
Change dr_mode to otg and set usb_role_swith property to enable usb otg. Signed-off-by: Jianhua Lu --- Changes in v2: 1. a new patch that I missed to generate. arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2 2/3] arm64: dts: qcom: sm8250-xiaomi-elish: Add pm8150b type-c node

2023-11-24 Thread Jianhua Lu
Add type-c node to feature otg function. Signed-off-by: Jianhua Lu --- No changes in v2. .../dts/qcom/sm8250-xiaomi-elish-common.dtsi | 36 +++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi

[PATCH v2 1/3] arm64: dts: qcom: sm8250-xiaomi-elish: Fix typos

2023-11-24 Thread Jianhua Lu
There are two typos in this dtsi, so fix it. classis -> chassis. 8070 -> 8060 Signed-off-by: Jianhua Lu --- No changes in v2. arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/3] arm64: dts: qcom: sm8250-xiaomi-elish: Sort ufs node

2023-11-24 Thread Jianhua Lu
On Fri, Nov 24, 2023 at 04:54:20PM +0100, Krzysztof Kozlowski wrote: > On 24/11/2023 14:57, Jianhua Lu wrote: > > ufs node isn't in a right place, 'f' is front of 's', so move it to > > above usb node. > > Please not. > > If we change the order to match DTSI, then this patch would be wrong. >

[mhiramat:topic/fprobe-on-fgraph] [function_graph] 1c96d64aa1: WARNING:at_kernel/trace/trace.c:#run_tracer_selftest

2023-11-24 Thread kernel test robot
ls to reproduce are available at: https://download.01.org/0day-ci/archive/20231124/202311241731.d1159c9f-oliver.s...@intel.com -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki

Re: [PATCH RFC v2 15/27] arm64: mte: Check that tag storage blocks are in the same zone

2023-11-24 Thread David Hildenbrand
On 19.11.23 17:57, Alexandru Elisei wrote: alloc_contig_range() requires that the requested pages are in the same zone. Check that this is indeed the case before initializing the tag storage blocks. Signed-off-by: Alexandru Elisei --- arch/arm64/kernel/mte_tag_storage.c | 33

Re: [PATCH RFC v2 14/27] arm64: mte: Disable dynamic tag storage management if HW KASAN is enabled

2023-11-24 Thread David Hildenbrand
On 19.11.23 17:57, Alexandru Elisei wrote: To be able to reserve the tag storage associated with a page requires that the tag storage page can be migrated. When HW KASAN is enabled, the kernel allocates pages, which are now tagged, in non-preemptible contexts, which can make reserving the

Re: [PATCH RFC v2 13/27] arm64: mte: Make tag storage depend on ARCH_KEEP_MEMBLOCK

2023-11-24 Thread David Hildenbrand
On 19.11.23 17:57, Alexandru Elisei wrote: Tag storage memory requires that the tag storage pages used for data are always migratable when they need to be repurposed to store tags. If ARCH_KEEP_MEMBLOCK is enabled, kexec will scan all non-reserved memblocks to find a suitable location for

Re: [PATCH RFC v2 12/27] arm64: mte: Add tag storage pages to the MIGRATE_CMA migratetype

2023-11-24 Thread David Hildenbrand
On 19.11.23 17:57, Alexandru Elisei wrote: Add the MTE tag storage pages to the MIGRATE_CMA migratetype, which allows the page allocator to manage them like regular pages. Ths migratype lends the pages some very desirable properties: * They cannot be longterm pinned, meaning they will always

Re: [PATCH RFC v2 06/27] mm: page_alloc: Allow an arch to hook early into free_pages_prepare()

2023-11-24 Thread David Hildenbrand
On 19.11.23 17:57, Alexandru Elisei wrote: Add arch_free_pages_prepare() hook that is called before that page flags are cleared. This will be used by arm64 when explicit management of tag storage pages is enabled. Can you elaborate a bit what exactly will be done by that code with that

Re: [PATCH RFC v2 05/27] mm: page_alloc: Add an arch hook to allow prep_new_page() to fail

2023-11-24 Thread David Hildenbrand
On 19.11.23 17:56, Alexandru Elisei wrote: Introduce arch_prep_new_page(), which will be used by arm64 to reserve tag storage for an allocated page. Reserving tag storage can fail, for example, if the tag storage page has a short pin on it, so allow prep_new_page() -> arch_prep_new_page() to

Re: [PATCH] remoteproc: qcom: Add NOTIFY_FATAL event type to SSR subdevice

2023-11-24 Thread Vignesh Viswanathan
On 9/4/2023 10:23 PM, Vignesh Viswanathan wrote: On 7/16/2023 1:50 AM, Bjorn Andersson wrote: On Wed, May 03, 2023 at 11:51:46AM +0530, Vignesh Viswanathan wrote: Currently the SSR subdevice notifies the client driver on crash of the rproc from the recovery workqueue using the

[PATCH] remoteproc: qcom: q6v5: Get crash reason from specific SMEM partition

2023-11-24 Thread Vignesh Viswanathan
q6v5 fatal and watchdog IRQ handlers always retrieves the crash reason information from SMEM global partition (QCOM_SMEM_HOST_ANY). For some targets like IPQ9574 and IPQ5332, crash reason information is present in target specific partition due to which the crash reason is not printed in the

Re: [ANNOUNCE] 5.10.201-rt98

2023-11-24 Thread Greg Kroah-Hartman
On Wed, Nov 22, 2023 at 10:36:23AM -0300, Luis Claudio R. Goncalves wrote: > On Tue, Nov 21, 2023 at 10:01:25PM -0300, Luis Claudio R. Goncalves wrote: > > Hello RT-list! > > > > I'm pleased to announce the 5.10.201-rt98 stable release. > > > > This release is just an update to the new stable

Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: Move video-firmware to chrome-common

2023-11-24 Thread Luca Weiss
On Fri Nov 24, 2023 at 2:35 PM CET, Vikash Garodia wrote: > > > On 11/24/2023 6:23 PM, Dmitry Baryshkov wrote: > > On Fri, 24 Nov 2023 at 14:30, Vikash Garodia > > wrote: > >> > >> On 11/24/2023 5:05 PM, Luca Weiss wrote: > >>> On Fri Nov 24, 2023 at 7:38 AM CET, Vikash Garodia wrote: > >

Re: [PATCH 2/3] arm64: dts: qcom: sm8250-xiaomi-elish: Sort ufs node

2023-11-24 Thread Krzysztof Kozlowski
On 24/11/2023 14:57, Jianhua Lu wrote: > ufs node isn't in a right place, 'f' is front of 's', so move it to > above usb node. Please not. If we change the order to match DTSI, then this patch would be wrong. Best regards, Krzysztof

Re: [PATCH] rethook: Use __rcu pointer for rethook::handler

2023-11-24 Thread kernel test robot
Hi Masami, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.7-rc2 next-20231124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH 3/3] arm64: dts: qcom: sm8250-xiaomi-elish: Add pm8150b type-c node

2023-11-24 Thread Jianhua Lu
Add type-c node to feature otg function. Signed-off-by: Jianhua Lu --- .../dts/qcom/sm8250-xiaomi-elish-common.dtsi | 36 +++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi

[PATCH 2/3] arm64: dts: qcom: sm8250-xiaomi-elish: Sort ufs node

2023-11-24 Thread Jianhua Lu
ufs node isn't in a right place, 'f' is front of 's', so move it to above usb node. Signed-off-by: Jianhua Lu --- .../dts/qcom/sm8250-xiaomi-elish-common.dtsi | 32 +-- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git

[PATCH 1/3] arm64: dts: qcom: sm8250-xiaomi-elish: Fix typos

2023-11-24 Thread Jianhua Lu
There are two typos in this dtsi, so fix it. classis -> chassis. 8070 -> 8060 Signed-off-by: Jianhua Lu --- arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: Move video-firmware to chrome-common

2023-11-24 Thread Vikash Garodia
On 11/24/2023 6:23 PM, Dmitry Baryshkov wrote: > On Fri, 24 Nov 2023 at 14:30, Vikash Garodia > wrote: >> >> On 11/24/2023 5:05 PM, Luca Weiss wrote: >>> On Fri Nov 24, 2023 at 7:38 AM CET, Vikash Garodia wrote: On 11/22/2023 7:50 PM, Luca Weiss wrote: > On Wed Nov 22, 2023 at

Re: [REGRESSION] USB ports do not work after suspend/resume cycle with v6.6.2

2023-11-24 Thread Greg Kroah-Hartman
On Fri, Nov 24, 2023 at 01:59:24PM +0100, Vlastimil Babka wrote: > +Cc workflows > > On 11/24/23 12:43, Greg Kroah-Hartman wrote: > > On Thu, Nov 23, 2023 at 07:20:46PM +0100, Oleksandr Natalenko wrote: > >> Hello. > >> > >> Since v6.6.2 kernel release I'm experiencing a regression with regard >

Re: [REGRESSION] USB ports do not work after suspend/resume cycle with v6.6.2

2023-11-24 Thread Vlastimil Babka
+Cc workflows On 11/24/23 12:43, Greg Kroah-Hartman wrote: > On Thu, Nov 23, 2023 at 07:20:46PM +0100, Oleksandr Natalenko wrote: >> Hello. >> >> Since v6.6.2 kernel release I'm experiencing a regression with regard >> to USB ports behaviour after a suspend/resume cycle. >> >> If a USB port is

Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: Move video-firmware to chrome-common

2023-11-24 Thread Dmitry Baryshkov
On Fri, 24 Nov 2023 at 14:30, Vikash Garodia wrote: > > On 11/24/2023 5:05 PM, Luca Weiss wrote: > > On Fri Nov 24, 2023 at 7:38 AM CET, Vikash Garodia wrote: > >> > >> On 11/22/2023 7:50 PM, Luca Weiss wrote: > >>> On Wed Nov 22, 2023 at 2:17 PM CET, Vikash Garodia wrote: > > On

Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: Move video-firmware to chrome-common

2023-11-24 Thread Vikash Garodia
On 11/24/2023 5:05 PM, Luca Weiss wrote: > On Fri Nov 24, 2023 at 7:38 AM CET, Vikash Garodia wrote: >> >> On 11/22/2023 7:50 PM, Luca Weiss wrote: >>> On Wed Nov 22, 2023 at 2:17 PM CET, Vikash Garodia wrote: On 10/2/2023 7:50 PM, Luca Weiss wrote: > If the video-firmware node is

Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: Move video-firmware to chrome-common

2023-11-24 Thread Luca Weiss
On Fri Nov 24, 2023 at 7:38 AM CET, Vikash Garodia wrote: > > On 11/22/2023 7:50 PM, Luca Weiss wrote: > > On Wed Nov 22, 2023 at 2:17 PM CET, Vikash Garodia wrote: > >> > >> On 10/2/2023 7:50 PM, Luca Weiss wrote: > >>> If the video-firmware node is present, the venus driver assumes we're on >

Re: [PATCH] dt-bindings: correct white-spaces in examples

2023-11-24 Thread Serge Semin
On Fri, Nov 24, 2023 at 10:21:21AM +0100, Krzysztof Kozlowski wrote: > Use only one and exactly one space around '=' in DTS example. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Merging idea: Rob's DT. > Should apply cleanly on Rob's for-next. > --- >

[PATCH] dt-bindings: correct white-spaces in examples

2023-11-24 Thread Krzysztof Kozlowski
Use only one and exactly one space around '=' in DTS example. Signed-off-by: Krzysztof Kozlowski --- Merging idea: Rob's DT. Should apply cleanly on Rob's for-next. --- .../devicetree/bindings/auxdisplay/hit,hd44780.yaml | 2 +- .../devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml