Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1692358pxf; Fri, 26 Mar 2021 12:33:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzRcFJl/yS/RWNDWkpvu8ihkcJQ/2xj/spcpuZ9swxQRhCXHK8DLVFLBLlsJbCGo5k9CEF X-Received: by 2002:a05:6402:8c2:: with SMTP id d2mr17355825edz.4.1616787226043; Fri, 26 Mar 2021 12:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616787226; cv=none; d=google.com; s=arc-20160816; b=M7lzTz7+PxhogfZAoKQwlIY/jPguiAqzY1XAkqTUctj8mFo2AGRfYYITKl5ZPmM+75 yjyoLa2YZ/NehxSc7em6cpydmnGEj0Tdtt7L6FSOjTf2IHqGQ4VaXXxVFEE1Mtu4Uvwg WfJV8HP6gvRiAZ6TnCdmEYIxVHvIydhgONbi7oGUj8UzfO5HvtuCEU+Wxn7ENg4tj4nr X+m6TWWa1t7lwwZxGkuglJxEML1MltYny20NJ2rk45cLeZX/d1X98WBk8v1x6AGNa79G G9yJpqJ8e4nokBp3nk+d+sFvq317zbDlsenw/R5Da3/4T6K84VceBZvuoRgiS77G3slK 2CAQ== 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:dkim-signature; bh=5y4wrxyxaQbz2q52vNwehIEYnHf9nDITQlvj4U6GzGU=; b=dCYC4mwRk7AUz10kUOgdNlmYR81ppdctFDXQX2shupGAZWvIk1Lq8wRJUsQ3ZSFCzN /ZyWC5f7NL3sHPSmNZGlBi4YRXC6qyNlpGZVjv9xON/2+XbahYMDk7VWWhN+K4jlHIKV KNzP+2f2Jp+o3By8mnaqCIhNueb13+kkajXev2WFcJRpz3mRiPVgho5hQBAqqtXEBdYK ofTMscY6e+1Dd8m0opywtceVX/MzJUXC425tSnZP7nUprCh+yHGIgQn/SIZ+43x38s/f VIuKCWDEsz1JQfDvDCTI2DZ4+DVABzptZgzilX6691gZQ9DhqJIbXCWSe6TuCaNff5rR tvrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KNeFUcGH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u7si7360298edo.259.2021.03.26.12.33.23; Fri, 26 Mar 2021 12:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KNeFUcGH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230121AbhCZTcX (ORCPT + 99 others); Fri, 26 Mar 2021 15:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbhCZTbz (ORCPT ); Fri, 26 Mar 2021 15:31:55 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC0B4C0613AA for ; Fri, 26 Mar 2021 12:31:54 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id y32so4138945pga.11 for ; Fri, 26 Mar 2021 12:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5y4wrxyxaQbz2q52vNwehIEYnHf9nDITQlvj4U6GzGU=; b=KNeFUcGH6ynyK/I5cDYOwaA7AFBqlhTHFC/F6YAVNrY1ctngEm6TyxY4RfczcdmL1D BqCGN2BWY+Wj8G9dZbyMjX5X5nc221ASn7OC7xD1FCuO66r8BJ0XacL8hSpT47vU+thN 5RtG+L2mI426nSsSE6mumL/B979em8FBaQf1bG7CbLkNBcCaVS11OZx0q+LSC8Dxb9SH ordZe6AmQnh8YYDED7ugAF6puzcoEa9wvH0PgydBSRKMcuvzFJsOeifpdBcgbZzhWLxn 6xknOrAr+HMgflZaBmngy3kxnJaT7uUoUjLAtxfUDYJUg+4ShxEntMEgCrpui8ZXkcj2 4t/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5y4wrxyxaQbz2q52vNwehIEYnHf9nDITQlvj4U6GzGU=; b=k58tTBhrJgzVXx7jvn/BFJcsyihAJfndD/qq5Wj2ELLOKpCTzCcw5RGuyQa8c4NhSZ bTG4FUJ/61i3vc7ZNezPonecvkkbydfyKZJyybdjC6/8xuWlB6L6SL3HhUkHFp58HGsk z8ugo1lm7KDOlLL9scLNV11Mw4AEyCDiCWBKwl2I2J75biaORK0nXsM8TEuk3Lw5LWcK zGLQOIbVTVIsncSJdNl6vRhF0pLX30XKeVKgXj7ZDFGs7ZdKhyy9mrTtgCrknPL9nZjw Yy5j1BHh325U4VtYnG3pELU9OvYVhOrAFmC/1Dk8KbNhwuoxDOWceWG9/Djyb5vQylzg 7wEA== X-Gm-Message-State: AOAM532ng5M+ICkQxyrNb73PHzaobsQC837L65oW8ejevjs5vg27m+bU MVovro/hh6xXc7c62VKOqiE= X-Received: by 2002:aa7:9521:0:b029:1f1:b27f:1a43 with SMTP id c1-20020aa795210000b02901f1b27f1a43mr14388370pfp.4.1616787114363; Fri, 26 Mar 2021 12:31:54 -0700 (PDT) Received: from octofox.hsd1.ca.comcast.net ([2601:641:400:9e10:2d94:bd34:41ff:d945]) by smtp.gmail.com with ESMTPSA id q10sm9086789pgs.44.2021.03.26.12.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 12:31:53 -0700 (PDT) From: Max Filippov To: linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov Subject: [PATCH 0/2] xtensa: add GDBIO implementation to semihosting interface Date: Fri, 26 Mar 2021 12:31:41 -0700 Message-Id: <20210326193143.21016-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, this series adds GDBIO implementation to the semihosting interface and makes it a configuration time choice. GDBIO interface is useful for development hardware platforms that don't offer any peripherals and only accessible via JTAG. xtensa kernel built for ISS may be run on such platforms using GDBIO implementation of the semihosting interface. Max Filippov (2): xtensa: ISS: split simcall implementation from semihosting interface xtensa: ISS: add GDBIO implementation to semihosting interface arch/xtensa/Kconfig | 22 ++++ .../iss/include/platform/simcall-gdbio.h | 34 ++++++ .../iss/include/platform/simcall-iss.h | 73 ++++++++++++ .../platforms/iss/include/platform/simcall.h | 104 +++++++----------- 4 files changed, 166 insertions(+), 67 deletions(-) create mode 100644 arch/xtensa/platforms/iss/include/platform/simcall-gdbio.h create mode 100644 arch/xtensa/platforms/iss/include/platform/simcall-iss.h -- 2.20.1