Message ID | IA1PR20MB4953BB0ABD29F5AE938A54ECBBB2A@IA1PR20MB4953.namprd20.prod.outlook.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1567830vqg; Mon, 13 Nov 2023 16:44:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAPA20Wl8WsblH7hanPv4alJ3Ad5TOat6bwXD14xTiZmja4Of80czZuz/oSE91P/a4a/7P X-Received: by 2002:a17:90b:1d0c:b0:27d:4ede:75b0 with SMTP id on12-20020a17090b1d0c00b0027d4ede75b0mr8774266pjb.16.1699922639808; Mon, 13 Nov 2023 16:43:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699922639; cv=pass; d=google.com; s=arc-20160816; b=A2fAOd4wA4exm9WjNtV6z39kxPUD4Z2fyNAFuWphX7a7lxlHrQxMozVzyCnvyeTipG 2m8q5ca/sQpDMEta1jgGOYrIG/PHr2o7h9eSkTcXmcA8g3CgCfQVZNL3Jh6eKWO5vHb6 4Nt1MBwDWJDALMXRMsEAKwNK8gkiIH+4viNHyo+DZ9hUWrlFekQwMGmlXn4NkcHrc+P7 EZloT5v3kT+TDD3L5tW/k75CaXRV5lOgkDZTXM5xt/CnwfY1KVQUGHbCZpTY+yzC0u+7 nSNs1mgGEx9OzPvBea1NqzVitax0XWTbtPxV3A0UC9IFYD2ZA/vKTHH1GMYFjZDCnniK ECTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=ivocTI/7YH4iGVyE4mb196wtAQ5uCn/rdimbYwN06aA=; fh=GtcvGxVdcxCgUpDVGYbtJuupZbOwsfCgaPpFC6/T3wo=; b=ei6Dnq6ubaIOgD5coIa9fUjuIHOR7vsQaZh0py3k+rgJ4dxoA73EX5FlMd+snjnvl0 LSjacBUm5ogE/R/oBpDU9xcHfcfGWYpPuqpF1Q/0lzS2/NknoUaQ/dEH1BiWs19gzs7M 8RcPFSJw6k5yerDMsPr5B+h/a7giUA9CqCNpPxuxjru683I9VmjCoTdrl/3zOKtkLFlz pXLFIFY28UO7wUhus9FR75oi/tYSM+VNYAq5hE82C1+vE0HP2mH4+foVzmTmyL1lQEKY RIsjct2Gs7GJt8qFI/kKLHM3KY3GAk4+Yyr2LRs7QjCcbpjUeEworvhMKSVf2JWG+nhw 14OA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="DzJN/Gn2"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v3-20020a17090a898300b0027d567be2e5si6917300pjn.92.2023.11.13.16.43.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 16:43:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b="DzJN/Gn2"; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 17A5280B1215; Mon, 13 Nov 2023 16:43:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231365AbjKNAnj (ORCPT <rfc822;lhua1029@gmail.com> + 30 others); Mon, 13 Nov 2023 19:43:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjKNAni (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Nov 2023 19:43:38 -0500 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2049.outbound.protection.outlook.com [40.92.15.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0733D59; Mon, 13 Nov 2023 16:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yj4CIjnfQoB0UQtmACEj62SaO9kgilhLjjC0XOJxxJCntlSuVvPRPtpiWyVYfhZU6I6CoTWR9fNYiNJY1YzWDOoHwQaI2XqlS0MAWOhNcTC6uk4UwqkzOr10GEZi1c/Z00wGiTHNl4u7fp3wNaMAPxBEO1JnSjnvzEm6uuwYaD/Gggq165XQFj9JM7pHzyCD0JqGlDCyoyxqPUab8XoBE7IzZeeXIMo8Pwi5eF/iil4RTmGHP2ay2xPq5AwfjRn3gJwnqC5VUPC8AI+PYOvc3SJeanLvsBOe8Q7syyq6uomkXvZ9vFPf1XbS0mxSTPJoh0FNpv1kUiybs60n4Io6Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ivocTI/7YH4iGVyE4mb196wtAQ5uCn/rdimbYwN06aA=; b=MUkH8+wlbk6JNSqwv7qb62sYa4/blHXX1JsGYqoQtMuE5ZnlMz5BupoAYTdqiFjdhMQ+zLciFi9Orz1s+d0S8WXuQa1dUtcQqHcO6cWiaVrkvZFKWK5l32a9aQs8yEdQwcPvWNTUYSz8yQ9biuQGg5GG6JWCtMEThk490NHERxD229Rj0jdfRt0UfEOj/M37vwQc6TYC0J7/NMLvZ9Ezr7tJRJoAfqbBFq2puVketiZOm4/wPrZMJH+MgXsLcquNLrGqN3fK8bFy2fSaXxyRqm5bdirKG1Mp9faX5uYkxevFhR+yhjkC3XoVAleBkUmy7b5x3ZB8fmXbKJBdhJad3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ivocTI/7YH4iGVyE4mb196wtAQ5uCn/rdimbYwN06aA=; b=DzJN/Gn2CUZ63SZZ9PinyCQUG0NvAfwg/CruxnJDu2nutSKA4siEjVhCWCvHquoqEq/JvP8vVj8D1uS5yctDwXKXjtuMWD92UftvAkNfFePOtWvZFhpOhxRfmU+ht7JEWQ4rjHSkLeoeZ2zwPR+ZTp4uSJEdLqtd2uz15Sidcq/GKeCuQXWH++V3xq7w3pS9JV/9NnA9np1jVcTajchJqSidGdsFTFeyZsvGwXvu7iT3ZX/zejaHBL6UJcj0Kg+Cf0kKkhV5mQoDj3q5wzq/BQeI9lmhgrWGnYZrHsG94CKdkk+Dcq7WCGOap2cu1kr68CVx9qUQh1hX7unJszUwMw== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by SJ2PR20MB6989.namprd20.prod.outlook.com (2603:10b6:a03:56d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Tue, 14 Nov 2023 00:43:30 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::55b:c350:980:ad8]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::55b:c350:980:ad8%6]) with mapi id 15.20.6977.029; Tue, 14 Nov 2023 00:43:30 +0000 From: Inochi Amaoto <inochiama@outlook.com> To: Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Chao Wei <chao.wei@sophgo.com>, Chen Wang <unicorn_wang@outlook.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Inochi Amaoto <inochiama@outlook.com>, Xiaoguang Xing <xiaoguang.xing@sophgo.com>, Guo Ren <guoren@kernel.org> Cc: Jisheng Zhang <jszhang@kernel.org>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v2 0/2] Change the sg2042 timer layout to fit aclint format Date: Tue, 14 Nov 2023 08:44:02 +0800 Message-ID: <IA1PR20MB4953BB0ABD29F5AE938A54ECBBB2A@IA1PR20MB4953.namprd20.prod.outlook.com> X-Mailer: git-send-email 2.42.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [2usgG/fFPdEbk+oJGl0auZP1VYkZFmOWqCoUR5qERbQ=] X-ClientProxiedBy: SJ0PR13CA0171.namprd13.prod.outlook.com (2603:10b6:a03:2c7::26) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20231114004403.42766-1-inochiama@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|SJ2PR20MB6989:EE_ X-MS-Office365-Filtering-Correlation-Id: 875b32e6-7d91-4170-f210-08dbe4aab905 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qPmpahOX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DIExDt0uHgaXYeNihq+qptYmx4sepMvaYpKMyZHPV5MM6Aujf6HjZORa27C1X4mX2lLfS86Y1LIHJK5frTCUh5WUF7jdUoM8SwqNQxK3V/xobOW1iqYypYEID9TJEkjOK/wLIJZXNqrrMXtPOfqKYCjzAppqkFXgfpOUifSVQKYfjGPpD5+67uJN877vc628XsL1ywXBMljqE8of6h1O0AH23dUIbf4K10D+VL1akcYKmNoB0hpGpUHe/52Gd8tbJ6ntswHxvYv/+PRO86R6cQsR0bKzyXOHkT6PNx2ptvt9joBIv79XfPD2joFHhA36C7I8TzHd8sKynknunkUNQ14THQdoVqRrSY1pZmvQG9emlroiZx6u6NGlonlj3NM4+uxMCtA8p7Yw/oRm9KL0CGf/JOa0br11rUmRh6qzM2EITGPDzJGTaBSPrMqBQlOgfhUNrOFymC85ONz5dbntMGb+ChreF8FUl2xrgxjG2efR51tzlgqq/vnWuijjaxyzueMWqVgZhWKb/lDQqYu1Y7xyKh6hHhleKQRPH5145h2IB8tgRxKcb2O5w8Iz6o7EF0asUOcrWWI9V9eMGu2i2G8M3YGHacklXh37kUMt6xnb2AUkW3+PknztKdy1za9x1QhoX/OWKY43XxafmpDkFWguXig/WxHHaH3myXp7/2IOdVSloCvC764UaLeOOOrqGTJjmj9xCgxuuoKVvnhQu8DR/kSxenzbSdWsJaMsfNwNz2mJIuL43u6AxQ0QG2YwHFod1A6cAdY9vamPI8OP+7VkJerg6y2W2qgw7AZNLfVJStOxr3f0ny/nL6vMb73z6rIpH4/mkI+RGSHkOdlJfgeruD+UAw= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 875b32e6-7d91-4170-f210-08dbe4aab905 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2023 00:43:30.4851 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR20MB6989 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 13 Nov 2023 16:43:57 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782498081618747736 X-GMAIL-MSGID: 1782498081618747736 |
Series |
Change the sg2042 timer layout to fit aclint format
|
|
Message
Inochi Amaoto
Nov. 14, 2023, 12:44 a.m. UTC
As the sg2042 uses different address for timer and mswi of its clint device, it should follow the aclint format. For the previous patchs, it only use only one address for both mtime and mtimer, this is can not be parsed by OpenSBI. To resolve this, separate these two registers in the dtb. Link: https://lists.infradead.org/pipermail/opensbi/2023-October/005693.html Link: https://github.com/riscv/riscv-aclint/blob/main/riscv-aclint.adoc Changed from v1: 1. change the commit to address the reason for ABI change. 2. remove unnecessary link in the commit. Inochi Amaoto (2): dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regs riscv: dts: sophgo: separate sg2042 mtime and mtimecmp to fit aclint format .../timer/thead,c900-aclint-mtimer.yaml | 5 +- arch/riscv/boot/dts/sophgo/sg2042.dtsi | 80 +++++++++++-------- 2 files changed, 51 insertions(+), 34 deletions(-) -- 2.42.1