Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7901968ybi; Tue, 9 Jul 2019 06:09:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxehD+AaCuQU1gLMlwnQCJIaQF3Wnryb0xglwNompFM1v1+//B9So20zHwqCGudizrMRB5l X-Received: by 2002:a17:902:aa95:: with SMTP id d21mr30793816plr.185.1562677777396; Tue, 09 Jul 2019 06:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562677777; cv=none; d=google.com; s=arc-20160816; b=EbYzwecvjWRg8A6GDoK+eSnbtVGfov9fslcz8b36+9DQKcV1FKVAL7MORKYhtJ3Otr pZR2we6n8vnTn76CckslZYuPgp7OWXF8qdDl5XEJ9TxDqoUE2qDaGZFgYt0lrQXLfNmK t5Vs6bPcJK+A7CkSOUkPJve8aZ9qWMi8G+EWxjGu3qUSqB2GnqP1F9oDckD7NPyW1oOW KNJ6VXjkTMyUeE3W0HUeON/IH0udYTGhGdtquVwpBe3NMTZXHbY4ra995en/Dx5+z5ZL pIv9+MsjY1o5a2FpGcM6Zy3cnDkjpROw83O7LaIeNZIKTOGuniUIm7ZuVTQqsdGQ4Wbm JtGw== 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=ZUz4WDQf+ePZiJBY+IeyizcaneS7fRJMcv4JWg/06b8=; b=k0GLiJ5oa/G4agF+u7GdF+NY22G0rb8ryssRPq7TKfhvygSmZ0fxPpaU9GJSOBP/1C OsGqq9jSIX0iQYNLZiV5+t5QIY8qSLFjTt63J55ECnkr6o2J0jm4QmEVjFS2yxUXETF7 az4OpH5W1yq6BV4FcSoX+l5PaUICcbXMTlIRd0NcEECrl3eYAgOKCs8w6TUpy5oW/QDl qa0Cu68a1rlPkq1FG8KEmUMZyXaEBJA3oiwxgMktVyTsu4by/ktvZ57DdkEe9av9TBJI URHH+x9pAuK+pr+VP3WybSPYyOKkMHW/a/NIrDqLhTmnJfxXcvM5hrms+E/4H8HvdidK GpQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=Hm1OhBOV; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si20831996pgs.461.2019.07.09.06.09.09; Tue, 09 Jul 2019 06:09:37 -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; dkim=pass header.i=@soleen.com header.s=google header.b=Hm1OhBOV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726829AbfGINIH (ORCPT + 99 others); Tue, 9 Jul 2019 09:08:07 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40887 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbfGINIG (ORCPT ); Tue, 9 Jul 2019 09:08:06 -0400 Received: by mail-ed1-f67.google.com with SMTP id k8so17698541eds.7 for ; Tue, 09 Jul 2019 06:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZUz4WDQf+ePZiJBY+IeyizcaneS7fRJMcv4JWg/06b8=; b=Hm1OhBOVDMZQHda4zzcLuqGw7waEGq2WvK+G8jN8/SRdmwfeo/59Bi1wqs5ICvYh45 GSjHRCeswdfMkPiDeZA4K7UuRQ+BVA61r4PJ6Dtal6ytrFHpU6gZjMj/6wjBhdP3VjxE gy2rOEL5UW0eDkKhXLHxmiw6wc3KjwZu15XvEPQ54pKulEfTZdYyjRjm5VPGzd5S84dg Ov9r7Pm2PMSdm3IS9926s6o8cfugx62BAxygvgcv5VnWSurbToFFkRfD9DFMr31Bg8rC QRb/uiLG96RBV5+2aXtAVpUJ7HGaNLcmpvDHc8a5cLRQO52fZuUjLf2QN5y+OcMPBFvw g6kg== 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=ZUz4WDQf+ePZiJBY+IeyizcaneS7fRJMcv4JWg/06b8=; b=W7WUrhDIWaigc7NZt4rOysCEiklW6t4BwaUPLegZHweWTOFJ+pqn+5tE4tvOxdBu5B sGpU8RYL/rTC3H4aqunz7+2tincdDmOWvPLQ/6T3QOaecRm/iwL9sm9WZ5Y4D9aws8Y6 8eq5CuJLZ6RT9b57mDOqUGdStyymWUxBwU4n+HI7n6nQ5ZAh0m+JWe7JYeL/bH6lUvoU IMmb1VwmF/wZbIcdKRC5dtIaNncfqndGDvqjZYZCgnj388fU3MG235TEbQQ+5gDiYVtR ZruUOA0hqmRTUe+OZPFGJMysRyAEc7Oh2cYsbXxXtjL+jGqdDQCqY9u44U1SPRhIFgS8 3V0A== X-Gm-Message-State: APjAAAXm7iikVzzL/1pbD/JVq7+CfQL+5QL67wLiyZNHwgQooVf7HXp3 uR4a7IMKEg0pMs4/3UHvygOeeS3/vVY2a7yluxfMhg== X-Received: by 2002:a50:a4ef:: with SMTP id x44mr25897335edb.304.1562677684997; Tue, 09 Jul 2019 06:08:04 -0700 (PDT) MIME-Version: 1.0 References: <20190708211528.12392-1-pasha.tatashin@soleen.com> <2d60f302-5161-638a-76cd-d7d79e5631fe@arm.com> In-Reply-To: <2d60f302-5161-638a-76cd-d7d79e5631fe@arm.com> From: Pavel Tatashin Date: Tue, 9 Jul 2019 09:07:54 -0400 Message-ID: Subject: Re: [v1 0/5] allow to reserve memory for normal kexec kernel To: James Morse Cc: Bhupesh Sharma , James Morris , Sasha Levin , Eric Biederman , kexec mailing list , Linux Kernel Mailing List , Jonathan Corbet , Catalin Marinas , will@kernel.org, Linux Doc Mailing List , linux-arm-kernel 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 > > Enabling MMU and D-Cache for relocation would essentially require the > > same changes in kernel. Could you please share exactly why these were > > not accepted upstream into kexec-tools? > > Because '--no-checks' is a much simpler alternative. > > More of the discussion: > https://lore.kernel.org/linux-arm-kernel/5599813d-f83c-d154-287a-c131c48292ca@arm.com/ > > While you can make purgatory a fully-fledged operating system, it doesn't really need to > do anything on arm64. Errata-workarounds alone are a reason not do start down this path. Thank you James. I will summaries the information gathered from the yesterday's/today's discussion and add it to the cover letter together with ARM64 tag. I think, the patch series makes sense for ARM64 only, unless there are other platforms that disable caching/MMU during relocation. Thank you, Pasha > > > Thanks, > > James