From patchwork Thu May 24 01:37:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 919507 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40rsTP3n8Gz9s08 for ; Thu, 24 May 2018 11:38:01 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rZHIJ2sQ"; 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 40rsTP1TGfzF1F0 for ; Thu, 24 May 2018 11:38:01 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rZHIJ2sQ"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::241; helo=mail-pg0-x241.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rZHIJ2sQ"; dkim-atps=neutral Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40rsT31CYDzF1Kr for ; Thu, 24 May 2018 11:37:43 +1000 (AEST) Received: by mail-pg0-x241.google.com with SMTP id p21-v6so1378pgd.11 for ; Wed, 23 May 2018 18:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Uh08nGp+RKAulGDF0/zvpPTBo5gfBKJ3nJEtllql8ms=; b=rZHIJ2sQ2xqBAurSl3H6WSUXObU4L1zsG4YvfymxBS+e9u7GwWxELnBnhdfr7MiaGI /RmI0JCwmYpYFpx17jM9Y58YVYAxsdy+JYS6wc2uLRPeDyKlBofh57ej/8hY2ipewu5/ dWDwDShUVnvDGiYMAAqB1vjXGFwUZtlw0HKk2q36Q3gdwYKwpznTjTZYpwcqQff5Idyz rSZsAwXvF5C3f0p3TJTmmFzORyHXG5RkNtK3IxC5V6LvRFMgaH9SbrfU/hoqmO7RrW8y icR0jyffiWHvWba/Pli3H1w/E1G/miohQzRJVHHafhiFV0NfO6jyL9lKnlfdj9dJB+9M COAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Uh08nGp+RKAulGDF0/zvpPTBo5gfBKJ3nJEtllql8ms=; b=BgRl/DPhposojNiTdLZTdw5TPm+bix0zKzDIl1WS9H+fBEKkR+zSHpr7OlZVgQhjkc cQGWL4L+y18uJuuW756NjCgcGTrYxAuM9wsHvujs47Iuxg8tOCwdLRK0HXaF4CF1tsb9 Rgq8fWVmfKuYuFOjYUt+QncVmKSAvotfyWK4GeOIa413i16s74raVbvKBB7PiprZTCN+ vhciB2ISjQE4emCzjvdYFu3VCR2AJ9D7w5oO1/CtwqnyIm2KJBWJlarUM+JYUuXbJvD1 WOsyTRcu0nh+pO6DjQZjLR++jx2qqlnkCKI/qz2eXZT88zIvPPM2RYfn48R3+BF4dfxN +MCg== X-Gm-Message-State: ALKqPweo4e4vINozvK/2KckUwa0po+RNuW33ibtBeBqO0S4xWQOoCLjL pAKfXlAZqqSlBO0w9rVbGx+iK4nJ X-Google-Smtp-Source: AB8JxZp9QQHfMGN/t9z/Ncaehkx6BpxBoqr9tXt5RJ1ZWGEw9YHAYTTky181jsKmTELW5jJUYKp0Vw== X-Received: by 2002:a65:6285:: with SMTP id f5-v6mr4191710pgv.252.1527125860572; Wed, 23 May 2018 18:37:40 -0700 (PDT) Received: from aurora.jms.id.au ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id r22-v6sm30382996pfh.61.2018.05.23.18.37.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 18:37:39 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Thu, 24 May 2018 11:07:34 +0930 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Thu, 24 May 2018 11:07:19 +0930 Message-Id: <20180524013720.1589-2-joel@jms.id.au> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524013720.1589-1-joel@jms.id.au> References: <20180524013720.1589-1-joel@jms.id.au> Subject: [Skiboot] [PATCH 1/2] debug_descriptor: Claim reserved field for host kernel log buffer X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Signed-off-by: Joel Stanley --- We could bump the version instead, but I don't think there's any call for that. Another option would be to re-use some of the memcons fields that are currently only used by FSP. A third option would be to use this field to link to yet another debug structure to allow for future flexibility. --- include/skiboot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/skiboot.h b/include/skiboot.h index b4bdf37795dd..7f3740965412 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -75,7 +75,7 @@ struct debug_descriptor { * low 4 bits driver (e.g. uart). */ u8 state_flags; /* various state flags - OPAL_BOOT_COMPLETE etc */ u16 reserved2; - u32 reserved[2]; + u64 log_buf_phys; /* Pointer to kernel log buffer */ /* Memory console */ u64 memcons_phys;