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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF2B0C2D0CE for ; Fri, 27 Dec 2019 18:04:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 808EC206F4 for ; Fri, 27 Dec 2019 18:04:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="HYgNBWuj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727807AbfL0SEB (ORCPT ); Fri, 27 Dec 2019 13:04:01 -0500 Received: from us03-smtprelay2.synopsys.com ([149.117.87.133]:40748 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbfL0SD7 (ORCPT ); Fri, 27 Dec 2019 13:03:59 -0500 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 05D27C09A8; Fri, 27 Dec 2019 18:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1577469838; bh=gracVR8grdfKa4Mu3uHEMLQb3guva6KDpPC9UDLgqHs=; h=From:To:Cc:Subject:Date:From; b=HYgNBWujgmoxrs3Z3IaqKCE2LThkjEjOTPjbLrpLlzdRXN1MdODUxYHkBUqVaDFJC 7+3u+Sus10E6pyHoz5djN9kJX4ms6k8XdM6x1uoeh9V6jJv7WuTGF16SuZrKHdyc0z ODjLODi6Ikfe21Qz/B2xWrIT55kmSDBZsD+7n+HZDr2qu2D1HrA1YsnCkLNONOqEiG pGMB9Qq3GvSTl91m3VVBdydHYV42MCyTd1Ce0JH3ZDqsO538x/Oz4Cnus80i7iVMRH hVzL7oDVdoU0zUp92DnUS8TdFc3ywnQi6FT1R+HFCeBG++I4pl50IcU8/QOx6oHdnK RlledONAiWvXw== Received: from paltsev-e7480.internal.synopsys.com (unknown [10.121.8.65]) by mailhost.synopsys.com (Postfix) with ESMTP id 51207A005D; Fri, 27 Dec 2019 18:03:54 +0000 (UTC) From: Eugeniy Paltsev To: linux-snps-arc@lists.infradead.org, Vineet Gupta Cc: linux-kernel@vger.kernel.org, Alexey Brodkin , Eugeniy Paltsev Subject: [RFC 0/5] ARC: handle DSP presence in HW Date: Fri, 27 Dec 2019 21:03:42 +0300 Message-Id: <20191227180347.3579-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arc processors may have DSP extension which is optional. In this patch series we: * Handle issues caused by DSP extension presence in HW * Add optional support for DSP-enabled applications in userspace (with optional AGU extension support) * Do minor cleanups Eugeniy Paltsev (5): ARC: pt_regs: remove hardcoded registers offset ARC: add helpers to sanitize config options ARC: handle DSP presence in HW ARC: add support for DSP-enabled userspace applications ARC: allow userspace DSP applications to use AGU extensions arch/arc/Kconfig | 39 +++++++- arch/arc/include/asm/arcregs.h | 26 ++++++ arch/arc/include/asm/dsp-impl.h | 141 +++++++++++++++++++++++++++++ arch/arc/include/asm/dsp.h | 50 ++++++++++ arch/arc/include/asm/entry-arcv2.h | 14 ++- arch/arc/include/asm/processor.h | 4 + arch/arc/include/asm/ptrace.h | 4 + arch/arc/include/asm/switch_to.h | 2 + arch/arc/kernel/asm-offsets.c | 16 ++++ arch/arc/kernel/head.S | 4 + arch/arc/kernel/setup.c | 47 +++++++--- 11 files changed, 329 insertions(+), 18 deletions(-) create mode 100644 arch/arc/include/asm/dsp-impl.h create mode 100644 arch/arc/include/asm/dsp.h -- 2.21.0 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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 243E9C2D0DB for ; Fri, 27 Dec 2019 18:04:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F3E45206F4 for ; Fri, 27 Dec 2019 18:04:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oOm4hhCP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="HYgNBWuj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F3E45206F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9bhdsyvJv697/e8X9rcLyBhugRPC5P+S54N+YcA9QDc=; b=oOm4hhCPloU+5g 6r5AAuVEgGglcFSF+bOhybe+qwu++pKDymoqOxtHh+9nGlGBXsEBZVyWrTGhKPSRIU2PALG7pZmNN ICW0boyFvu5txw1QNidnelRMlCz8apZBWEiuTdAdjRZghv5mtx6QDct7dxTLKwjvXKs8cHhqPEQiB Oefhp1B4kJx8ob5BH/TilE306Wr06mbHTpCF3tQyou5ZMIzH2hE+Pi2gC01Ib/uPhHlOIpaUUVZV5 OVe4kCps8TYHlhV8Y5pBRQN1l8llFm5QPphj/g9kLmCrwG7Vh3bApILkc/8HHX/LZN5Dl86OVhSe7 9FZqnTjK6h1kSOYhmjLQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ikty0-0005Ys-RG; Fri, 27 Dec 2019 18:04:04 +0000 Received: from us03-smtprelay2.synopsys.com ([149.117.87.133] helo=smtprelay-out1.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iktxw-0005V9-Ew for linux-snps-arc@lists.infradead.org; Fri, 27 Dec 2019 18:04:03 +0000 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 05D27C09A8; Fri, 27 Dec 2019 18:03:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1577469838; bh=gracVR8grdfKa4Mu3uHEMLQb3guva6KDpPC9UDLgqHs=; h=From:To:Cc:Subject:Date:From; b=HYgNBWujgmoxrs3Z3IaqKCE2LThkjEjOTPjbLrpLlzdRXN1MdODUxYHkBUqVaDFJC 7+3u+Sus10E6pyHoz5djN9kJX4ms6k8XdM6x1uoeh9V6jJv7WuTGF16SuZrKHdyc0z ODjLODi6Ikfe21Qz/B2xWrIT55kmSDBZsD+7n+HZDr2qu2D1HrA1YsnCkLNONOqEiG pGMB9Qq3GvSTl91m3VVBdydHYV42MCyTd1Ce0JH3ZDqsO538x/Oz4Cnus80i7iVMRH hVzL7oDVdoU0zUp92DnUS8TdFc3ywnQi6FT1R+HFCeBG++I4pl50IcU8/QOx6oHdnK RlledONAiWvXw== Received: from paltsev-e7480.internal.synopsys.com (unknown [10.121.8.65]) by mailhost.synopsys.com (Postfix) with ESMTP id 51207A005D; Fri, 27 Dec 2019 18:03:54 +0000 (UTC) From: Eugeniy Paltsev To: linux-snps-arc@lists.infradead.org, Vineet Gupta Subject: [RFC 0/5] ARC: handle DSP presence in HW Date: Fri, 27 Dec 2019 21:03:42 +0300 Message-Id: <20191227180347.3579-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191227_100400_535458_C5E0217B X-CRM114-Status: UNSURE ( 6.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexey Brodkin , Eugeniy Paltsev , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org Arc processors may have DSP extension which is optional. In this patch series we: * Handle issues caused by DSP extension presence in HW * Add optional support for DSP-enabled applications in userspace (with optional AGU extension support) * Do minor cleanups Eugeniy Paltsev (5): ARC: pt_regs: remove hardcoded registers offset ARC: add helpers to sanitize config options ARC: handle DSP presence in HW ARC: add support for DSP-enabled userspace applications ARC: allow userspace DSP applications to use AGU extensions arch/arc/Kconfig | 39 +++++++- arch/arc/include/asm/arcregs.h | 26 ++++++ arch/arc/include/asm/dsp-impl.h | 141 +++++++++++++++++++++++++++++ arch/arc/include/asm/dsp.h | 50 ++++++++++ arch/arc/include/asm/entry-arcv2.h | 14 ++- arch/arc/include/asm/processor.h | 4 + arch/arc/include/asm/ptrace.h | 4 + arch/arc/include/asm/switch_to.h | 2 + arch/arc/kernel/asm-offsets.c | 16 ++++ arch/arc/kernel/head.S | 4 + arch/arc/kernel/setup.c | 47 +++++++--- 11 files changed, 329 insertions(+), 18 deletions(-) create mode 100644 arch/arc/include/asm/dsp-impl.h create mode 100644 arch/arc/include/asm/dsp.h -- 2.21.0 _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc