From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 182943A7F52 for ; Wed, 9 Sep 2026 06:18:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788934741; cv=none; b=DtH8BJpXa3BPjL1cFpI5D94tFGVBsJS0NzJL7rfc/kVVfmCnM9hkv9DKWaPUXgBvWofsEAw0z+seDNCEfYJl5T6ZHYATLPvQbA21S6YR8tuheX2uCmClA45skH7BdWdFhZm5OJMcc9kerHCiIlpFw/RTOyfxLYxAKO/2V0qo2Gk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788934741; c=relaxed/simple; bh=wXJBntdrkbqJ1qT9ynovNqmMXCpudSb1c/jHp+/D07c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aY+eLfjQ6SvRRH9irijo3YWZVXDqVTmhT0EBUDaXjtVE+zkOHHWzcC1xoknS3V2LmlFlIkmiGg3kdF5cxzihU+HS0ixpdpGjBAYkG4xa3vMSkfUZY6nH16mBwofwvteqsRxBZHYHvRGlNzg5TFqo3FJn3PZ8CJGdc+/5Z264UFI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=Yi6dFYd5; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="Yi6dFYd5" Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 688N1aFR1116388; Wed, 9 Sep 2026 06:18:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=AfW9jv obzHptCj9jByfSTduufg2fJlESvuyzzsZDulM=; b=Yi6dFYd5qDoeLJxETskDiI X269oWnXuOWuwJodx6na9vfSsrOGDJ8MVFtRmyaqgVZ1jA/6vABh/70ashNsGFQX XvKNRRUGmU3uDIbBPmWAxUzvaG03zIZr7umQaP7mL6VEk3xpo4OsE7xZvDkyhkQu ptveFyoWOHYb3FV8kk9HyNACjjITVciBJhn06tuhl2G4mK/vaaUzFvcNPlU6UxOB f5rqyndstEYvseHCPh4Io8/PRGf/rqlKflpk3Qm8ucY5yl7cxgJ5cN18ZI64+EQX 6UoSz3vKWOoDs1ZTpbCIrGDT68zZcjr/qB/3oKUs5i1QYRebBMBJUTHlvtYv5sAw == Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4ggbjruqa9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Sep 2026 06:18:48 +0000 (GMT) Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id 6896BG8E008854; Wed, 9 Sep 2026 06:18:47 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4ggymggfud-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Sep 2026 06:18:47 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 6896IhEq12976436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 9 Sep 2026 06:18:43 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8AAB22004B; Wed, 9 Sep 2026 06:18:43 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF95320040; Wed, 9 Sep 2026 06:18:40 +0000 (GMT) Received: from Linuxdev.ibmuc.com (unknown [9.43.64.17]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 9 Sep 2026 06:18:40 +0000 (GMT) From: Madhavan Srinivasan To: linuxppc-dev@lists.ozlabs.org, Shivaprasad G Bhat Cc: harshpb@linux.ibm.com, mpe@ellerman.id.au, npiggin@gmail.com, chleroy@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] powerpc/rtas_pci: No hotplug on permanently removed device on pSeries Date: Wed, 9 Sep 2026 11:48:39 +0530 Message-ID: <178893459268.174069.7218159641256371080.b4-ty@linux.ibm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <178246517230.1267.12206176311111155505.stgit@linux.ibm.com> References: <178246517230.1267.12206176311111155505.stgit@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Authority-Analysis: v=2.4 cv=E7T9Y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Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-08_03,2026-09-08_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 spamscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609090066 On Fri, 26 Jun 2026 09:13:03 +0000, Shivaprasad G Bhat wrote: > The eeh_driver disables and offlines the PE permanently when it > exceeds the freeze count beyond eeh_max_freeze within the last hour. > The PE is only offline, so the device tree entries, eeh device > references are all intact till the real unplug of the device from > the guest/host takes place. > > On pSeries, with a new hotplug of any PCI device, the drmgr initiates > a system-wide PCI rescan, which finds devices offlined by the eeh_driver > and there will be attempts to bring them online. This leads to > recurring EEHs either at the config read time itself or a bit > later depending on the type of the problem. > > [...] Applied to powerpc/fixes. [1/1] powerpc/rtas_pci: No hotplug on permanently removed device on pSeries https://git.kernel.org/powerpc/c/8a4978c17a144a6583478cce933bcb2dbb25298d cheers