Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2672823pxb; Tue, 23 Feb 2021 12:36:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3bqjmMXTzjy1G+uMpPyzqrDjV/fLfqB1DNfPpVQWnqT7uIHuBO7uxInt+0ppoLOOr8pxP X-Received: by 2002:a17:907:c27:: with SMTP id ga39mr28666960ejc.68.1614112571576; Tue, 23 Feb 2021 12:36:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614112571; cv=pass; d=google.com; s=arc-20160816; b=R+f9NYESnM1515DrypfEVkP8hv49kZlHQ3S3lARQK454p4VZbyhmuZ1UuxEinKOdW9 xdwE6OACZQ8fXcqR53F/M8rire2aOUCz3FWIJ0G4mKtQBmyglT06G4aD0WKO3Uvax/ai PcqErA53qAbBeQ4hkc/3usYsdAS3GVigk8IUVSoYe0pqfFhvGc6obMfM+z3SwT7UnAwm X3k+sQQB53Gq5+TGg3N0FYNqOTKFEwnXxVcuwed7ttfT44E48Q/avd+8mm0DDsUdpdSv aJU3FP5vaBh90TiPWwInbOEY+TTqdzfRMfJVnfn14kojgrFKun5fOLWsVCUSiE7GHO0L vyrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-language :content-transfer-encoding:in-reply-to:user-agent:date:message-id :organization:from:references:cc:to:subject:dkim-signature :dkim-signature; bh=s3qhbGpMsBLVh/dROWQDr5uTQcl6wUEYNO6AnHU0k7s=; b=PrIZNHiY19p7aIp5+OTLnhR+NdsvP52iVyT2vuoGbwgyyXcrMdItvd9SDSkRYfOz8k cR1EYRn1sabGDKJ2NHXMfx7aPNc1tq/Lmc4Sp/3OViZcyQbUtFPLTGe1LbhHTafeuTg1 x4B9St3PeL7TwZU19q5p3M98tAixyDhwwfXcxRAfQYBDiky2Tw2ondh0uQwDAY7JD3pe 7wUGrgDUVgiN0QPNlE0s7JZZ1oINJO7ZSD/gRz+Z8vyLaN+02L7ge+KUpACgaMmOsOXX 0TQZYlUSqEMQ07mVFerG9NHI+M+zkb5W6FRnvvMKN5juVHwn7aSlCj4yq4dP2cSJ3KpO lxJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=oFxyAcOu; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=WST7pqIW; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z62si4012558ede.388.2021.02.23.12.35.42; Tue, 23 Feb 2021 12:36:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=oFxyAcOu; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=WST7pqIW; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233763AbhBWSGm (ORCPT + 99 others); Tue, 23 Feb 2021 13:06:42 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:53218 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233167AbhBWSGi (ORCPT ); Tue, 23 Feb 2021 13:06:38 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11NI4Xps024361; Tue, 23 Feb 2021 18:05:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=s3qhbGpMsBLVh/dROWQDr5uTQcl6wUEYNO6AnHU0k7s=; b=oFxyAcOunPTK9KM55bnx6/d+X880ngXCOQuefBYINt9bbDtJ1wTybqjvflr70+RfCEqk CCECWl+2YKaLQXnRbp57KPyxV5SXoa8Fugjk9bdbJ7JE23fPEPMAKD33RIeJdMxXyPDt N8WAYolctzQI+N6wwCLGPl1mEOdj7YpGlt3kRIZRjS6ROkVlrc9lsjRFa7Lv0YGaGz+o XlGK9puczaFIZD6DOJCOf4R06B+/q36sFXeWFZfWk7ElVB+rYPk4toOcRZNtngJq/leh 9dNkgeBthbOs3pdry6TinptpPOonLnVhfl4pfdGBFLTPbidRQKDhOW0YlMZ2UeAEPRE+ yw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 36ugq3f6ts-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Feb 2021 18:05:19 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11NI0aOW110349; Tue, 23 Feb 2021 18:05:18 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by aserp3020.oracle.com with ESMTP id 36ucayqh6d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Feb 2021 18:05:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BSnn7OBkfX1IMdwjqN904aWincpC8K1Lm1tkFOZ6qcE2IyTzYZbT1AMPED4lmIE4vKmfxcHePLmGLpB9M2BOzLLhHJJWmOgyITHsU4g/mwVdLcsmxUyEe89u+a4iPPoTSSTH5uNDTxta6wavcgXhARoSTqb8BZ2Q55vEN8mgDBb+08+xQIrWcPPfXP1oH90SpvtUONe4bicemW3yJkkXO3xb2xwcIquhpCzHvwAzcWw3o7wffEpM3+48w/89EtSZcJ49gfJgWk/FFOwxDB2MRGEtwqeeYH7/Cc6cDzhCfCsAisRh/BKqMdthV3Xd+TVojxCki5o2ESfXJuM2cqD4IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s3qhbGpMsBLVh/dROWQDr5uTQcl6wUEYNO6AnHU0k7s=; b=G9Bj9rvPgcse2xUZYwj+8zyJyUQig1W0iLxFoICK93hRiPYqTuSoxNunR9ty4yuEl72ina2THPzR+7HY+evtVvVj24jTQuJOm9yFW/Z2nGiLYLtD2I+G+au8SgHofCujS1nYCwPPPTLQe+SNjQsLCB0i65c5+H6NqGNIClb6gLbDeF6D2NhBjAiL1RqvM7qF9hPtfB8Yftx6iGg5aKwDxqkZe52EjDk6vdMzbn9BfLiig/xHNcapCwGNSa7z4RrA1vXud0OWpbMrpnKO17Z/OyfNoKmn1UtPhj2qf/3d4nrGqaD01JQJcF4WyaC+dQqJY9dE3tJbrN0PAS43tEfufA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s3qhbGpMsBLVh/dROWQDr5uTQcl6wUEYNO6AnHU0k7s=; b=WST7pqIWREgPoCPo9fm6djLRIyBSEwipl3TLk/m77umTE683oJ0q475OaZWgkP7rK4hjzWIecqz0KX+hwCovI4Dok9tdFOxV3vSYIPaU9Hq2Wz37E70F5sB+zMUHAP4ect3mma0PZ49Nmgun7+cypo9nRbObSFbVLjBj0/15rnA= Received: from DM6PR10MB3851.namprd10.prod.outlook.com (2603:10b6:5:1fb::17) by DM6PR10MB3595.namprd10.prod.outlook.com (2603:10b6:5:17f::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.32; Tue, 23 Feb 2021 18:05:13 +0000 Received: from DM6PR10MB3851.namprd10.prod.outlook.com ([fe80::5c53:869:7452:46da]) by DM6PR10MB3851.namprd10.prod.outlook.com ([fe80::5c53:869:7452:46da%3]) with mapi id 15.20.3868.033; Tue, 23 Feb 2021 18:05:13 +0000 Subject: Re: [PATCH] mm, kasan: don't poison boot memory To: Mike Rapoport Cc: David Hildenbrand , Andrey Konovalov , Andrew Morton , Catalin Marinas , Vincenzo Frascino , Dmitry Vyukov , Konrad Rzeszutek Wilk , Will Deacon , Andrey Ryabinin , Alexander Potapenko , Marco Elver , Peter Collingbourne , Evgenii Stepanov , Branislav Rankov , Kevin Brodsky , Christoph Hellwig , kasan-dev , Linux ARM , Linux Memory Management List , LKML , Dhaval Giani References: <797fae72-e3ea-c0b0-036a-9283fa7f2317@oracle.com> <1ac78f02-d0af-c3ff-cc5e-72d6b074fc43@redhat.com> <56c97056-6d8b-db0e-e303-421ee625abe3@redhat.com> <20210222215502.GB1741768@linux.ibm.com> <9773282a-2854-25a4-9faa-9da5dd34e371@oracle.com> <20210223103321.GD1741768@linux.ibm.com> <3ef9892f-d657-207f-d4cf-111f98dcb55c@oracle.com> <20210223154758.GF1741768@linux.ibm.com> From: George Kennedy Organization: Oracle Corporation Message-ID: <3a56ba38-ce91-63a6-b57c-f1726aa1b76e@oracle.com> Date: Tue, 23 Feb 2021 13:05:05 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 In-Reply-To: <20210223154758.GF1741768@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [108.20.187.119] X-ClientProxiedBy: SJ0PR05CA0019.namprd05.prod.outlook.com (2603:10b6:a03:33b::24) To DM6PR10MB3851.namprd10.prod.outlook.com (2603:10b6:5:1fb::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.246] (108.20.187.119) by SJ0PR05CA0019.namprd05.prod.outlook.com (2603:10b6:a03:33b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.11 via Frontend Transport; Tue, 23 Feb 2021 18:05:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb59a264-b97d-41e3-3736-08d8d8259116 X-MS-TrafficTypeDiagnostic: DM6PR10MB3595: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lfi1BWxg3j1BTJe6B/gMF2jVlcXEVQdFzCoW4mOXnx6ajuzoeN9cDLHXz+iixO0qHNxVvcuZoWkz7LV6xcC2Zy6xHJG/hpnNq4IaiSV5cyOj1fd64u9H89ZAyWrGJp8j0N/xJgbMXEzyD4OZ7kFZtdjuUXnGxkUYtqnMo1BTLW8/nS4e3sIa1F/5s1OyWWAGVZgfeDQKhonr33KZUQ+XZQV8CYVSSqUAJHOxhtDmiIjl94okSNxWk7/RkbANSfbFxERHqtOTKbCIMaUBHihh8PYgCmiS+sYbBhAUVaj4q6VfLwS3hLzFEKRMluacUHETgRMkBjx02BGdvbj9IsbqHQhvTI5QUeBdAbxOAafSvse52Sp31qnxMGonJ2h8qrrsDqS8Yewpshw1XHjqYjkp+hz1IOUakQwCuOTbYXnLqAgnXVWaa7jwJm7sFyjUZ/ub9ZKYF1WaIRHxMuk2of2UndNen0wgL6v9dPOuUzR1lV6caigugAn5o7zu5OHlcYnR9O3OQFcCJ4IYMwxZqeb/0DjYPDUgPhAgbKgz5w5tcRf6RFPA7CYX3R68rOVWWPNuz8OhhjxwKZyIg0agoN6f2ZGti5uJc5eehqOZOobUosPRpaWxVBMoBD/5FxUBanmP X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB3851.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(396003)(346002)(39860400002)(366004)(136003)(376002)(8936002)(31696002)(478600001)(6666004)(16526019)(26005)(6916009)(6486002)(83380400001)(8676002)(16576012)(186003)(2906002)(36916002)(316002)(44832011)(31686004)(66476007)(66946007)(54906003)(4326008)(66556008)(107886003)(7416002)(5660300002)(86362001)(2616005)(53546011)(956004)(36756003)(21314003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?clFvSnAzYXF3bHhnNDl1cVBLUm15QUEwTUxKN2hheTE4Q0hUK3h4NU5iTmtz?= =?utf-8?B?MjF5TFlWWjNHTkd0TVE4cmpuaHZtTHlMREMyV0NVZExkcjdIVFJjVXc2b0dL?= =?utf-8?B?bEtlQVdsZ1dYcnpsYkhTZTczc0h0d0MzWk9OZmpPVGM4TG42TVFld3RJd0pB?= =?utf-8?B?bFR1UldpQW50RzlZeVc2dE9NOTZ4SlhHVkw5VXE1VmIxV3ZHMnNNeXVaTG9C?= =?utf-8?B?RHcrZWFRYTc2dzBaNTVkM3NObEpJSGxLUmR0NmZRcG14NEFBNE12TFFhZWF2?= =?utf-8?B?blZVenR5ekhKY3g1VGpndTBXdDVZczhwUFBtLzlHcllGUkNGcDZoZk5aQ3dO?= =?utf-8?B?WGZ5U0U2VjlPd0Y2bG9lbzVjdmNhMTd6MldtNWZ1WUk5ZjBWRWtqdVJ4M3dz?= =?utf-8?B?MXRCRUVINE9Bc2FJdFJobHBqTTlCOXlpK2xMYUpLeUE0VFlNbktxU1RQRmxO?= =?utf-8?B?RmNjVTRNcG1Oa3NCZmtLMXJYbTFyQ0dPM3ptM3Q1RkNWcUJibjhjK1R4TVFE?= =?utf-8?B?WmxORTB1a1h0LzZLSmU4RzVUYmNsUThlM3AraUJ4cUVGbjRPekJIaFhNSEFF?= =?utf-8?B?eFA2TUV1N3BlL1NPTzJsNFNXckwrdEdUT2lHREdReks4T3phQXJpUFpRTmdC?= =?utf-8?B?UjV3REQveUJZODlYUzJGN0UyTDlyOUh6R3h3ZE5BUlY1UkxNSldsTE83VVM1?= =?utf-8?B?MkRlVk1ub1M0QlM1TE1TZGhxMHh2Ujl1MjZBQ01YUGl5SlBxYWl0OFdOYTJz?= =?utf-8?B?UXZ3a0FWa2JGNXF4NDh0Zy9RYmQrVHdTdENSRTNPWFIzT1ZPbzN1bCtvQ0kv?= =?utf-8?B?VnppVlpGTmJjcFdzRXBMWHhnWHRvQWQ5YVMvckNTc3FHWEc4dWpRc3JFQzZI?= =?utf-8?B?ZDJmeGZJUmFLWm9ReTlnMmg1NGF3d2F4VzRJeFMzWGVyd0U5aEQvbjBlRXBS?= =?utf-8?B?VTRwUFdldnVDcnRJU0NUcnNiRXAyUG80VDZFTUYrQ0t1T2NrSnhqUVVXTERR?= =?utf-8?B?dFI5a3VXV1dNWWJDSE40czJyRk5mTEprL3V5SzVnTm8rRjdhTGQxTFY5Rkow?= =?utf-8?B?L2d0ekQwNTc4a0NlNkJoRStqZ216VnY3K3Iyb3c0RHVqTG5lVFFRampnZE9i?= =?utf-8?B?ckdQeHBhamNaVGFiTllWN2RscVVCUjBpVTZyRnN0dCsyeFNTN3FHUXl0c1VV?= =?utf-8?B?ajlLczB6Z0Z4OWN1aGJ2UFEzTzFtNXBXa1JCZGo4N1BSd3dxVGkrTW1PL0o0?= =?utf-8?B?bHJ1cWVHd28yUXJaSHJtOWxYSW9id1hnYkRjMkNoSUFmdSs0WkdLd3JGQnpE?= =?utf-8?B?S29TN1MzQWNDZk4rZE5mc29MTE9WaFVxQlA1NlRTQjlDdXpYT2l4SHZKQys3?= =?utf-8?B?a0dueUNYRDZLSTFKU1EyZVhHTWE5ZXU0N3J6YjlweE1zeHh5WWlWMmptQnY1?= =?utf-8?B?RlFGbnZOSDljM0xrMmxCTzFGMlFrbDRnVG91QTFURTllY1FFSGxGaFMwb3Fp?= =?utf-8?B?L2duMGpUa1p5VWZBalM2Z2RDRmp2eFF0N3Noc25XcnkvWjZ4dDJ4U05Qakx1?= =?utf-8?B?eG9vbDE2OXl4TDV4S0xJM0VDbllhMCtxUFloZnY3dGlkcmQ1eDIyY1lHbk1H?= =?utf-8?B?c0hCeW9RTTdBL2RuRFVueEpFRnRMTjFRZE5Qd0doelFFbUo0cXhKZTNCNlBG?= =?utf-8?B?SFVOVjlrL0FHS1RCUWRjMGwva2ZaUzF4aklNOTEzTEdlZGE1SzNHVlMvRzRU?= =?utf-8?Q?vtJuDAAfLw2ORQZjxXJRIuvRUpbrG0VhRrvGEuz?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb59a264-b97d-41e3-3736-08d8d8259116 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB3851.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2021 18:05:13.6824 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: P3fTODYUWTFeKCIPr5bpKk0ymWCVRzCl4DR82Xo4UQRKUJfQm3EjDJcLBrjbn14KdE3GLK9UrWZQjC7ACUhxzfqyAJ82b6fqi1JBQ38f79w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB3595 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9904 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102230151 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9904 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 malwarescore=0 spamscore=0 mlxscore=0 suspectscore=0 priorityscore=1501 clxscore=1015 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102230152 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/23/2021 10:47 AM, Mike Rapoport wrote: > Hi George, > > On Tue, Feb 23, 2021 at 09:35:32AM -0500, George Kennedy wrote: >> On 2/23/2021 5:33 AM, Mike Rapoport wrote: >>> (re-added CC) >>> >>> On Mon, Feb 22, 2021 at 08:24:59PM -0500, George Kennedy wrote: >>>> On 2/22/2021 4:55 PM, Mike Rapoport wrote: >>>>> On Mon, Feb 22, 2021 at 01:42:56PM -0500, George Kennedy wrote: >>>>>> On 2/22/2021 11:13 AM, David Hildenbrand wrote: >>>>>>> On 22.02.21 16:13, George Kennedy wrote: >>>>>>> >>>>>>> The PFN 0xbe453 looks a little strange, though. Do we expect ACPI tables >>>>>>> close to 3 GiB ? No idea. Could it be that you are trying to map a wrong >>>>>>> table? Just a guess. >>>>>>> >>>>>>>> What would be  the correct way to reserve the page so that the above >>>>>>>> would not be hit? >>>>>>> I would have assumed that if this is a binary blob, that someone (which >>>>>>> I think would be acpi code) reserved via memblock_reserve() early during >>>>>>> boot. >>>>>>> >>>>>>> E.g., see drivers/acpi/tables.c:acpi_table_upgrade()->memblock_reserve(). >>>>>> acpi_table_upgrade() gets called, but bails out before memblock_reserve() is >>>>>> called. Thus, it appears no pages are getting reserved. >>>>> acpi_table_upgrade() does not actually reserve memory but rather open >>>>> codes memblock allocation with memblock_find_in_range() + >>>>> memblock_reserve(), so it does not seem related anyway. >>>>> >>>>> Do you have by chance a full boot log handy? >>>> Hello Mike, >>>> >>>> Are you after the console output? See attached. >>>> >>>> It includes my patch to set PG_Reserved along with the dump_page() debug >>>> that David asked for - see: "page:" >>> So, iBFT is indeed at pfn 0xbe453: >>> >>> [ 0.077698] ACPI: iBFT 0x00000000BE453000 000800 (v01 BOCHS BXPCFACP 00000000 00000000) >>> and it's in E820_TYPE_RAM region rather than in ACPI data: >>> >>> [ 0.000000] BIOS-e820: [mem 0x0000000000810000-0x00000000008fffff] ACPI NVS >>> [ 0.000000] BIOS-e820: [mem 0x0000000000900000-0x00000000be49afff] usable >>> [ 0.000000] BIOS-e820: [mem 0x00000000be49b000-0x00000000be49bfff] ACPI data >>> >>> I could not find anywhere in x86 setup or in ACPI tables parsing the code >>> that reserves this memory or any other ACPI data for that matter. It could >>> be that I've missed some copying of the data to statically allocated >>> initial_tables, but AFAICS any ACPI data that was not marked as such in >>> e820 tables by BIOS resides in memory that is considered as free. >>> >> Close... >> >> Applied the patch, see "[   30.136157] iBFT detected.", but now hit the >> following (missing iounmap()? see full console output attached): >> >> diff --git a/drivers/firmware/iscsi_ibft_find.c >> b/drivers/firmware/iscsi_ibft_find.c >> index 64bb945..2e5e040 100644 >> --- a/drivers/firmware/iscsi_ibft_find.c >> +++ b/drivers/firmware/iscsi_ibft_find.c >> @@ -80,6 +80,21 @@ static int __init find_ibft_in_mem(void) >>  done: >>         return len; >>  } >> + >> +static void __init acpi_find_ibft_region(void) >> +{ >> +       int i; >> +       struct acpi_table_header *table = NULL; >> + >> +       if (acpi_disabled) >> +               return; >> + >> +       for (i = 0; i < ARRAY_SIZE(ibft_signs) && !ibft_addr; i++) { >> +               acpi_get_table(ibft_signs[i].sign, 0, &table); >> +               ibft_addr = (struct acpi_table_ibft *)table; > Can you try adding > > acpi_put_table(table); > > here? Mike, It now crashes here: [    0.051019] ACPI: Early table checksum verification disabled [    0.056721] ACPI: RSDP 0x00000000BFBFA014 000024 (v02 BOCHS ) [    0.057874] ACPI: XSDT 0x00000000BFBF90E8 00004C (v01 BOCHS BXPCFACP 00000001      01000013) [    0.059590] ACPI: FACP 0x00000000BFBF5000 000074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001) [    0.061306] ACPI: DSDT 0x00000000BFBF6000 00238D (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [    0.063006] ACPI: FACS 0x00000000BFBFD000 000040 [    0.063938] ACPI: APIC 0x00000000BFBF4000 000090 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [    0.065638] ACPI: HPET 0x00000000BFBF3000 000038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001) [    0.067335] ACPI: BGRT 0x00000000BE49B000 000038 (v01 INTEL EDK2     00000002      01000013) [    0.069030] ACPI: iBFT 0x00000000BE453000 000800 (v01 BOCHS BXPCFACP 00000000      00000000) [    0.070734] XXX acpi_find_ibft_region: [    0.071468] XXX iBFT, status=0 [    0.072073] XXX about to call acpi_put_table()... ibft_addr=ffffffffff240000 [    0.073449] XXX acpi_find_ibft_region(EXIT): PANIC: early exception 0x0e IP 10:ffffffff9259f439 error 0 cr2 0xffffffffff240004 [    0.075711] CPU: 0 PID: 0 Comm: swapper Not tainted 5.11.0-34a2105 #8 [    0.076983] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [    0.078579] RIP: 0010:find_ibft_region+0x470/0x577 [    0.079541] Code: f1 40 0f 9e c6 84 c9 0f 95 c1 40 84 ce 75 11 83 e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 74 0a be 04 00 00 00 e8 37 f8 5f ef <8b> 5b 04 4c 89 fa b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a 81 c3 ff [    0.083207] RSP: 0000:ffffffff8fe07ca8 EFLAGS: 00010046 ORIG_RAX: 0000000000000000 [    0.084709] RAX: 0000000000000000 RBX: ffffffffff240000 RCX: ffffffff815fcf01 [    0.086109] RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffffff240004 [    0.087509] RBP: ffffffff8fe07d60 R08: fffffbfff1fc0f21 R09: fffffbfff1fc0f21 [    0.088911] R10: ffffffff8fe07907 R11: fffffbfff1fc0f20 R12: ffffffff8fe07d38 [    0.090310] R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff8fe07e80 [    0.091716] FS:  0000000000000000(0000) GS:ffffffff92409000(0000) knlGS:0000000000000000 [    0.093304] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [    0.094435] CR2: ffffffffff240004 CR3: 0000000027630000 CR4: 00000000000006a0 [    0.095843] Call Trace: [    0.096345]  ? acpi_table_init+0x3eb/0x428 [    0.097164]  ? dmi_id_init+0x871/0x871 [    0.097912]  ? early_memunmap+0x22/0x27 [    0.098683]  ? smp_scan_config+0x20e/0x230 [    0.099500]  setup_arch+0xd3e/0x181d [    0.100221]  ? reserve_standard_io_resources+0x3e/0x3e [    0.101265]  ? __sanitizer_cov_trace_pc+0x21/0x50 [    0.102203]  ? vprintk_func+0xe9/0x200 [    0.102953]  ? printk+0xac/0xd4 [    0.103589]  ? record_print_text.cold.38+0x16/0x16 [    0.104540]  ? write_comp_data+0x2f/0x90 [    0.105325]  ? __sanitizer_cov_trace_pc+0x21/0x50 [    0.106262]  start_kernel+0x6c/0x474 [    0.106981]  x86_64_start_reservations+0x37/0x39 [    0.107902]  x86_64_start_kernel+0x7b/0x7e [    0.108722]  secondary_startup_64_no_verify+0xb0/0xbb Added debug to dump out the ibft_addr: [root@gkennedy-20210107-1202 linux-upwork]# git diff diff --git a/drivers/firmware/iscsi_ibft_find.c b/drivers/firmware/iscsi_ibft_find.c index 2e5e040..a246373 100644 --- a/drivers/firmware/iscsi_ibft_find.c +++ b/drivers/firmware/iscsi_ibft_find.c @@ -83,16 +83,22 @@ static int __init find_ibft_in_mem(void)  static void __init acpi_find_ibft_region(void)  { -       int i; +       int i, status;         struct acpi_table_header *table = NULL; - +printk(KERN_ERR "XXX acpi_find_ibft_region:\n");         if (acpi_disabled)                 return;         for (i = 0; i < ARRAY_SIZE(ibft_signs) && !ibft_addr; i++) { -               acpi_get_table(ibft_signs[i].sign, 0, &table); -               ibft_addr = (struct acpi_table_ibft *)table; +               status = acpi_get_table(ibft_signs[i].sign, 0, &table); +               printk(KERN_ERR "XXX %s, status=%x\n", ibft_signs[i].sign, status); +               if (ACPI_SUCCESS(status)) { +                       ibft_addr = (struct acpi_table_ibft *)table; +                       printk(KERN_ERR "XXX about to call acpi_put_table()... ibft_addr=%llx\n", (u64)ibft_addr); +                       acpi_put_table(table); +               }         } +printk(KERN_ERR "XXX acpi_find_ibft_region(EXIT):\n");  }  /* (END) George > >> +       } >> +} >> +