[PATCH] init: move THIS_MODULE from to

2023-11-25 Thread Masahiro Yamada
Commit f50169324df4 ("module.h: split out the EXPORT_SYMBOL into export.h") appropriately separated EXPORT_SYMBOL into because modules and EXPORT_SYMBOL are orthogonal; modules are symbol consumers, while EXPORT_SYMBOL are used by symbol providers, which may not be necessarily a module. However,

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

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

[PATCH v3 2/2] arm64: dts: qcom: sm8250-xiaomi-elish: Add pm8150b type-c node and enable usb otg

2023-11-25 Thread Jianhua Lu
Add type-c node to feature otg function and set usb-role-switch property for usb_1_dwc3 to enable usb otg. Reviewed-by: Konrad Dybcio Signed-off-by: Jianhua Lu --- Changes in v3: 1. squash patch[3/3]. 2. update commit message. 3. add pm8150b_vbus node. No changes in v2:

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

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

Re: [PATCH 1/4] dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible

2023-11-25 Thread Luca Weiss
On Montag, 16. Oktober 2023 16:44:28 CET Stephan Gerhold wrote: > On Mon, Oct 16, 2023 at 03:16:14PM +0200, Loic Poulain wrote: > > On Mon, 16 Oct 2023 at 07:35, Krzysztof Kozlowski > > > > wrote: > > > On 15/10/2023 22:03, Luca Weiss wrote: > > > > Add a compatible for the iris subnode in the

[PATCH v2 1/2] arm64: dts: qcom: msm8953: Set initial address for memory

2023-11-25 Thread Luca Weiss
The dtbs_check really doesn't like having memory without reg set. The base address depends on the amount of RAM you have: <= 2.00 GiB RAM: 0x8000 = 3.00 GiB RAM: 0x4000 = 3.75 GiB RAM: 0x1000 (more does not fit into the 32-bit physical address space) So, let's pick one of

[PATCH v2 2/2] arm64: dts: qcom: msm8953: Use non-deprecated qcom,domain in LPASS

2023-11-25 Thread Luca Weiss
Use the qcom,domain property instead of the deprecated qcom,apr-domain, which in turn also fixes a bunch of dtbs_checks warnings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 0/2] Small dtsi fixes for msm8953 SoC

2023-11-25 Thread Luca Weiss
Fix some small things in the qcom/msm8953.dtsi file to make dtbs_check happier than before. Signed-off-by: Luca Weiss --- Changes in v2: - Expand on RAM address commit message (Stephan) - Pick up tags - Link to v1:

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

2023-11-25 Thread Konrad Dybcio
On 25.11.2023 03:33, Jianhua Lu wrote: > Change dr_mode to otg and set usb_role_swith property to enable switch > usb otg. > > Signed-off-by: Jianhua Lu > --- Guess this should be squashed with p1 but okay.. Reviewed-by: Konrad Dybcio Konrad

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

2023-11-25 Thread Konrad Dybcio
On 25.11.2023 03:33, Jianhua Lu wrote: > Add type-c node to feature otg function. > > Signed-off-by: Jianhua Lu > --- Reviewed-by: Konrad Dybcio Konrad

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

2023-11-25 Thread Konrad Dybcio
On 25.11.2023 03:33, Jianhua Lu wrote: > There are two typos in this dtsi, so fix it. > classis -> chassis. > 8070 -> 8060 > > Signed-off-by: Jianhua Lu > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH] iommu/qcom: restore IOMMU state if needed

2023-11-25 Thread Luca Weiss
On Mittwoch, 11. Oktober 2023 19:57:26 CET Luca Weiss wrote: > From: Vladimir Lypak > > If the IOMMU has a power domain then some state will be lost in > qcom_iommu_suspend and TZ will reset device if we don't call > qcom_scm_restore_sec_cfg before accessing it again. > > Signed-off-by:

[PATCH v3 1/3] dt-bindings: vendor-prefixes: document HTC Corporation

2023-11-25 Thread Luca Weiss
Add the vendor prefix for HTC (https://www.htc.com/). Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v3 2/3] dt-bindings: arm: qcom: Add HTC One Mini 2

2023-11-25 Thread Luca Weiss
Document the compatible for the MSM8926-based HTC One Mini 2 smartphone. Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml

[PATCH v3 3/3] ARM: dts: qcom: Add support for HTC One Mini 2

2023-11-25 Thread Luca Weiss
Add support for this smartphone based on the MSM8926 SoC, codenamed "memul". Supported functionality: * Power & volume buttons * ADSP * Magnetometer * Accelerometer * Touchscreen * Vibrator * SD card * Charger * USB Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss ---

[PATCH v3 0/3] Add support for HTC One Mini 2 smartphone

2023-11-25 Thread Luca Weiss
Add support for this smartphone from HTC which is based on the MSM8926 SoC and codenamed "memul". Depends on, runtime-only, bootloader enables watchdog so we need to pet it to stay alive: https://lore.kernel.org/linux-arm-msm/20231011-msm8226-msm8974-watchdog-v1-0-2c472818f...@z3ntu.xyz/T/

Re: [PATCH RFC v2 04/27] mm: migrate/mempolicy: Add hook to modify migration target gfp

2023-11-25 Thread Mike Rapoport
On Sun, Nov 19, 2023 at 04:56:58PM +, Alexandru Elisei wrote: > It might be desirable for an architecture to modify the gfp flags used to > allocate the destination page for migration based on the page that it is > being replaced. For example, if an architectures has metadata associated > with