Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3231656imm; Mon, 10 Sep 2018 13:14:50 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbl4e4Jhmp1lUWuSEWEPwsgBanTffeuLrJLkQXIjM5ipjTgoDTaJt2+4GAwJVdy4QyWahhV X-Received: by 2002:a63:7b1d:: with SMTP id w29-v6mr24935231pgc.249.1536610490091; Mon, 10 Sep 2018 13:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536610490; cv=none; d=google.com; s=arc-20160816; b=RABcYEVDg7iitZpzOogkH4C6MI++Xa9NUYrPnr2fJt5Ovaddci6BLpbAOeXSbF04R5 21tr52qOzW3TXvRvG4vkrTcotN+HVz7bYDouaS3qjY0+fKFD5y0BSctti1b32JVn2tH+ M9vD7O8kX1sChjn66rJqpKcvwwb2/ElT0GcLi0XboU+s2wZcpdjv3VwPRhmuhAlH09kH bkhm2IX0tI//Jo1l/W5Qb5/EyKFsykISYplQmVObaJhpL4rL9Kxqe0vuEnxYrlKNdDgE ClgXRrSC6F7BbbRHYKmTzRMJCgINpdYWt7jWpuBZQSl63Tfx0jUJfZoxheGTZCp/Em/J pwfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=aUDsvYXMPZP55hZvGk2Z3Xs77eWlvFEv7PUHABj7vec=; b=Z+MEJDa64guUkfHSaeZu0UZytK52fE2mRuLpjd9ojcCIHaXyFFnyT3VQB3srEX5CKe dkMhfSkniXPJbGkYqMu/fSY7GbXeU87gaPqV7QGr8o5EhXiOZlGACSil+6cs1QFM71wI DTefTIX3uFdHaBOMehLUGXkFon7XQk87yrZQ3PXhdr2dsf8lZHj5igO+VNnisVI2e0i3 ZZKagMe0IxS9a9WYiE8Bi/+9xxUs65J2/69dSM0Fvuzv/C75AIYa2sIDBqKGh/MQfZs6 ZdFziKEqFsyJan/RX/37rVM4N9iu/4eFGXZ2jy3XVS70z/9hu2mKvrBhBTbrEZGXyMpI 0Eqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16-v6si5970724pgj.462.2018.09.10.13.14.32; Mon, 10 Sep 2018 13:14:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727127AbeIKBJr (ORCPT + 99 others); Mon, 10 Sep 2018 21:09:47 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:39890 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbeIKBJq (ORCPT ); Mon, 10 Sep 2018 21:09:46 -0400 Received: by mail-oi0-f65.google.com with SMTP id c190-v6so42696782oig.6; Mon, 10 Sep 2018 13:14:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aUDsvYXMPZP55hZvGk2Z3Xs77eWlvFEv7PUHABj7vec=; b=One/HRRPONg4CQ7YkAf5oqakkbI1gV2TMVPwr1QRfOZhZ/AFG5RrMIFSZgKZi2YIYg Fj6YO/hcD5zY//0NzSl6uc7DWdAUhJoYsUHmeYK65H4la5blN2oHiGon71bffglKDY0U livLVxbFOC/PEMI8YsqG5h1Nebyt5RIvcfmNyGE6UPtup7SFROW/ItmHiv+VAFu/XwBw DU85vCaLDEfq8rzgx02wbTC/jGCLAef0cwvTp/HkFNfJyvugvE6fisR0noBpDsuNnqLk 878c8+NENbWjh/BBV1cRdvtAkSLKslgGcKUYnD5pZEF3EOqX7Hol5HaGVlEi2Bp0fLOq 4yfQ== X-Gm-Message-State: APzg51Dz/Hy3d+LY0v1prfbsKSanachdkUc41cQfvl3Ymr+z6JZp9vEB BxPe0hNo8SK+DSKtYCJIFNkRX8/yUVxU5GPv2aro1g== X-Received: by 2002:aca:ef0a:: with SMTP id n10-v6mr24389588oih.326.1536610440967; Mon, 10 Sep 2018 13:14:00 -0700 (PDT) MIME-Version: 1.0 References: <20180910124015.18073-1-fanc.fnst@cn.fujitsu.com> <20180910124015.18073-2-fanc.fnst@cn.fujitsu.com> In-Reply-To: <20180910124015.18073-2-fanc.fnst@cn.fujitsu.com> From: "Rafael J. Wysocki" Date: Mon, 10 Sep 2018 22:13:49 +0200 Message-ID: Subject: Re: [PATCH v6 1/3] x86/boot: Add acpitb.c to parse acpi tables To: fanc.fnst@cn.fujitsu.com Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "the arch/x86 maintainers" , Linux Kernel Mailing List , Kees Cook , bhe@redhat.com, indou.takao@jp.fujitsu.com, Cao jin , Dou Liyang , "Rafael J. Wysocki" , Len Brown , Ard Biesheuvel , linux-efi@vger.kernel.org, ACPI Devel Maling List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 2:41 PM Chao Fan wrote: > > Imitate the ACPI code of parsing ACPI tables to dig and read ACPI > tables. Why? > Since some operations are not needed here, What operations? > functions are simplified. Functions will be used to dig SRAT tables to get > information of memory, so that KASLR can the memory in immovable node. So do you want to parse SRAT only or do something in addition to that? > And also, these functions won't influence the initialization of > ACPI after start_kernel().