Message ID | 20200330171226.v3.24.I6f54ae1deb9a3f954441d072e5d591d7cdb4ed5d@changeid |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
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=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=bnTTZCnW; 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 48rpMV4wqdz9sPJ for <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2020 10:19:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 895E9813B5; Tue, 31 Mar 2020 01:16:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="bnTTZCnW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0F4508192D; Tue, 31 Mar 2020 01:14:59 +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.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (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 08B2481923 for <u-boot@lists.denx.de>; Tue, 31 Mar 2020 01:14:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x141.google.com with SMTP id x16so17620479ilp.12 for <u-boot@lists.denx.de>; Mon, 30 Mar 2020 16:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RdNxkWmzAqLjp6T0oIK4yexqlPKwwMXVI4AASyJAO9k=; b=bnTTZCnWOw82HxcqCq/YiJ1uIVkwVcNOkKctOCI/5K+NtCuVBtE3YRVo2OvB1nJfgp aOCZzyV7kRHkg6dCurop9MxJJMm+W6FLdrHp2hjRDQVHKBg/a6b0ERdFOlmNojanOwwK 6ssMQT4Vke57gUR+ozyktRVxN/jxDp2VTu3OY= 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=RdNxkWmzAqLjp6T0oIK4yexqlPKwwMXVI4AASyJAO9k=; b=GPAcyR2vydnPPAND2TwauhbAAaGzfcCTmPy6sPNOx/+hpEp4w1YSKFQykJL/SSzDZA OoAKzDWU2dS7u+4KAG1nAfXveMs1oO2vrwJNpRfTG8H1Nl/E+VyvCfQ1im78gW9FSrjd BDOl06Vq7mmnzVj3HcsNVlkrNpkhQN2oI232rN1gzo4s+aV/s8dm3bgLj7xjUqYqdDId VEz0uqsNLl7eYthg+S/swPB7yImP0IqQB7uEvQS5GpEIFIq6xfOVbuKeL6yoBnU08MDN z8gz2ZfvLDAXtdVZth9jC7OLeBoQJEmLB6Gynu6bjdnpXB+bYa+L2pMurzPuiPQcdlGV nxZQ== X-Gm-Message-State: ANhLgQ0K+MvSupbRd02PNZyjj46jD/uu0cnGQkekhGxXXfV4t7eAhHx+ 70KxW2YnBFllI/YOYzoviqCYhxhQo5G73Q== X-Google-Smtp-Source: ADFU+vu8/eN4ZN3LiqKC1Gi9Yo2sc57qVyJFVjnCKk+W8x7sw0XdMP+idLw5hIqdvxw1L/deSmQ0ng== X-Received: by 2002:a92:4986:: with SMTP id k6mr13030421ilg.252.1585610081701; Mon, 30 Mar 2020 16:14:41 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id c28sm5357898ilf.26.2020.03.30.16.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 16:14:41 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: u-boot@lists.denx.de Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Wolfgang Wallner <wolfgang.wallner@br-automation.com>, Leif Lindholm <leif@nuviainc.com>, Simon Glass <sjg@chromium.org>, Bin Meng <bmeng.cn@gmail.com> Subject: [PATCH v3 24/29] x86: Allow devices to write ACPI tables Date: Mon, 30 Mar 2020 17:13:00 -0600 Message-Id: <20200330171226.v3.24.I6f54ae1deb9a3f954441d072e5d591d7cdb4ed5d@changeid> X-Mailer: git-send-email 2.26.0.rc2.310.g2932bb562d-goog In-Reply-To: <20200330231305.130488-1-sjg@chromium.org> References: <20200330231305.130488-1-sjg@chromium.org> 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 |
dm: Add programmatic generation of ACPI tables (part A)
|
expand
|
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c index afa00bc2f80..e5247c64049 100644 --- a/arch/x86/lib/acpi_table.c +++ b/arch/x86/lib/acpi_table.c @@ -580,6 +580,8 @@ ulong write_acpi_tables(ulong start_addr) acpi_inc_align(ctx, spcr->header.length); acpi_add_table(rsdp, spcr); + acpi_write_dev_tables(ctx); + addr = map_to_sysmem(ctx->current); debug("current = %lx\n", addr);