Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp447912pxu; Fri, 4 Dec 2020 07:12:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTQjfe/M5itOEN7aLSYXFhPYDNTFOd412VGoeUMzwXZAjpRwm4gEvnRTTfwRLuiWXTe13j X-Received: by 2002:a17:907:2116:: with SMTP id qn22mr7535205ejb.483.1607094725651; Fri, 04 Dec 2020 07:12:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607094725; cv=none; d=google.com; s=arc-20160816; b=U/ce7L8sjLJ4pGF7XL1VeBSpFfAQ3Mm1/g9upAF6XXS6KzfG93xAiKT5ESRfVkgJPX JsI9FJ4pprqSBVnfNjmkJZvXNxEm4DEf5XloDzfpSYddmUd+FuanYSnzRevFSU6oOf4Q Pih39xy+X+h5SbAIK/dXKYuCXq3RCoEf2sFyMG3KC6WNkVKU+vXuEFhyG+UhmqhaXqU8 jVlKLIcwrJ7kilnFdYKVc9xyS40+Hy54tujqUtOvNaE9FQ6ku/Mq7ZrHhj3X4pmpj6zP 4qQIM7w0tEFMcUHGNkOvfy98FV035WAfMmYi633il9OpmZs0/KXxnCxdpRLWQ89rHBW9 tG7g== 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=m+5fUfCGN4l8PttwLmFKEO9H2mckNeF24mD/TIdsWmA=; b=eoFx3vUdPa8WChk6UzEqfm9oY/vBEoMh/HUOBGL40NGNxQp64ln8C3snZKAT5ccav/ ulV7jziAQ13oHGb2VdBOepoCr/QcS4HGmZ7YEbshBgMpr49yU39x8xiQ1vXL19Drc2nv CDC8CUCcL0/GHGIxaB2RQZQuVGeWx1qaAAQQ5w1jvMsIgVyFHsz/7d+0wI1wPnilxLsN cnigRVzO8eD4InD2uARhIAPlIiILpUUxbKyTE7tY6fRXQS2AdxG4IrKUCZkxjRlXCdVn bJY8Ohbka9aB8cmLbQomvUfQEru5bIvnDSF4XWfjLyVpgXF78UWp1XJarc1VPXAbeVdX yD6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=IMK9HWTO; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=INkOrHiJ; 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 p11si1510676eja.213.2020.12.04.07.11.39; Fri, 04 Dec 2020 07:12:05 -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=IMK9HWTO; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=INkOrHiJ; 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 S1730398AbgLDPJK (ORCPT + 99 others); Fri, 4 Dec 2020 10:09:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbgLDPJJ (ORCPT ); Fri, 4 Dec 2020 10:09:09 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF621C061A51; Fri, 4 Dec 2020 07:08:29 -0800 (PST) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1607094507; 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=m+5fUfCGN4l8PttwLmFKEO9H2mckNeF24mD/TIdsWmA=; b=IMK9HWTOFmsmGjUiNSHj45Vv6+Y4MUAZ4rHxVC3aeoHN2rE5EBGlduOSi8RJbyfAANrFlR LvoWc0CDfTy7NXTHYTYsXnVED6ZyvuyBTu0a9o5jYQdphqrLvLPbskLSFNdS7uWI2tUzqz cBemexfhX7i3B63iOQUMo+oE/d/o4zpyumtdAlZEuRm8S1RezGtdjN3T+jpF3gwVy4yLqq 7iP8XzvD/utBLvvxbLB0QOeJEFBwWoUuDHD8XVo8WC5mIwK2cUH+CEvlvaN/TDjn7U2OZL z/SvS8RdMz/hjlYEnAejzfQZW5mr/bR2gzQ0XB7qiehZGarVU+FzWkPfkh7pog== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1607094507; 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=m+5fUfCGN4l8PttwLmFKEO9H2mckNeF24mD/TIdsWmA=; b=INkOrHiJFDwY6z7hGqBnk6yKA9vFBYJNsviMtfs2IwfBxi0PyZSJvR9EccALbcd/BAKPYz qCzaYhAQYTLVRtDg== 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, Jens Axboe , linux-mm@kvack.org, Andrew Morton Subject: Re: crypto: sun4i-ss: error with kmap In-Reply-To: <20201204132631.GA25321@Red> References: <20201201130102.GA23461@Red> <87ft4phcyx.fsf@nanos.tec.linutronix.de> <20201201135252.GA9584@Red> <87y2ihfw6z.fsf@nanos.tec.linutronix.de> <20201201144529.GA6786@Red> <87v9dlfthf.fsf@nanos.tec.linutronix.de> <20201202195501.GA29296@Red> <877dpzexfr.fsf@nanos.tec.linutronix.de> <20201203173846.GA16207@Red> <87r1o6bh1u.fsf@nanos.tec.linutronix.de> <20201204132631.GA25321@Red> Date: Fri, 04 Dec 2020 16:08:27 +0100 Message-ID: <874kl1bod0.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 Fri, Dec 04 2020 at 14:26, Corentin Labbe wrote: > On Fri, Dec 04, 2020 at 12:34:05AM +0100, Thomas Gleixner wrote: >> The unmap comes from sg_miter_stop() and looking at the previous >> map/unmap cycles there are never nested maps. >> >> [ 996.943030] cryptset-316 0d..4 73943317us : __kmap_local_pfn_prot: kmap_local_pfn: 1 ffefd000 >> >> is the first event which allocates a nested map. >> >> So something goes south either in sg_miter or in the crypto maze. >> >> Enabling CONFIG_DEBUG_KMAP_LOCAL and function tracing might give us more clue. > > Done, http://kernel.montjoie.ovh/130466.log Does not provide more information with the debug enabled. So can you please enable CONFIG_FUNCTION_TRACER and add 'ftrace=function' to the command line? Thanks, tglx