Message ID | 20211003012210.1165606-5-npiggin@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jTBhTIi4; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=<UNKNOWN>) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HMR192zKXz9t0p for <incoming@patchwork.ozlabs.org>; Sun, 3 Oct 2021 12:22:53 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HMR191YFPz2yww for <incoming@patchwork.ozlabs.org>; Sun, 3 Oct 2021 12:22:53 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jTBhTIi4; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1031; helo=mail-pj1-x1031.google.com; envelope-from=npiggin@gmail.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jTBhTIi4; dkim-atps=neutral Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HMR0f37DGz2yHW for <skiboot@lists.ozlabs.org>; Sun, 3 Oct 2021 12:22:26 +1100 (AEDT) Received: by mail-pj1-x1031.google.com with SMTP id rj12-20020a17090b3e8c00b0019f88e44d85so3042296pjb.4 for <skiboot@lists.ozlabs.org>; Sat, 02 Oct 2021 18:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i9k7rH0Hxkl4RgfmSWzO4mBd5SizxvTJAShwtdvH2L4=; b=jTBhTIi4qBtpVKBXpSB3DG7wm8hoaYf1BX4vFJGoJyzQpCyioE8U2XOs9mkpwN9X98 gbxEm4uBjxYQbPpJ1juINOSjhI92UjdvCBZLWqQLjTtthXOnx+ffML+sTVDXdO0iywhR Eo5aplUqSgcMDIU9KdjXqtf6I7IyrQVigGEerQncBY2rVZA55oE/lyR6487NxNhsd7O9 z184u2LUoUofGcgIG1PVQwD1NMr7rogpX/LMgFqSvTX7RWY6e73QJnRzvoxONA2OlnCT X5Q7qwgS4M+GTWRbuc5ng46AUbkgi8LrXEi0rRPDvBJLlnIfMBPKTCXAl14QR0n2CRYi VzYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i9k7rH0Hxkl4RgfmSWzO4mBd5SizxvTJAShwtdvH2L4=; b=HyFYOXkzhrpDnhVJ+1TlHOQzUMS8/EUiXFOH4rOfBjHyIG2x5lFZm/M3H4XWT2Jlhh 1qjmnxnHBgiamz5wNxkoScdxRVn0aDs2mycY4TUp62OBdkbxy6w61LKgNjvhDJMhmClr ww30AUqWVcbe8Jg25fIx6++fEhqeTT4VeZL8yOpM4/PTVJfVErgDnhKvtxd9jci2jTla JKoIP5AzK/YZZDNlC229QJ9oCob+8XkTipDuLUhK9dcLVX1853833PNn67QVv+RXIzoR Mjb9i7TJR3kuagL4zK5W4Fr2tOA7qaTqeTD/EbHHlNlypFjZSaUHWnF5oK1c7vWkUcm1 VUng== X-Gm-Message-State: AOAM533RN1+ybQsGLzJ1CyM1AJez3tsL9PJanydkmLCd48VnYxZUgZR3 bteuv7ygFwsyUnRLdWl8vEQAwJxBQBc= X-Google-Smtp-Source: ABdhPJzfM+0HEE+FATJUbfJw8BMeb1tyQbXqd7Jky8fkdOZnlDbn2IS+drP317fsxxUCBmUYQiiv+A== X-Received: by 2002:a17:902:b193:b029:11a:a179:453a with SMTP id s19-20020a170902b193b029011aa179453amr16492807plr.69.1633224143988; Sat, 02 Oct 2021 18:22:23 -0700 (PDT) Received: from bobo.ibm.com (115-64-153-41.tpgi.com.au. [115.64.153.41]) by smtp.gmail.com with ESMTPSA id z3sm11158058pfe.78.2021.10.02.18.22.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Oct 2021 18:22:23 -0700 (PDT) From: Nicholas Piggin <npiggin@gmail.com> To: skiboot@lists.ozlabs.org Date: Sun, 3 Oct 2021 11:22:06 +1000 Message-Id: <20211003012210.1165606-5-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20211003012210.1165606-1-npiggin@gmail.com> References: <20211003012210.1165606-1-npiggin@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 4/8] asm/head: Fix P10 HILE for little endian build X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
various fixes
|
expand
|
diff --git a/asm/head.S b/asm/head.S index fa8933b14..b2755344d 100644 --- a/asm/head.S +++ b/asm/head.S @@ -829,8 +829,13 @@ init_shared_sprs: /* HID0: * Boot with PPC_BIT(5) set (dis_recovery). * Leave bit 5 set to disable recovery (due to HW570622) + * Set/clear bit 4 (HILE) depending on skiboot endian */ +#if HAVE_BIG_ENDIAN LOAD_IMM64(%r3, PPC_BIT(5)) +#else + LOAD_IMM64(%r3, PPC_BIT(5) | PPC_BIT(4)) +#endif sync mtspr SPR_HID0,%r3 isync
Fixes: 891ed8df67 ("Initial POWER10 enablement") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- asm/head.S | 5 +++++ 1 file changed, 5 insertions(+)