Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4673707rdb; Tue, 12 Dec 2023 06:26:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5uuWJ4hNtCoRp9DvCkiNUmS13VuOgb2lTFe+isrXmmzOv+p50LKUSCOzStnvA56pbhUO3 X-Received: by 2002:a17:902:e847:b0:1d0:acfc:a653 with SMTP id t7-20020a170902e84700b001d0acfca653mr6820640plg.84.1702391170500; Tue, 12 Dec 2023 06:26:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702391170; cv=none; d=google.com; s=arc-20160816; b=ygPe4cRRi9n5189b0qF5+t7NGyaRCznULxTU82wYaFffojG62thF2dP+gX9xPhYn4l hPa//LGJSnA7NGKFCp7tjGbdPB25I+dDnFqqP6ICb8BQjym5gvXQuGvxkj4u5c6jo+3u Xu8sESIeccalNE8zqb5Jq6fKbf0gg1cCYRV6wCp5AaevFvbnQ/XHeM7/z4L8sHWfJqfO r3S4ZDnPJnOazhdHOU5T0zMAkWSk7obUUWR+pflif+o6gvZDHhxvPYE7TWEbVQZSFZcx 23A3kzFwTePAlTb58s8qjLVQJHDUGmsfKaQMu7pD5zcRmj75fDwwNhCyq3u58eg1psZb ZvRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AtYcRtgphAoZDtgxEUi8yJ3ABkFvwyDEddoxR6SX4Vk=; fh=g+nNahtOuvuZvULWqGy4b+lP5w8oigRdrbxegyQVqhY=; b=o7Qg5l+s4UTWmPvHZxFOg2oX+GVWqVgT/74ZfrdxXls3Iebb0OppxW15DSXR/54Di9 HOacWhV3eyg6FMbzoE9AGNmIJx5N0mLXZ43q/zTQ2Q+rk0kf96bY/hc5mtWrLK0G9vA0 XEIwwdZOQUjqmq53WBnlCVIZySnYGiDbpcKmaEPDf9bNp/lp0+Aezhy/aJCbrKLfP7HA yhh9xinJiOC2t3x26fBfvChAwIlE9JxB7gD4OIE6//UcdNVy1MlkfnsqgAdbN2on+/e5 D6CCuWA6v1VYqTetdPlqSD6xDy8nqYHYQixwO8DxmCbF5WbjXnqftYXDpX6i2STodcYr 55tQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id t3-20020a170902bc4300b001d340ebab02si562964plz.270.2023.12.12.06.26.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 06:26:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C6767807751E; Tue, 12 Dec 2023 06:26:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376573AbjLLOZc (ORCPT + 99 others); Tue, 12 Dec 2023 09:25:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376451AbjLLOZb (ORCPT ); Tue, 12 Dec 2023 09:25:31 -0500 Received: from mail-m49198.qiye.163.com (mail-m49198.qiye.163.com [45.254.49.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35F3A8F; Tue, 12 Dec 2023 06:25:32 -0800 (PST) Received: from amadeus-Vostro-3710.lan (unknown [113.118.189.146]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 0AA0C800015; Tue, 12 Dec 2023 22:25:13 +0800 (CST) From: Chukun Pan To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Ohad Ben-Cohen , Baolin Wang , Krzysztof Kozlowski , linux-remoteproc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH 1/1] hwspinlock: qcom: fix tcsr data for ipq6018 Date: Tue, 12 Dec 2023 22:25:09 +0800 Message-Id: <20231212142509.655094-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkZSEtNVkwdSh8ZTEoZQxhNGFUTARMWGhIXJBQOD1 lXWRgSC1lBWUpKSFVKSkNVSkNCVUpPTVlXWRYaDxIVHRRZQVlPS0hVSkpLSEpDVUpLS1VLWQY+ X-HM-Tid: 0a8c5e6ae656b03akuuu0aa0c800015 X-HM-MType: 10 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PiI6Agw5Cjw6Pz9PUR9JKRdK CS8aCR5VSlVKTEtJSEJKSkpIQ0tJVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUpK SFVKSkNVSkNCVUpPTVlXWQgBWUFJQ0xINwY+ X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 12 Dec 2023 06:26:08 -0800 (PST) The tcsr_mutex hwlock register of the ipq6018 SoC is 0x20000[1], which should not use the max_register configuration of older SoCs. This will cause smem to be unable to probe, further causing devices that use smem-part to parse partitions to fail to boot. [ 2.118227] qcom-smem: probe of 4aa00000.memory failed with error -110 [ 22.273120] platform 79b0000.nand-controller: deferred probe pending Remove 'qcom,ipq6018-tcsr-mutex' setting from of_match to fix this. [1] commit 72fc3d58b87b ("arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size") Fixes: 5d4753f741d8 ("hwspinlock: qcom: add support for MMIO on older SoCs") Signed-off-by: Chukun Pan --- drivers/hwspinlock/qcom_hwspinlock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwspinlock/qcom_hwspinlock.c b/drivers/hwspinlock/qcom_hwspinlock.c index a0fd67fd2934..814dfe8697bf 100644 --- a/drivers/hwspinlock/qcom_hwspinlock.c +++ b/drivers/hwspinlock/qcom_hwspinlock.c @@ -115,7 +115,6 @@ static const struct of_device_id qcom_hwspinlock_of_match[] = { { .compatible = "qcom,sfpb-mutex", .data = &of_sfpb_mutex }, { .compatible = "qcom,tcsr-mutex", .data = &of_tcsr_mutex }, { .compatible = "qcom,apq8084-tcsr-mutex", .data = &of_msm8226_tcsr_mutex }, - { .compatible = "qcom,ipq6018-tcsr-mutex", .data = &of_msm8226_tcsr_mutex }, { .compatible = "qcom,msm8226-tcsr-mutex", .data = &of_msm8226_tcsr_mutex }, { .compatible = "qcom,msm8974-tcsr-mutex", .data = &of_msm8226_tcsr_mutex }, { .compatible = "qcom,msm8994-tcsr-mutex", .data = &of_msm8226_tcsr_mutex }, -- 2.25.1