Message ID | 20200503023550.326791-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=r7Cwd/6b; 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 49F9Cw5W2Kz9sPF for <incoming@patchwork.ozlabs.org>; Sun, 3 May 2020 12:38:52 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2936981EE4; Sun, 3 May 2020 04:36:38 +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="r7Cwd/6b"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 23CBD81ECA; Sun, 3 May 2020 04:36:28 +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-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) (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 337F681EA2 for <u-boot@lists.denx.de>; Sun, 3 May 2020 04:36:22 +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-qt1-x844.google.com with SMTP id h26so11165039qtu.8 for <u-boot@lists.denx.de>; Sat, 02 May 2020 19:36:22 -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=r7Cwd/6bEl8DuPR7bdg6ySUccUN8o/TtTkObemqefnS8lcAb8iSDTtr94l5NQr3n7y KeE6orYcHWCsHbcYLLpKVIUaYoQ0h9E7GMSc/fvHZBMT+1fkI2JxDpG27d1M3g/4YKh5 8NcGoX+PjYlq7LZ3kP1rREZjyAEGEPBPYS+IDgRvCL87wRe2jH4Ar+9vRyjpImU/Vzuj NixLWRRDSiQA0RujaeUqQ9eEOtKgy12JVq1wFK4HAWSoA0FUlJ9rZD3Z/flAKWUluCr+ KYPbPQIkCad/f5B+QJrkUZ0H5GoYDW+46zGfAz9c9JMqPFfs1y+mGOWEW3a7RdG4SFDR 4nEw== 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=oP9hXdSeB1E++7Q1md0220jXPAaqMOcu3w6BLgObnuSnfZAaq789NnedMUrz0Cs3Qi htR1yObAilEO1etcJyy+M+9rn3dryP9AFUoNPPSUJFZfcgkUsHQI0eMuXoVJvbO+mU+L 5RnWIHdWoJfe/yP2Qm9ajdtHwWOwU/cwssTOSqFzbvu6+iDyEa4imHH8/l6kS2nqh8IA zS5KaE6TEHllHvgW5CZw8pxgV/gxrkrQ5Z+o4uIY3RE1o5ZScbJov69P3bYLufI7hPSE Sc1bD+JTZDKZcmOR06UKDyAncBic+gB/oEpd3qg9eTjSBssdr2CWv1Y4BXoUimjYRK0S RzIA== X-Gm-Message-State: AGi0PuYIklmTBifpbe2b3mX7na04Za+gnacbFCgiM2+I5yothsJaclvw T0PU+MxbVO60p/zbFpJWDBDvyx0NhRcGFQ== X-Google-Smtp-Source: APiQypLTRW/uDKxFf1HUmnH5zTWRIjZTeL3dHnwwPr4BtQGO82V6ySQx4xmhA8FDC2XQ8XnsCF6kOg== X-Received: by 2002:aed:34a5:: with SMTP id x34mr10359662qtd.216.1588473380866; Sat, 02 May 2020 19:36:20 -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 a124sm6554114qkf.93.2020.05.02.19.36.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 19:36:20 -0700 (PDT) From: Sean Anderson <seanga2@gmail.com> To: u-boot@lists.denx.de Cc: Rick Chen <rickchen36@gmail.com>, Bin Meng <bmeng.cn@gmail.com>, Sean Anderson <seanga2@gmail.com>, Rick Chen <rick@andestech.com>, Lukas Auer <lukas@auer.io> Subject: [PATCH v9 13/21] riscv: Clear pending interrupts before enabling IPIs Date: Sat, 2 May 2020 22:35:42 -0400 Message-Id: <20200503023550.326791-14-seanga2@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200503023550.326791-1-seanga2@gmail.com> References: <20200503023550.326791-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