Message ID | 20200503024637.327733-14-seanga2@gmail.com |
---|---|
State | Superseded |
Delegated to: | Andes |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ReFj/oCT; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49F9SY6jWYz9sRf for <incoming@patchwork.ozlabs.org>; Sun, 3 May 2020 12:49:49 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9FE01822AB; Sun, 3 May 2020 04:47:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ReFj/oCT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D82081EF7; Sun, 3 May 2020 04:47:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com [IPv6:2607:f8b0:4864:20::f42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8CD7E81E5E for <u-boot@lists.denx.de>; Sun, 3 May 2020 04:46:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qv1-xf42.google.com with SMTP id v10so6700080qvr.2 for <u-boot@lists.denx.de>; Sat, 02 May 2020 19:46:57 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=OG5fYq2RPBpL6zzI/KCg3rE4/Ew+dej60jVLSU6jXwY=; b=ReFj/oCTUdbmRBvz8vl/DCKJJK7hPcwAvvahDg45I42BqGE88pGjEbW0f7N5xy5WPH JHAo69Uw3Hv2eMcUp/4ijdu5q6D5IHauowZQ2dPg8nfCakuznIs8JUxjEoiQNbwVzQry x/3p2GyJKd86y6FCfT4cYzYY8VW9/eokX5Y/5g2KNfT0g5qEZuRKWP+HCFrg8cYJeOAl 22+6dZGpZ5ZVh1NUjARzR6UJh2DmgN1tAoCBx8ao2UokLfxggq/CxzNbuWzaN3M0l2U4 gqM5XoCBQ0K1G3oER+ldkFGFXOg9vB7a7dQXxaadqSZ9avR5QUoknVzRhr3di9yt/qHe 4D5w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=OG5fYq2RPBpL6zzI/KCg3rE4/Ew+dej60jVLSU6jXwY=; b=RW8/XQuoYJUYcOyjjwouhPO1g4dS+WPDm8aG+sK4D3ESnOc+zy9yulmj8E6oq8UZsz KBTLkZPUfHsOj6K433fxyo45CgnsX46fsjXAg4Jdw2/8RRGEssWohod0a10O476ZDatv 0SVJ2on4cz7fP7Sc54aOEAWdpDbosuSd1dPcBjHF1jbmCpUpzsTOQx2bi8ylC9BoOjDq dUPplPL52LxvYQI5PDmIOxKMYR119s1x5KX0AtTwielQeEpMc7ciD2v+zGTQZ12kzPue 9YAjlPTDgcUnwfoKmzRaDTevKVmUSlQThmXda1918d8e741a0bQ/tVjTMpAmA8Bq20DH 7POQ== X-Gm-Message-State: AGi0PuZOyIUkVkdlS10WvitsYD8o4lPR44i1lJ3GMbZ6+Vxea8tx/fXO 9AJE/knACDiEzyTnxDzSYFgwQmIsZ21jxw== X-Google-Smtp-Source: APiQypLNNeehYBW1q+Sd2UihNiLOIOyHDYK54qwJOjH49l0891ElsgOXBlynbw1K149QKtmBe0dwEw== X-Received: by 2002:a0c:b651:: with SMTP id q17mr10145538qvf.135.1588474016272; Sat, 02 May 2020 19:46:56 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id h2sm6610696qkh.91.2020.05.02.19.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 19:46:55 -0700 (PDT) From: Sean Anderson <seanga2@gmail.com> To: u-boot@lists.denx.de Cc: Bin Meng <bmeng.cn@gmail.com>, Rick Chen <rickchen36@gmail.com>, Sean Anderson <seanga2@gmail.com>, Rick Chen <rick@andestech.com>, Lukas Auer <lukas@auer.io> Subject: [PATCH v10 13/21] riscv: Clear pending interrupts before enabling IPIs Date: Sat, 2 May 2020 22:46:29 -0400 Message-Id: <20200503024637.327733-14-seanga2@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200503024637.327733-1-seanga2@gmail.com> References: <20200503024637.327733-1-seanga2@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
riscv: Add Sipeed Maix support
|
expand
|
diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S index 6b3ff99c38..e8740c8568 100644 --- a/arch/riscv/cpu/start.S +++ b/arch/riscv/cpu/start.S @@ -67,6 +67,8 @@ _start: #else li t0, SIE_SSIE #endif + /* Clear any pending IPIs */ + csrc MODE_PREFIX(ip), t0 csrs MODE_PREFIX(ie), t0 #endif