Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5865948rwj; Wed, 21 Dec 2022 08:00:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXsensS1JQhbmLmJMJtyrcCBdxXW3mnKZXA9qYs1gCro0fccygwuPM+wiKnO3+lzB91SmTGA X-Received: by 2002:a17:906:e2d3:b0:7c0:deb3:596a with SMTP id gr19-20020a170906e2d300b007c0deb3596amr2067510ejb.70.1671638441366; Wed, 21 Dec 2022 08:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671638441; cv=none; d=google.com; s=arc-20160816; b=qTnh2A2agOgTm24u75jnp95LDi5LwClnHyOyV+GhJqs+4RF6teo8UB+eEQ7RmpNr75 qdjJ+pT9/JdSIIs03/SrqX5dlK902lJLoczNCFLMj5qEexT3cPBI1OuzQaJaC7nUA8O0 n8ODh26b84L5DyGyvVP1zyyj4cPQqFud2U9uiYY5LRz5/s1ovfsc5bTyLtiizZFIDKDb gC1Rn0gHYdSFJNBaq3ItF0A+wAXBq9EOs4Sf/xmvy+AIq3wDcqR7qEZfTUCwWBpURFg+ Rz+gGuiS1a1SywzMgjVMlot+oMe3EFdE9eunULVEB7LW/B/TUcsXfT9/Szh++bWQ2SkQ mm3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:user-agent:reply-to:references:in-reply-to:message-id :date:cc:subject:to:from; bh=ahh66mzLu7YhiLowsK5kAvgpUvgS8PwDm66TiI50dOc=; b=BIgYgy2nkmBDs5Dx3X38ilg03NSgdC8vRgEPXhc4Sk+LLpklWUaQdjdlNq1TnIGCto 3BX+j6FiXPDncTg+vF/1fOqsBhzWDkavD0dSQmZRVGHtH+wWWi8zkvDXCxZF38/7kjOc H/J+NfENUHnO3VFFeCfYihPTnIaG6fPkTcNVMbDBeRR5gQDEoz3ITBhnEJ1IJNesvKOZ 5R0rWOWyZxuni9plSCbA/ENkvAw7cvTxaOzYyx5LOVA+uSXEqzMajUrBumDbRSVi2twK HY199jLGrl6UenTGTXmDTa1bs5rIhKbdMGfGRVfIkimnYnjb8LDYeHVVRyE6hTfZ/8HZ oETg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q24-20020a056402249800b0046844a8111dsi2557822eda.533.2022.12.21.08.00.24; Wed, 21 Dec 2022 08:00:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234526AbiLUPw7 convert rfc822-to-8bit (ORCPT + 68 others); Wed, 21 Dec 2022 10:52:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233766AbiLUPwk (ORCPT ); Wed, 21 Dec 2022 10:52:40 -0500 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 648472189F; Wed, 21 Dec 2022 07:52:32 -0800 (PST) X-QQ-mid: bizesmtp74t1671637921tlvskkd8 Received: from [192.168.3.2] ( [111.196.135.79]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 21 Dec 2022 23:52:00 +0800 (CST) X-QQ-SSF: 01200000002000B0C000B00A0000000 X-QQ-FEAT: I8hG9CuxGDJJpNoVmawLaM6DqS/R7OsXQqE9IbZmAA6LxNl+5/9H8NzhOuTyB w+zxihHCZEK4KJd1b1IK2u12+KZIGQPs95OXUv9lMMie5hw+Wbj6KU3zssmEWjy5bKSqANc b+N+1jW0oTmqECR+KKqN/PJ55kiws3Um2rxdohXKscDjLUQeoqNZWUHlbhGLAEYnFBrPe/P tncbcQgJZ5XXop+uxRXSEy9V3jhR+O2X/tYAhBZbJxqEkmh55dp6/BosTSiWYCEymmGQhF5 FJ3rK+KwdIvhiT1pukNnfWKHLmKG51QJIeJ4uvPu+EVHW5NtivwCyv2IKMst8i61ICndwox DANIkULdQ9il3jSlAIGA+Jh3pdWptcuNHvkO3McpJaY3KahRgU= X-QQ-GoodBg: 0 From: "Bin Meng" To: linux-kernel , linux-riscv , linux-serial Subject: Re: [PATCH v3 0/3] serial: Add RISC-V support to the earlycon semihost driver Cc: aou , "catalin.marinas" , gregkh , jirislaby , palmer , "paul.walmsley" , linux , will , linux-arm-kernel Date: Wed, 21 Dec 2022 15:51:59 +0000 Message-Id: In-Reply-To: <20221209150437.795918-1-bmeng@tinylab.org> References: <20221209150437.795918-1-bmeng@tinylab.org> Reply-To: "Bin Meng" User-Agent: eM_Client/9.2.1222.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvr:qybglogicsvr3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/12/9 23:04:34, "Bin Meng" wrote: >RISC-V semihosting spec [1] is built on top of the existing Arm one; >we can add RISC-V earlycon semihost driver easily. > >This series refactors the existing driver a little bit, to move smh_putc() >variants in respective arch's semihost.h, then we can implement RISC-V's >version in the riscv arch directory. > >Link: https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc [1] > >Changes in v3: >- add #ifdef in the header to prevent from multiple inclusion >- add forward-declare struct uart_port >- add a Link tag in the commit message > Ping? Regards, Bin