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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBE30C4345F for ; Mon, 22 Apr 2024 05:41:37 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=RNZDWWta; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4VNDdX2lsRz3dHR for ; Mon, 22 Apr 2024 15:41:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=RNZDWWta; dkim-atps=neutral Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VNDcj1mDsz30gp for ; Mon, 22 Apr 2024 15:40:53 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1713764453; bh=NM1Peqighzw+mkU1E+YWLEHUm6IlXuwVHyv+E0ShMrU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RNZDWWtavnukBViwUxvNovHBccke2CAWpYEW4SwuD7WNEOt7+3Ar93bayigXPAoPa v/Tn+oyK4qYA9uXQBQtZ7JmRRirAPnNpiKFlb0tltWiWN/re3DLuUAkEn8839hK2Bb AiwmD4lUgy20XanJvOLuk1Ew3gDqniTzP4EUU5wsmT/iwiSJyWKKLAcVgGHKSjN205 /7FsE0wP9Sjr/M9z6esmhg85+b9HneYrvrHnKiyv1QkKlSPhIBJ3f4k/UAAPIEmLW7 45WNdrwOLB2Ix4/s9cw2ff1qoZ2Q2HRPnpHyX9AhDErdhyCHSwVAMOh/paj4gZhsmm ikH42+1brWEWw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VNDch6Yggz4x10; Mon, 22 Apr 2024 15:40:52 +1000 (AEST) From: Michael Ellerman To: Michal =?utf-8?Q?Such=C3=A1nek?= Subject: Re: [PATCH] powerpc/pseries/iommu: LPAR panics when rebooted with a frozen PE In-Reply-To: <20240419111127.GZ20665@kitsune.suse.cz> References: <20240416205810.28754-1-gbatra@linux.ibm.com> <87ttjxanj5.fsf@mail.lhotse> <20240419111127.GZ20665@kitsune.suse.cz> Date: Mon, 22 Apr 2024 15:40:52 +1000 Message-ID: <87wmoqj6or.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gaurav Batra , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Michal Such=C3=A1nek writes: > Hello, > > On Fri, Apr 19, 2024 at 04:12:46PM +1000, Michael Ellerman wrote: >> Gaurav Batra writes: >> > At the time of LPAR reboot, partition firmware provides Open Firmware >> > property ibm,dma-window for the PE. This property is provided on the P= CI >> > bus the PE is attached to. >>=20 >> AFAICS you're actually describing a bug that happens during boot *up*? >>=20 >> Describing it as "reboot" makes me think you're talking about the >> shutdown path. I think that will confuse people, me at least :) > > there is probably an assumption that it must have been running > previously for the errors to happen in the first place but given the > error state persists for a day it may be a very long 'reboot'. Yeah. Which is good detail, but the actual change is to the boot up path so I think it's better described that way. cheers