From patchwork Wed Feb 26 18:33:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 1245274 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 48SPj813bTz9sNg for ; Thu, 27 Feb 2020 05:39:24 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: 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=20161025 header.b=GWFeoSwD; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48SPj72StQzDqlD for ; Thu, 27 Feb 2020 05:39:23 +1100 (AEDT) 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::442; helo=mail-pf1-x442.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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=20161025 header.b=GWFeoSwD; dkim-atps=neutral Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 48SPhX67jXzDqVR for ; Thu, 27 Feb 2020 05:38:50 +1100 (AEDT) Received: by mail-pf1-x442.google.com with SMTP id 2so191962pfg.12 for ; Wed, 26 Feb 2020 10:38:50 -0800 (PST) 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=t9x06lk87u3cqPudTL7MvDoMJfgWJ4w7wb6T+MtReUs=; b=GWFeoSwDP2JUs0QgZxVmuQgq32k542u7ZeaE7jCr/HJCdz3+M4xTSsKBCkwH4pyR2p LjROQczs4rdlQY8vylLRUzRvne+XUcMhIIw3A6Kt+ruGiNMmTBCTp8LHnkIepWPGaSNV NL2TVH+wLLF/TsV+1si3xMZOJNyOamyrWhyr9rX1JI02BtFiE1ytyxuJtw9sbMQnblVB VGvy+fAy59W0kzZ+/ucQNjW/cbVDhuo4RD3yWEXIuKtwYWAiUhn9ygS95oiBvRTYUC3f PZ6yQ/mtq+UfwtgefLxeOprpPeCyEpj0UJmHmbLmldltxQpNEMRjTL47DT2y4m5n6Lir VcMw== 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=t9x06lk87u3cqPudTL7MvDoMJfgWJ4w7wb6T+MtReUs=; b=ngbTP+ABK2vvT3zTwoJNIYJj2nrifLwr2DC1mqk9Y2a0+Jryxwh3bw2S375qJB5iAF A9LBvVmZU7TNynIIbl8hingX5g1VbSQ4m11LkbJOWeUSkGNDAsLQKgZbmuroW0WTafEw c8oLNsX07mtqsrL5FcRmocrt7maQk6A1gwswca6vbyjZ+ePql8ME7sRfz8ObKiUaX0Gz GwveYLUjOuPl6hrgQUjhwVCxk8AQXKpnrEuff5pGGUGKxcLKCRTlkBymgisQsLuo2Xli OX47/YsKtNZi2uinHDI4abrLzjs5FQjvBYrOcaFQqI+HGZALo1nChEvHaf9Zwj0fmjeb p/xg== X-Gm-Message-State: APjAAAUDENs5tZc6DlKPJipwi+oruUeYmoSsBMVFB8CgvRL43kmwBpWj kbcjo8cY/jtf0OetHU+oJwMyForf X-Google-Smtp-Source: APXvYqwu9d27J7Kow2esKRWrjltl2KgvITruAQo0MXQtF3weBN9OvuaaP2faDIqc2POpfyX0PYUgkw== X-Received: by 2002:a63:d658:: with SMTP id d24mr185521pgj.73.1582742326402; Wed, 26 Feb 2020 10:38:46 -0800 (PST) Received: from bobo.ibm.com ([61.68.187.74]) by smtp.gmail.com with ESMTPSA id v8sm3715247pfn.172.2020.02.26.10.38.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 10:38:45 -0800 (PST) From: Nicholas Piggin To: skiboot@lists.ozlabs.org Date: Thu, 27 Feb 2020 04:33:59 +1000 Message-Id: <20200226183408.1626737-1-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Skiboot] [PATCH 0/9] assorted fixes and preparation X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Few patches lying around before we try to get skiboot running with virtual memory and OS services. Patch 1 should be stable I guess. Thanks, Nick Nicholas Piggin (9): asm/head.S: QUIESCE_REJECT fix move the __this_cpu register to r16, reserve r13-r15 fast-reboot: add missing clear memory fallback fast-reboot: don't back up old vectors upon fast reboot fast-reboot: improve fast reboot sequence move opal_branch_table, opal_num_args to .rodata section skiboot.lds.S: remove dynsym/dynstr and plt skiboot.lds.S: introduce PAGE_SIZE, use it to lay out sections core: interrupt markers for stack traces Makefile.main | 11 ++- asm/asm-offsets.c | 1 + asm/head.S | 51 +++++----- asm/misc.S | 18 +++- core/exceptions.c | 2 + core/fast-reboot.c | 239 +++++++++++++++++++++++---------------------- core/init.c | 10 +- core/mem_region.c | 10 +- core/opal.c | 12 +-- core/stack.c | 11 +++ include/config.h | 3 + include/cpu.h | 3 +- include/mem-map.h | 2 +- include/stack.h | 6 ++ skiboot.lds.S | 32 +++--- 15 files changed, 230 insertions(+), 181 deletions(-)