Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp326295pxm; Wed, 2 Mar 2022 16:27:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNVEoDxcQkWDUbEeIWsxwLna80gwcpeZZfv+dpN7Ji4XvdpS1USxRck9+fV13Baw9aQHLj X-Received: by 2002:a17:902:8e82:b0:151:6f68:7088 with SMTP id bg2-20020a1709028e8200b001516f687088mr15795747plb.11.1646267243895; Wed, 02 Mar 2022 16:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646267243; cv=none; d=google.com; s=arc-20160816; b=f19s9Iy8BQAfLFScuajOa3tlNKHwVJG84KM1qhPA5sk71+6x3asRtaxvwWUwZd387X 17R1Xp3qJf3zlTsmzzeV9Ntt/qVlpD8BN8pkmfS4PIP2mMqbnLipkuQ85aYdh05lG14H ru6vOSBissk45td5om2xT44YScvsIw/TisvNvzzqMccWRhPU29r7GKAruNc49QfKjSqV jO2gv49TIZe/BhyCNOEoAgHBoGIZr8E3W+lQU414kFDNt9dJHiia6RixpDBroXvLH+A7 hegB7tb2so4v9GYOosWfoKN14o9aIbll2rj+zbSQ1AXDHHXZ15djATi0XePYomCnQ71y 865Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=5wvrt4mN5pwwCtlrrq6xd2uRhH3ZrSedQGiLgTtwogM=; b=BV2eND6RNU7NrcLNVVsgDVO4m3dPg3czFb89NrQk3meDWYSXqHJF1SOz5HKKLHm3TF gf98ujO2MDwgWPvt9C1qWP1m09QdN6J1wvzi10UjwoQPhz0kQDilDSoOR8NeVjYs8jCO rgKezBY+oTIJ/xYQjz99tvoxCWexWTQc1O4zIR3QQWJ0gjP4a1YM+UVp/+LB5kbkZIHF weUM3pi1/CaHr8JsWqtMNpYnqUbGFPx0hZzfMfDk3rmEsXKa7cUhRnoLa2zBjrNiiYUg zuUaL+VNDP7jR0YyvXNBRWtoonBrAbGbMbOTiGYWnLuFNTpxKUilhjrPU0ev91uPQLhn s56w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e5-20020a6558c5000000b00374a41b4a51si512863pgu.291.2022.03.02.16.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:27:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 03B0320D81C; Wed, 2 Mar 2022 15:39:54 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231971AbiCBToO (ORCPT + 99 others); Wed, 2 Mar 2022 14:44:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242082AbiCBToL (ORCPT ); Wed, 2 Mar 2022 14:44:11 -0500 Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5CC7CA0DF; Wed, 2 Mar 2022 11:43:24 -0800 (PST) Received: by mail-yb1-f179.google.com with SMTP id g26so5538209ybj.10; Wed, 02 Mar 2022 11:43:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5wvrt4mN5pwwCtlrrq6xd2uRhH3ZrSedQGiLgTtwogM=; b=YaQNHym3tiesS2Tc0ukoLuesX5mNmGnN8db2GEaB6Mja/8MGC9lSzokzxV0LZO9Lpi JHPavshPjZfEgURxMABWNe0ONl3YyBzz1+wMRVK3mCKqy+U6O7N0ze9KXx/6TBO5cH/6 1KxRMlDExARJXst6BDx15X2QUr+v00YXEJhWzYbEqXqgYW2cIOmBJVF+LTQcO6Ye19Lp TXbBfz/H8YS/EMyHjeFb2jubDgdU4zO3yfWLMQagCOfTtVpxZxB/JLtB+EHwT6KVDM3w aInFhBfZ0ywbW72p+vyUq4dKoTnRy5RYTBIkkH/6IvGA/Txpof/R6TCQ9jSyn7U3amCR HD8Q== X-Gm-Message-State: AOAM532P+730t04OrkYYKPp35F8HhY4XXvo+i5kmORKQIMdnMtN1noPz 7fb3uTGpDpYjFW0dL20r37u+hvtwud3ZQAG7sdc= X-Received: by 2002:a25:bbc1:0:b0:610:b4ce:31db with SMTP id c1-20020a25bbc1000000b00610b4ce31dbmr30378943ybk.482.1646250173910; Wed, 02 Mar 2022 11:42:53 -0800 (PST) MIME-Version: 1.0 References: <20220223160708.88100-1-mark@yotsuba.nl> <303dc74a-4d63-70a2-9891-af3e3d8baf26@redhat.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 2 Mar 2022 20:42:43 +0100 Message-ID: Subject: Re: [PATCH] x86/acpi: Work around broken XSDT on SEGA AALE board To: Mark Cilissen , Hans de Goede Cc: ACPI Devel Maling List , Linux Kernel Mailing List , "Rafael J. Wysocki" , Len Brown , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 1, 2022 at 8:34 PM Rafael J. Wysocki wrote: > > On Thu, Feb 24, 2022 at 9:41 AM Hans de Goede wrote: > > > > Hi Mark, > > > > On 2/23/22 17:07, Mark Cilissen wrote: > > > On this board the ACPI RSDP structure points to both a RSDT and an XSDT, > > > but the XSDT points to a truncated FADT. This causes all sorts of trouble > > > and usually a complete failure to boot after the following error occurs: > > > > > > ACPI Error: Unsupported address space: 0x20 (*/hwregs-*) > > > ACPI Error: AE_SUPPORT, Unable to initialize fixed events (*/evevent-*) > > > ACPI: Unable to start ACPI Interpreter > > > > > > This leaves the ACPI implementation in such a broken state that subsequent > > > kernel subsystem initialisations go wrong, resulting in among others > > > mismapped PCI memory, SATA and USB enumeration failures, and freezes. > > > > > > As this is an older embedded platform that will likely never see any BIOS > > > updates to address this issue and its default shipping OS only complies to > > > ACPI 1.0, work around this by forcing `acpi=rsdt`. This patch, applied on > > > top of Linux 5.10.102, was confirmed on real hardware to fix the issue. > > > > > > Signed-off-by: Mark Cilissen > > > Cc: stable@vger.kernel.org > > > > Wow, you got it working, cool! > > > > The patch looks good to me: > > > > Reviewed-by: Hans de Goede > > Applied as 5.18 material, thanks! And dropped due to a problem introduced by it. Also please note that the x86 mailing list address originally used in the CC list was incorrect.