Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3008863ybl; Mon, 20 Jan 2020 13:57:59 -0800 (PST) X-Google-Smtp-Source: APXvYqyB5ZF35kmE43FpyaHR/XIz7sxTkuhrwzbwsjtdQWL3yajXtVqWtgYJ8U/06QsHfL8E2fYS X-Received: by 2002:aca:c551:: with SMTP id v78mr692121oif.161.1579557479110; Mon, 20 Jan 2020 13:57:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579557479; cv=none; d=google.com; s=arc-20160816; b=DvtrSLlzLPdTns0XlOg0XN6gjqdismuFewMRWl8uRs+YJAWaJ9jfaniUqcX12JUpTR JVdM+aXuMjYu5uYs236PYlwqk7CK40B6Kz5pQ+zdb+8ZqoYhxudJMVdbVYsYYx0mXiIm +9DSgSYpe9yys4NTRQ9C8TIjqlWPF+coJ0cJmox0vdFBYt6EWSbyuK9skBL9QvwKKytb XFzmwVgBK/+HUf/Lj7Mr2Jc2ofrEWzFBILGH2OYWy7xAZnynyp9lqi7vXlN+WG6OE60+ Z0Ua5oJhB8y8QxTAJGxBvor1HlvRoGG4MICdDLOY0wLSbWC0nkIs7bN8mSxI/2w1LEup zo5w== 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:dkim-signature; bh=yz+RC08LXcOfqh007ME4eF+FjZEItC+jHzaYRevoImc=; b=rLekHLX+possVYoVFAAsCtaWRX1wzyUJWOaCsV27bOW87hb/HEH5Sgn5b8FNF4/XyO xnIkModOZtlfvccEmSnTMohGUd3cOtlkeYeb1Cp5r3IZJ0Zm4BLYpVvJAJV5zHP3yyDO B0ffq5IqmihKFTLWxDGRAAGwx6QcKwvFYXZwXiyBjEHITaPsT57Fse4zI0CiWgrsJxIT lsP9CXpqL/1WRxm5wDrsux8aeEa68cqohBBg4LzkH+0yfy0nCiyiwLVtVAazVNchZBAp pxAkTZtA94Z3yuqvRo5KqrWhm8LJcC/TQo1ZCWlRX6BBhHrofQNFwI28HuNsp/Og8qDS NFBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hM2yFnlG; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si19690568oth.182.2020.01.20.13.57.47; Mon, 20 Jan 2020 13:57:59 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hM2yFnlG; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728668AbgATVzy (ORCPT + 99 others); Mon, 20 Jan 2020 16:55:54 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:54897 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbgATVzy (ORCPT ); Mon, 20 Jan 2020 16:55:54 -0500 Received: by mail-pj1-f65.google.com with SMTP id kx11so337849pjb.4; Mon, 20 Jan 2020 13:55:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yz+RC08LXcOfqh007ME4eF+FjZEItC+jHzaYRevoImc=; b=hM2yFnlG+mX/xO5k3PyRGynk4RsP3WHWyFHM3oFVKoTwzv5zVOfHnS4ePT+xyCuDaM gj/Tjv+zB/VhLCk4AzOjK+Nz8HDCD5c33B+TRiuJFAIc/8RPo6CCxhbq12YOqID6cvWG GksiCOXgSojOnCOTJX4TZdhbsWMWdnnp/H92ZrzNEdjInfeORNj3klX/DtdqgSbgHRrR UTcyBQq1Kx7pUrlg3qQCekUmOVNUskDlnpfXWkEcuJfdDqnS2+XKTcVG6in2H4HOH/3u RfWjIc65RtZEhFhuZgqgk4JZt6LgQ1K4O1fq6uYPhOgzKhv2KvPs+ykau1AHuMbGLnn+ 41hQ== 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=yz+RC08LXcOfqh007ME4eF+FjZEItC+jHzaYRevoImc=; b=ZTYbhD/sQiB50AowZ1DLW401W8NufrdTR9A9y1bFh9WcfO/9KEZF7pRAb8JP7KHrF/ aHDqtFXJ6zdc7tlwWDXgIxJCArUB390ZP1/t7aJfaELrrslZkMYcokK8L6+03QgtiKVJ CXwBvMYA6bVMuMsqudh0mht5UhP53y77bUGthg4SVi/h6029uRA+NjIb+yB6Vv8VFgCo Rk0BDG+nBytjIqwiEoFn5VsZwSAg9NEi0awnLsKaMKs7vS75kXWHM53Ddrvj1rTTD6Gm RLDaCey9x1DMFF50KslCySLH5rbfDgSfymVa+cVXw2Ze2zQ477KLodJ5OzFgukFFHKXi m1qA== X-Gm-Message-State: APjAAAU1fcVF2mgI3Rk9zBSZr6cJY+Vq5P9h5iVRMyripT9LYaCsYwjm /8viGJBRvMJcp2dAyM2S+HAZF5MQKjLNSPklb0E= X-Received: by 2002:a17:902:a9c7:: with SMTP id b7mr1836647plr.255.1579557353372; Mon, 20 Jan 2020 13:55:53 -0800 (PST) MIME-Version: 1.0 References: <20161202195416.58953-1-andriy.shevchenko@linux.intel.com> <20161202195416.58953-3-andriy.shevchenko@linux.intel.com> <20161215122856.7d24b7a8@endymion> <20161216023213.GA4505@dhcp-128-65.nay.redhat.com> <1481890738.9552.70.camel@linux.intel.com> <20161216143330.69e9c8ee@endymion> <20161217105721.GB6922@dhcp-128-65.nay.redhat.com> <20200120121927.GJ32742@smile.fi.intel.com> <87a76i9ksr.fsf@x220.int.ebiederm.org> <20200120224204.4e5cc0df@endymion> In-Reply-To: <20200120224204.4e5cc0df@endymion> From: Andy Shevchenko Date: Mon, 20 Jan 2020 23:55:43 +0200 Message-ID: Subject: Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to kexec'ed kernel To: Jean Delvare Cc: "Eric W. Biederman" , Andy Shevchenko , Dave Young , linux-efi , Ard Biesheuvel , Matt Fleming , kexec@lists.infradead.org, Linux Kernel Mailing List , Mika Westerberg 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, Jan 20, 2020 at 11:44 PM Jean Delvare wrote: > > On Mon, 20 Jan 2020 10:04:04 -0600, Eric W. Biederman wrote: > > Second. I looked at your test results and they don't directly make > > sense. dmidecode bypasses the kernel completely or it did last time > > I looked so I don't know why you would be using that to test if > > something in the kernel is working. > > That must have been long ago. A recent version of dmidecode (>= 3.0) > running on a recent kernel > (>= d7f96f97c4031fa4ffdb7801f9aae23e96170a6f, v4.2) will read the DMI > data from /sys/firmware/dmi/tables, so it is very much relying on the > kernel doing the right thing. If not, it will still try to fallback to > reading from /dev/mem directly on certain architectures. You can force > that old method with --no-sysfs. > > Hope that helps, I don't understand how it possible can help for in-kernel code, like DMI quirks in a drivers. -- With Best Regards, Andy Shevchenko