From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EFE6C4361A for ; Fri, 4 Dec 2020 19:29:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE41D22CA0 for ; Fri, 4 Dec 2020 19:29:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE41D22CA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=b8TRgDES+j9e4VlzUmSX0BQEVg4WY0L6lVYfZfwA0z4=; b=civkJ/KptCC4ExzodDSUoP8jW PKWvaZMFNOjwJY0x0J5oXsdynI9eEbh40Rl4nbI38+cN2bLXoYy0m5Jy9tv9jcp0y8DBhRXBK9Cfv ovVqZWkSSyH7Qh6ruc/5IGfviOZuRgMk+cFhQKI+XF2x1XWNXuCW/gUCAhmBRHsQBVHwqQuEHcN4n 0XDiwPWIh8f3HLdhYyFvUZ5NydwPYWdDxCBdtbhuu4J9rHSPD2V+OGgsFH7/NTqpfG+ZJTuUWHqx9 9WxsgvMdYuwIyXZlflNizOgn8fH1oNtcijgXvUW0NbfT/N0dG5S2/UF0s6l2ATt7s6azwZCVGuBKZ 5JbXht3fg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1klGkN-0006Dx-5F; Fri, 04 Dec 2020 19:28:03 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1klGkJ-0006D5-M4 for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2020 19:28:01 +0000 Received: by mail-wm1-x330.google.com with SMTP id 3so7996122wmg.4 for ; Fri, 04 Dec 2020 11:27:58 -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=gCIHxnLZMMjGKFG7IIY/XAPhxIkADateXShP+qCZP2uQ88DmLiv9E449mpaVr0sCw7 c3/W6dBLFQV7UiYC7tLYApDan3dbd0WG1Vle2b7+vnmn/0tlygjru8IBZmkbxCtRlIll 3Fb5EGbKgcVMIYLH7BH5kwUZTI2ExuFn/LXxGPB01aH0G3FIKWVZYhy6/LsPp2Xbf/27 2YU+E6tGiTBzyNxE9CXEq7qQ7j59N+4m2Q6kv+j+sOlcpKE/GEy9EuH79in0Wx8/TxmS 9hE8ZMlUbt4L7iVBJwPBm/6f+8CNE+7ezbbith61Rsv9Ww8gEZXO7e6zhICpxR2s4fB7 IC4g== X-Gm-Message-State: AOAM530P7+TQHM1iMNhKv6V1r17jd+6aFMFF6le3TJLp8SnVVplgTySd 7Vk5DMJsuDvlfwyeDhUd5JY= X-Google-Smtp-Source: ABdhPJxH6CkUQbBtK+3V1EOllEwwZYEcW4D35sQNZakdnvqRKYoYX7+6zkRJDMEmNrvu5YtiowwUcw== 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 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-Disposition: inline In-Reply-To: <874kl1bod0.fsf@nanos.tec.linutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201204_142759_907859_A6448B06 X-CRM114-Status: GOOD ( 15.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jens Axboe , herbert@gondor.apana.org.au, linux-kernel@vger.kernel.org, mripard@kernel.org, linux-mm@kvack.org, wens@csie.org, linux-crypto@vger.kernel.org, Andrew Morton , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel