Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp634005pxu; Fri, 4 Dec 2020 11:30:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsXLnOhK5D9sqPEIuzdfcsCU8sX2I66DRfS/0K44PFBlLhy6+Bl5c82xPleWBPrlrfpyLj X-Received: by 2002:a17:906:60c4:: with SMTP id f4mr8661933ejk.336.1607110218597; Fri, 04 Dec 2020 11:30:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607110218; cv=none; d=google.com; s=arc-20160816; b=UtLm5cQHsASkZ4VOCdJIdlGNUBJ4DOwMv+nKTbsP9ub1QTX51wMVqwbVFqfD1YSK8F rK26y4/8wqyCfCk5BRiqr8ROpwCOeU/wDQxJmxx640LN/f+3LexKw8Kw9ySdK2Gd+ovk /wNfzvEsNcFACGZvm7pOPvSJ1xJ4oPnKtgExGt6qa+Zxj2pcuOQaa1Lna04BMhwbiem1 G2d8CTBnXTXK4a4UDMGMWZDz7J5viKL8qNmA9rZaul/RmVRcSxGf2EoqQirBKpRWzSQ6 TYlruPxjSy/Yg0Yi8jJfn0Ctpz/CYeZxwu1dOSl1h8OO3X5stHCN3Gj03Avo1tF3jhG7 6LAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QneMMLNVLuUzcGkoHYxID8fhKLN3YdsUe/2Yohs8dUA=; b=PatNtgkxguHDhVpUqOkHjWSqxO5SMCAUVzv2w4A8OcRwzIuST1shBVGuEwy7Ahdkhv e/HKI6ZemMQ7ndJ/XTyRWLhtiEjJqijm9Y+Db32D/U+YH/HXi5Gp2vYy4cLoQyh1g6lB Prx9BnmVmUiuskDx1Bkj8vheQrbDNPvK/lawAaa4Q98dWTzUl30oTjWS5rHYCbg/0x7/ Zv06t7XzgKh3XXUw76IBr4Af7s2iqDMX+FIU8oEJ+RCfH4JQ8k9Omjpt4iqeIp1aQvZp 3t0hbkYKXs4P2z3ew7pTYOsB3T8k+v6fd2eTqlQixC1NIde8krIKFxa99IE/bLJVf3rb t0yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IV0SFSjz; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox26si2135933ejb.605.2020.12.04.11.29.44; Fri, 04 Dec 2020 11:30:18 -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=@gmail.com header.s=20161025 header.b=IV0SFSjz; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbgLDT2k (ORCPT + 99 others); Fri, 4 Dec 2020 14:28:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgLDT2k (ORCPT ); Fri, 4 Dec 2020 14:28:40 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 871C2C0613D1; Fri, 4 Dec 2020 11:27:59 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id d3so6381890wmb.4; Fri, 04 Dec 2020 11:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QneMMLNVLuUzcGkoHYxID8fhKLN3YdsUe/2Yohs8dUA=; b=IV0SFSjzZyjcw8L/C243h3FfryF5mYThxgy0t19g4KvSjCm//T09eKYiG6grBZJ7Zd KV8xrQuK9UnwZq2GoegFmW9e44+1S6wpETiQ2DqQqUeI+P5v/Vza1bkMzbtlsSXFPY6c roNHDQawUTn2DwQUDxDiqwpT62fVxNr9IIQaRQ6Ipxdfdy9vZ8DKOot/5Nl/e+oJRZu1 sbpN0zKvpp+q22X//lSOuMr/g4Ju9kTlNbweZpl2/sM0HfLILyVNRbcyLE2kTd/TTXs7 2e+8bf0xjv6yRCSjMOBAKFEBThecf+DBadLHbpvyN2DBslOlJXj6qwPOrehBM5hNyVvH /ubQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QneMMLNVLuUzcGkoHYxID8fhKLN3YdsUe/2Yohs8dUA=; b=s6VRTIH48BHd+AkLpoXcmvPlVAeolU84lGOb+dWOHQiiVskEcWfTYexX+oV5C/wuzq DwxzyK09EX2r9vvuRAdEpdyEAuT16e52T5RdqpTDR9HmyvxhaGEdYKzREwwkvOpLLL7l 2thyIFUAmUmufnV4TXqvCOK4UGKB+Ra6GuYk3yB32tZh6YLc/N1GxKl1yKU8y9b8u8Jv W/U1t+VkFgeR/lMgL+NgCZWY/Y71j15MuS4eC6F5dyZOfDa/kV6xMPLfoIu4LRA92l5W /KKNHI6osy3JIr1XZwhjTIX1zRk0tsOdagMLO2c5yygffny7a1sBn7VdMGdGDiFL/pP8 5Jwg== X-Gm-Message-State: AOAM530/4H0nzpjt+bjB6NeIx+3hAFbj35kLX0OaWuYtC3zraDFQ2PgH s7Dopf8+xxyxAegVvtUpL88= X-Received: by 2002:a7b:cd91:: with SMTP id y17mr5697971wmj.171.1607110077076; Fri, 04 Dec 2020 11:27:57 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id k16sm4684560wrl.65.2020.12.04.11.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 11:27:56 -0800 (PST) Date: Fri, 4 Dec 2020 20:27:53 +0100 From: Corentin Labbe To: Thomas Gleixner 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 Message-ID: <20201204192753.GA19782@Red> References: <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> <874kl1bod0.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874kl1bod0.fsf@nanos.tec.linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Dec 04, 2020 at 04:08:27PM +0100, Thomas Gleixner wrote: > 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? > Done, http://kernel.montjoie.ovh/130490.log