Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7118457imm; Tue, 28 Aug 2018 06:45:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbUMtMCvzmYceSwzTeeYX10FsSl+huBvK23W1JTOViX7l9DPL//So3qfCUvvH1FFyPVZYvB X-Received: by 2002:a62:4bc6:: with SMTP id d67-v6mr1696308pfj.175.1535463951629; Tue, 28 Aug 2018 06:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535463951; cv=none; d=google.com; s=arc-20160816; b=saEIIzF+Dr0ae1eN9nGQKI3hCO81rFT4sCiFn+DJMiAQFQL64K0t//+kjpek6m6wc4 18UsdE2kXIQIRWTKrH8wHKa+bR5rjlwE6oX/rTb+iRd03UoMWQI66vZ/CN58SgngkFbF HZDYpCvgNaEgp+7vC3gULCI0uBNAhZ/g0tRcwkJOWsBgbVxDCL4O0H0G8BJcsfQQoYS+ WZIQOt6dCOEJPRWJd1G4R7z087ur+hdTxag1RCgg6W5hN38SMbd827N7A+Br+u2TfKzn v3PC09qnfHSjT+0M+nSqdSaPmUlTWi7jXeAc7+6+nH9H8P1saJHMYD8N/Lq6P+QiAF1M jzDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:arc-authentication-results; bh=/Y6MB/iHV2KPEE2S8Dv0UUASmJxv3XXfSWwPgLjKXPs=; b=lIx91CK9OAKPE/YatEQ2nA5kGOXENlrkPPoDY+Bmp2X5pfxHZOPgryYRNKOVodnPcn MqqYkTdqNn1/FIxv3MdvYPWVjfU9hAVSRYinZBSmXUZLPbSJP6ZpQPChraABj4BhkPWs TCBtREzNiG1IDJrI7HCJzNVIUDtXb2ACGhqMU6DN78VHuM71+w+HxEveibGWGzDWmP8f PQz0WgKZ8St3zZzmOLSoNKG4kCTCyM9xWI77x4S9abcT/B7xvqepjf/W4XNzz7gT/Iak E1xfdgNs7b3QYZGApBSLrsRWK8eLieorSP04K3757aZjxnXmiy03/S0NMAJECv/eaGQR Ia+w== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s184-v6si1071535pgb.123.2018.08.28.06.45.35; Tue, 28 Aug 2018 06:45:51 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728045AbeH1Rfq (ORCPT + 99 others); Tue, 28 Aug 2018 13:35:46 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:57326 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726181AbeH1Rfq (ORCPT ); Tue, 28 Aug 2018 13:35:46 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 997EB804B9F2; Tue, 28 Aug 2018 13:44:01 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-94.pek2.redhat.com [10.72.12.94]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B6AEE10075E1; Tue, 28 Aug 2018 13:43:51 +0000 (UTC) Date: Tue, 28 Aug 2018 21:43:47 +0800 From: Dave Young To: AKASHI Takahiro , Pingfan Liu , Philipp Rudo , catalin marinas , will deacon , dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, bhe@redhat.com, arnd@arndb.de, schwidefsky@de.ibm.com, heiko carstens , ard biesheuvel , james morse , bhsharma@redhat.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "piliu@redhat.com Thiago Jung Bauermann" Subject: Re: [PATCH v13 03/16] s390, kexec_file: drop arch_kexec_mem_walk() Message-ID: <20180828134347.GB12178@dhcp-128-65.nay.redhat.com> References: <20180801075820.3753-1-takahiro.akashi@linaro.org> <20180801075820.3753-4-takahiro.akashi@linaro.org> <20180801102951.527cfc57@ThinkPad> <20180802000150.GN11258@linaro.org> <20180806055047.GC4246@dhcp-128-65.nay.redhat.com> <20180809033416.GA5069@dhcp-128-65.nay.redhat.com> <1235507889.17337085.1533788045597.JavaMail.zimbra@redhat.com> <20180828052107.GE12252@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180828052107.GE12252@linaro.org> User-Agent: Mutt/1.9.5 (2018-04-13) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 28 Aug 2018 13:44:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 28 Aug 2018 13:44:01 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dyoung@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi AKASHI, On 08/28/18 at 02:21pm, AKASHI Takahiro wrote: > Hi Dave, > > On Thu, Aug 09, 2018 at 12:14:05AM -0400, Pingfan Liu wrote: > > > > > > > > > > ----- Original Message ----- > > > From: "Dave Young" > > > To: "AKASHI Takahiro" , "Philipp Rudo" , "catalin marinas" > > > , "will deacon" , dhowells@redhat.com, vgoyal@redhat.com, > > > herbert@gondor.apana.org.au, davem@davemloft.net, bhe@redhat.com, arnd@arndb.de, schwidefsky@de.ibm.com, "heiko > > > carstens" , "ard biesheuvel" , "james morse" > > > , bhsharma@redhat.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, > > > linux-kernel@vger.kernel.org, "piliu@redhat.com Thiago Jung Bauermann" > > > Sent: Thursday, August 9, 2018 11:34:16 AM > > > Subject: Re: [PATCH v13 03/16] s390, kexec_file: drop arch_kexec_mem_walk() > > > > > > Add more cc. Pingfan Liu confirmed ppc does not use 0 as valid address, > > > if so it should be safe. > > > > > > Pingfan, can you add more words? > > > > > > > ppc64 uses a few KB starting from 0 for exception handler. > > It assures that 0 (zero) is valid, but won't be assigned as a result of > kexec_add_buffer(). > > So do you think that yet I should submit another patch set, introducing > explicit KEXEC_BUF_MEM_UNKNOWN, while assuming 0 by default is safe for now? > > Now that this is the only comment against my v13, it's up to you. I'm fine with your proposal. It is simple enough, and we can look into it when it becomes a problem in the future which is unlikely. Thanks Dave