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=-1.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 89D5AC49ED7 for ; Fri, 20 Sep 2019 08:41:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5C2462070C for ; Fri, 20 Sep 2019 08:41:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="e0fRdzVR"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=plaes.org header.i=@plaes.org header.b="hP5K+LGo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5C2462070C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=plaes.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=kIrPtvkEbg1NksiJO5PrCkt/AeLTKL/bpHfSwT2Ps44=; b=e0fRdzVRrtzJBM oSgH6eZHRs2YfWWssdgIrIr3x975dJJhcq0TLU4CGd+LVSmirfiZtMpf9JBctqqfcpaJKA74kAtMD J4xaCecMxIE89nLvvNjKUVWYXyT8wYdPPe4/ThkFjSyg7b9dJ2vjfmfn++bk2zvjIExGbps+d50+6 OVGjTjyQIMn80cXfbbOqwi1kpAav9Xn2Y4oTxuNjFkw3aeNiptAs5DI7RD6dK8URQrra13QOXvKCd 6PH/Zw9TEYmzt2vyCdQJHKItPyOpUatlhDA1StnJwfzfmQg4WY1hsts+qN5fh0KxlHzzvh8lCI/HS qTS+ExYmZFiC0eh9PwTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iBETt-0001o1-0O; Fri, 20 Sep 2019 08:41:33 +0000 Received: from plaes.org ([188.166.43.21]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iBETq-0001nN-OF for linux-arm-kernel@lists.infradead.org; Fri, 20 Sep 2019 08:41:32 +0000 Received: from plaes.org (localhost [127.0.0.1]) by plaes.org (Postfix) with ESMTPSA id 4ED0A401A2; Fri, 20 Sep 2019 08:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1568968358; bh=B88eQXvMcqPCljBCgykzFFLBC6ki+6QWIgs8CmMzNSc=; h=Date:From:To:Cc:Subject:From; b=hP5K+LGolyuLvkyMObHkPDJI+3SO5aqs2BkePcyR3N8tnNSGB3eem7s8Ay08w9saL 2vdVZbGw9haNc1RLljjA7cyr5LjLxYLZHPgK3IvhnNQgvjByHZqpy4OKjHro5lC5FE ydiX6NoQqtkd97+MqM8DPBPabL2+0lBAL3sFYO3qWa4VnLsLYRigwi400a/IAFLfJL EPzWkE2zEUi4vJ6B8LviMqM2oMwWVVYGiwMlTvC+Fehc1aHUHCVGqY+yn4MXM3IZT9 PBF3avKVDYYgVmEcNNgEGVGvpI5m/4gMCupSoKyE4BhuObRcLr42AKaDwklSPoLoYf 37EmmfpP3SBcw== Date: Fri, 20 Sep 2019 08:32:37 +0000 From: Priit Laes To: mripard@kernel.org, wens@csie.org Subject: [BUG] sun4i: axp209: no atomic i2c transfer handler Message-ID: <20190920083237.GA11657@plaes.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190920_014130_928239_496E1764 X-CRM114-Status: UNSURE ( 5.36 ) X-CRM114-Notice: Please train this message. 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: linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, priit.laes@paf.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Heya! I have seen following warning message for few times when shutting down the machine (Olinuxino Lime2-emmc) running the mainline kernel. [snip] WARNING: CPU: 0 PID: 1 at drivers/i2c/i2c-core.h:41 i2c_transfer+0xe8/0xf4 No atomic I2C transfer handler for 'i2c-1' Modules linked in: enc28j60 CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.3.0-rc8-paf+ #28 Hardware name: Allwinner sun7i (A20) Family [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x88/0x9c) [] (dump_stack) from [] (__warn+0xd4/0xf0) [] (__warn) from [] (warn_slowpath_fmt+0x48/0x6c) [] (warn_slowpath_fmt) from [] (i2c_transfer+0xe8/0xf4) [] (i2c_transfer) from [] (i2c_transfer_buffer_flags+0x= 4c/0x70) [] (i2c_transfer_buffer_flags) from [] (regmap_i2c_writ= e+0x14/0x30) [] (regmap_i2c_write) from [] (_regmap_raw_write_impl+0= x588/0x63c) [] (_regmap_raw_write_impl) from [] (regmap_write+0x3c/= 0x5c) [] (regmap_write) from [] (axp20x_power_off+0x2c/0x38) [] (axp20x_power_off) from [] (sys_reboot+0x14c/0x1e0) [] (sys_reboot) from [] (ret_fast_syscall+0x0/0x54) Exception stack(0xef04ffa8 to 0xef04fff0) ffa0: 00427954 00000000 fee1dead 28121969 4321fedc 168143= 00 ffc0: 00427954 00000000 00000000 00000058 bec15c78 00000000 bec15c10 004266= f8 ffe0: 00000058 bec15b6c b6f69d45 b6eeb746 [/snip] The enc28j60 module is SPI, so it has nothing to do with the message. Any ideas where to look? P=E4ikest, Priit :) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel