Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp183028pxb; Tue, 14 Sep 2021 22:47:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy1JbVFMV2ERbMuA4RK8gwYvrCL7JCMtFAp85Du9t36x0UT75QgjYWQ0hSrkzQo6qrjmqZ X-Received: by 2002:a2e:9b0e:: with SMTP id u14mr18611281lji.447.1631684871111; Tue, 14 Sep 2021 22:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631684871; cv=none; d=google.com; s=arc-20160816; b=s8wSzelz4DlnFPEZyZ0cRaE1c5yi7ds7/qM3Zk0XswBCsEsbBTzaTIU4MTc5HSqeD7 QfLDC+Uxu/rPkx72HYoAwZOc6SKVKU3yGYNLkiDO3J0Y38OLLvV9l6mMgH2D3T17M/22 YriySQlkJuYOO2J4AyYVP9EgbUXPw9CYXLcw4cHcrbRU/zn7rUKX5JaM3EyinloWGvQ7 9nL1DcI+7wx61/bof6rn/ZNbeUfbVifV6OBxOvtBRv+DhBvo+UB8J9RkNhjUHyIt2QPg 4GrXzicPYwj3COHFGfYpp5q0BpdXPkUWPqhskevRXM9HZqAvrZecg5DbAU+fEnbmZCzT NYGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=flc8KDwzk+dUtA5wQrfdR8pJ8ZhamZ/vMzUZWYDF1J4=; b=tvwRzIKLOifnlnKQvw7RsErtmNCwJeJ8at7XWqhzOFdr9E+yzzdC6+eVVSZAXEvcDP he4WYTDFYR9+TefiU7qf5NQKMAS4mw/SL77eJt3nHRG0UTgXI2pLggN1Ehgv9sE00/WS mWUm/APoTuRHbOSur7qpWwWlPz9UEBV2uMf38hsEB9pmt6VELlUQXvTaC1mdJIMndGY+ 06B+qT0P0Ps4yNWDujm1fyw0Gs1tSWBdqVLZJcL5PLX/rKplQJ77gSDEbndfgzWeSQfd B6Cckjh0MjnD+Y2YIe4+/XG+zDbxJ9fjCw1dp7W9Rc6jHy0wSmJl9nDvlm8wn6SUbZ6U F40w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=eDB8TmsK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n24si14573547lji.285.2021.09.14.22.47.20; Tue, 14 Sep 2021 22:47:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmx.net header.s=badeba3b8450 header.b=eDB8TmsK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236294AbhIOFoE (ORCPT + 99 others); Wed, 15 Sep 2021 01:44:04 -0400 Received: from mout.gmx.net ([212.227.15.19]:37079 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230312AbhIOFn7 (ORCPT ); Wed, 15 Sep 2021 01:43:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631684543; bh=k/mBnaltl0V4HhcJYi79KyqmAelVS9deee9HO0j5FQs=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=eDB8TmsKSpUc9Lw8xmSOTmba+zkzvzG3kIOfIIUO5fjXE0PxbOdT2G6mpX/ycNGSU o6IlFgIyxJugiJLZhduBsjbPdvUqFt5tf+T8J9uSgJCqA10CVkCeDtlVSiQQ/07GP1 U4A01NucfzdAgyAzMDYMUeTVfXlo5fclN1Ev+UH4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.178.51] ([46.223.119.124]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MStCe-1mLXKz10AA-00UIsW; Wed, 15 Sep 2021 07:42:23 +0200 Subject: Re: [PATCH 0/3] Fix for KSZ DSA switch shutdown To: Vladimir Oltean Cc: Andrew Lunn , Florian Fainelli , Saravana Kannan , "Rafael J. Wysocki" , p.rosenberger@kunbus.com, woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, vivien.didelot@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <5b899bb3-ed37-19ae-8856-3dabce534cc6@gmx.de> <20210909225457.figd5e5o3yw76mcs@skbuf> <35466c02-16da-0305-6d53-1c3bbf326418@gmail.com> <20210910145852.4te2zjkchnajb3qw@skbuf> <53f2509f-b648-b33d-1542-17a2c9d69966@gmx.de> <20210912202913.mu3o5u2l64j7mpwe@skbuf> <20210913104400.oyib42rfq5x2vc56@skbuf> <20210914184856.vmqv3je4oz5elxvp@skbuf> From: Lino Sanfilippo Message-ID: <69b914bb-de19-e168-fe9c-61e125410fb6@gmx.de> Date: Wed, 15 Sep 2021 07:42:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210914184856.vmqv3je4oz5elxvp@skbuf> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:vd35W0+nzHSNT7qGL8FeWPyrHLMVo5dM9FPqJBuDiKL1nbMqzQP bTDxcEmPTfiAOdze/PzfY8WDp6V8iBUfQiDAG75K6uK4TeT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VdUA quVsTUji1iJ7PTa0Is4XJ8iaBCv0YJtLU2H1iqiR+nKBXDMlAQOqEn+6rZj3KPZX7aqerK6t3 do1qo+Az06TLLwSsm8cI0aWKtJcldEXEH+xZ7r3xahFFkfahym1Xf3QLxCg3K68YoQQLsCD0+ cYH3nKRtakiDgVUNVm5mtVrXG/Lds//NCY2jFf+aPWNWa1DnRu47VW+qS1je/aNGOfInQ2nFS +GiggS/om4SNG0= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 14.09.21 at 20:48, Vladimir Oltean wrote: > On Mon, Sep 13, 2021 at 01:01:20PM +0200, Lino Sanfilippo wrote: >>>>> Could you post the full kernel output? The picture you've posted is >>>>> truncated and only shows a WARN_ON in rpi_firmware_transaction and i= s >>>>> probably a symptom and not the issue (which is above and not shown). >>>>> >>>> >>>> Unfortunately I dont see anything in the kernel log. The console outp= ut is all I get, >>>> thats why I made the photo. >>> >>> To clarify, are you saying nothing above this line gets printed? Becau= se >>> the part of the log you've posted in the picture is pretty much >>> unworkable: >>> >>> [ 99.375389] [] (bcm2835_spi_shutdown [spi_bcm2835]) from = [] (platform_drv_shutdown+0x2c/0x30) >>> >>> How do you access the device's serial console? Use a program with a >>> scrollback buffer like GNU screen or something. >>> >> >> Ah no, this is not over a serial console. This is what I see via hdmi. = I do not have a working serial connection yet. >> Sorry I know this trace part is not very useful, I will try to get a fu= ll dump. > > Lino, are you going to provide a kernel output so I could look at your n= ew breakage? > If you could set up a pstore logger with a ramoops region, you could > dump the log after the fact. Or if HDMI is all you have, you could use > an HDMI capture card to record it. Or just record the screen you're > looking at, as long as you don't have very shaky hands, whatever... > Yes, I will try to get something useful. I have already set up a serial co= nnection now. I still see the shutdown stopping with your patch but I have not seen= the kernel dump any more. I will try further and provide a dump as soon as I a= m successful. Regards, Lino