Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp66551pxu; Tue, 1 Dec 2020 06:18:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJy25EppN/E0NokIU+lv43YGpv/HawFM6xgxsxSC+2ShykEZ4Z8YyeAAwvnPRC6gl1QlPOtz X-Received: by 2002:a17:906:e086:: with SMTP id gh6mr3063558ejb.95.1606832307787; Tue, 01 Dec 2020 06:18:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606832307; cv=none; d=google.com; s=arc-20160816; b=Gs8vrghyvxnvB0CyZmtI23zPWjep/sqW2cHsRqoh9RAtWGH/HXrYk6RqesNLgmp8kE YwuazUM0WQRW95qZddbw+ldpZGZs1pt45mAZ7h1cEEvbRr7e2m9bRl5jHuvTqoFGlo5E LQA9mETBGM4yGGFyZUzpqsC+LHhJj5fGUNrsXbu3Fkp8Hao+66seRQCqI9VP07xzA6Hy B7amCLdnyf3AHN7xOYGBgqZ20ct2M5VZqNJoQqpmDMfYG8zwWvbBVrIj92FdUumijN5Z abNfnGpujEcspM/yGFuHsllf6XC48sJMzqQDIGUDPqRAGle9lLaazOItkTN3WJzRVws1 8qqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=97Qp08Mksru0av9OuaDYt+uZ/R1iR7sbIBO2KnJ9JEk=; b=s6u8x9RQ485NdaIjgL1Egjp/V/ljeaSU8pXFkkOblzzZt6iMeo5fwEdA1yjjsEbr/4 I6162lrXusUL87hGfLliPAR7jbCu1iMJMBYm7m7r6dNdOqJLfjvAVXiGOT3VjpSvtwNw sT1OcwC+Q0CUzdPVYcsxP3ue0nDkCuoeFclyYum3/MO+k3mmaOE4Cy+U+YXHlI7FMyfB tvSJSLPw2DJFXEuJdVRVN3clSf9J9cJb7CsEaGWJqr93z4WUpfLMqLKJecUnE3IWNovW kCsEyGnkBrgWsNOmfn2IRi0bb8MkoBSQiG7TmG0jYhuM6BwBILPWQxS7pu6iDECCgCWo cPpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=34VLVb1U; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=iLQAOSIq; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si1146442edv.124.2020.12.01.06.17.39; Tue, 01 Dec 2020 06:18:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=@linutronix.de header.s=2020 header.b=34VLVb1U; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=iLQAOSIq; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730169AbgLAORS (ORCPT + 99 others); Tue, 1 Dec 2020 09:17:18 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:55812 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729296AbgLAORS (ORCPT ); Tue, 1 Dec 2020 09:17:18 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1606832197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=97Qp08Mksru0av9OuaDYt+uZ/R1iR7sbIBO2KnJ9JEk=; b=34VLVb1U05aHZb+j3fzZStYevSh7fu2wzl9HIWUupC2pZwfyEsHqDRhVkX/kknkGR3xvNY GIUzDTt1/pAfotc7FnK47ak0v10YrwBeeZgQsKD8OYOIqsKDyDRynaW1zW0yFAmLbS0/n+ s+hvOGFHac9P26Pfw02ButsUsovqXvXx3FgEvNsIGAA2WsAPsQ5hBA0Wr9OzKWOp861/lP JJsP3T2T/YgmGkvuJ8ORNVEvB30vq2w7CeAvrSzzWvk/W3dyglzigVUqyivZF2rQQ+uNVD dPUlZGAzJ8QkjUeOiceW00qT6WLuHan/islq1zdZ7s6rJDk+OiuoQxNAB8LV8Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1606832197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=97Qp08Mksru0av9OuaDYt+uZ/R1iR7sbIBO2KnJ9JEk=; b=iLQAOSIqwknMG/7WA/ENJ02FcUWTLFUtv0LRt5HoBWRruKQ20wbFsUBeaAXIL5s2MiMzjL RrjubIkV+DHXAaBQ== To: Corentin Labbe Cc: herbert@gondor.apana.org.au, mripard@kernel.org, wens@csie.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: crypto: sun4i-ss: error with kmap In-Reply-To: <20201201135252.GA9584@Red> References: <20201201130102.GA23461@Red> <87ft4phcyx.fsf@nanos.tec.linutronix.de> <20201201135252.GA9584@Red> Date: Tue, 01 Dec 2020 15:16:36 +0100 Message-ID: <87y2ihfw6z.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Dec 01 2020 at 14:52, Corentin Labbe wrote: > On Tue, Dec 01, 2020 at 02:28:54PM +0100, Thomas Gleixner wrote: > The patch made the board too busy logging and fail to boot until the test. Stupid me. Of course this wants to be conditional. Thanks, tglx --- diff --git a/mm/highmem.c b/mm/highmem.c index b49364a306b8..178b126ab4f6 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -571,8 +571,10 @@ void kunmap_local_indexed(void *vaddr) * PAGE_OFFSET. Warn for all other addresses which are in * the user space part of the virtual address space. */ - if (!kmap_high_unmap_local(addr)) - WARN_ON_ONCE(addr < PAGE_OFFSET); + if (!kmap_high_unmap_local(addr)) { + if (WARN_ON_ONCE(addr < PAGE_OFFSET)) + pr_err("kunmap_local: vaddr %lx\n", (unsigned long) vaddr); + } return; }