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 0EAC63CEBA6; Tue, 9 Jun 2026 10:40:25 +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=1781001627; cv=none; b=AFrZDOaZdLBxPaF00TEHBI4N6ILMWwHVFxgX9ssQ/osDmCHujm7wpdc9A/Tw61/DqwFZyTrR8o42hAgKLPGDvh0FTv3bwhrE0t5P7G/SYM4D31Zcy4c9Eo3Zj3WlqFsmvcO/pVhbYJELWQV1skznMT8a6IpsRmSSt/PjtdDV6Vg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781001627; c=relaxed/simple; bh=5Eyy0XQVDB1OVyi6Y4xxDRHxkWSl9LGNNOegcRZMpSY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X4VmM/ENCf8Clw9i+bTPHvtdbdZ+1KG3YERnr+STuLKnSUG8NkSV9Dhs8sYqToPXSFbDNxmCJW+nPsh+BP4KuyOHd3kApBRZFpEqvlMXp7IfcX3rEi6disS+EMnVg1/Z4UAf3bzAj0IzV/fcS/J8R/jOLOjgTbPUGyvTG2cpOPI= 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=bxXVcaqS; 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="bxXVcaqS" Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6594FbvI3480113; Tue, 9 Jun 2026 10:40:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=pp1; bh=0WSttR7xuTezxWtBt0r/2p/NHeY8+U ssiVjWhIFfUn8=; b=bxXVcaqSUZ3+HYwPkoD+99lmDXouph8/FA6YifL9fHAFCA ube/VjNGcDlCFCSHIXPdOBEhRDigxZ+MoRBoD6o0rB1vf/jExhmWr5gExpst1BlI Z2K+ZS4ZPMI6FkEi2erRJ2vX1/pLxp8MPD4UVTf90KSoOT7NjRk20KhIUOUrEiYX Gfh2yeVlRdoENMU0PdcgDSTt9EI7Frik3ifzUU/pJxwWC8i8hxhmLrcHU5KTqnnE O3nnWVOS2W9iHQNPcB/dB3/cpbNrMQhwL8RlXbSoM32IEjE5CWLlegibHRK1WOED phO6CtSu3lqZ+8Pxnx0nXq+MdPqoHU5oSTpc3rJw== 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 4emb6sudc9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jun 2026 10:40:17 +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 659AYa47018689; Tue, 9 Jun 2026 10:40:16 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4en03g1chw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jun 2026 10:40:16 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 659AeDoX27263232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Jun 2026 10:40:13 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 636F52004B; Tue, 9 Jun 2026 10:40:13 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D390E20043; Tue, 9 Jun 2026 10:40:12 +0000 (GMT) Received: from osiris (unknown [9.111.52.116]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTPS; Tue, 9 Jun 2026 10:40:12 +0000 (GMT) Date: Tue, 9 Jun 2026 12:40:11 +0200 From: Heiko Carstens To: Mete Durlu Cc: Christian Loehle , Vasily Gorbik , Alexander Gordeev , Sven Schnelle , "Rafael J. Wysocki" , Daniel Lezcano , Anna-Maria Behnsen , Frederic Weisbecker , Ingo Molnar , Thomas Gleixner , Ilya Leoshkevich , Christian Borntraeger , linux-s390 , linux-kernel Subject: Re: [PATCH 4/5] s390/idle: Introduce cpuidle for s390 Message-ID: <20260609104011.9217Bd8-hca@linux.ibm.com> References: <20260609075213.31094-1-meted@linux.ibm.com> <20260609075213.31094-5-meted@linux.ibm.com> <5d9a3d2e-f083-49d4-a311-7801e70ac1a2@arm.com> <77a82533-2f1c-4bf2-925d-f48accf45951@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-s390@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77a82533-2f1c-4bf2-925d-f48accf45951@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: eyezJkOJBpYFAYBMCUO1Gr-k7J714q-Z X-Proofpoint-GUID: eyezJkOJBpYFAYBMCUO1Gr-k7J714q-Z X-Authority-Analysis: v=2.4 cv=ZbEt8MVA c=1 sm=1 tr=0 ts=6a27ed91 cx=c_pps a=AfN7/Ok6k8XGzOShvHwTGQ==:117 a=AfN7/Ok6k8XGzOShvHwTGQ==:17 a=kj9zAlcOel0A:10 a=FelO9ux0wxsA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=RzCfie-kr_QcCd8fBx8p:22 a=VnNF1IyMAAAA:8 a=PQv_8JjY_DnSjf3yQIUA:9 a=CjuIK1q_8ugA:10 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjA5MDA5OSBTYWx0ZWRfX4M7hveJgA9G+ wARkTU9G9R7nH63rAg3jhZKQi1/nM0qIf5SbzowApHGhRbEoSl7AVFnClAwzq89TTrbC/gUbJsJ AD/L1D6kQ+qlXStWM+n0Z4SvSxySWlnZmbU2IBiOiG/LHPvVnNHflO4wIeKXx0e5Qk59W6mmEyi NZ0bF764PFZjalrItmyqLbaK+30zVxlbCemZqTKl0vS6TLUG000Taj2AeS2J0QHDXHYMwuqHHex H5dtAituUJPOAKcU5g8QArPwm82mIMLoEldi2pjPW6L/PT1oRxg+NVor1vv4JM0HlDMM3PlbYHP Boz5O7p1k8YsF+Slzba3nhsXZgnrRHjkwetrTV3jJTRH0bM3+43cKd9fPHS0mWGw0EKUgy/i4Lo y9KmvsG9ZY3U793fXsHh6kF+wN41W9+EOVoYxjb799AHEJv5RbD1ENL1V/npv8AXITzMwgl0PQ7 K5i6neFVNXvK/0FSoSg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-09_02,2026-06-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1011 adultscore=0 spamscore=0 priorityscore=1501 bulkscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606090099 On Tue, Jun 09, 2026 at 11:31:22AM +0200, Mete Durlu wrote: > On 6/9/26 10:12, Christian Loehle wrote: > > On 6/9/26 08:52, Mete Durlu wrote: > > > Introduce generic cpuidle driver on s390. Use a two stage approach to > > > handle idle scenarios and use TEO governor for idle stage selection. > > > Two stages are, from shallow to deep, idle polling and enabled wait. > > > > > > Suggested-by: Christian Borntraeger > > > Suggested-by: Heiko Carstens > > > Signed-off-by: Mete Durlu > > > --- > > > arch/s390/Kconfig | 5 ++ > > > drivers/cpuidle/Kconfig | 5 ++ > > > drivers/cpuidle/Kconfig.s390 | 12 ++++ > > > drivers/cpuidle/Makefile | 4 ++ > > > drivers/cpuidle/cpuidle-s390.c | 104 +++++++++++++++++++++++++++++++++ > > > 5 files changed, 130 insertions(+) > > > create mode 100644 drivers/cpuidle/Kconfig.s390 > > > create mode 100644 drivers/cpuidle/cpuidle-s390.c > > > > Since this will be hard for anybody without the hardware to maintain, > > would you maintain it? Or the existing s390 maintainers? > > If either then please also modify MAINTAINERS to reflect that. > > > Yes, I'll be maintaining the driver. I am not sure if it should be part > of the patch series but I'll add a new entry like below; It should be part of this series. Please merge your provided diff into this patch, and resend the whole series.