From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AF38C4332F for ; Wed, 21 Dec 2022 15:53:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229522AbiLUPxA convert rfc822-to-8bit (ORCPT ); Wed, 21 Dec 2022 10:53:00 -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 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