From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 E2C1023DEB3 for ; Tue, 10 Dec 2024 11:23:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733829788; cv=none; b=k7W1tW1Bm9IoQMGfOqmY54yAt4ycv62EYVT04HR2/RNZxyYKr9QMWN2RWyeQVgjY7PB9NONFYJ7rnIUum+t7frDS9YikYPpcfcmtsD2e30rGaUlGVZQpubP31MNBk326EfUZfka3PDM2C+jSUTZ1Oohuew42miOSp5NOFuhSAxI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733829788; c=relaxed/simple; bh=J2eNYJqW3lDNPqjn7aTbtW601D3/eoVDouHhYJzIUOk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=vD1fOFAIaNGxcryYAvRoep7u5f0j+Sli33q+muUNVziOL9V9h6gC3P+WGhEYVSWFJlgKC4c8BpnQxWPIiPR/+3G8kqHeAhLBHzsvWChcjE+/g/iTijkzZ2bAnXNPwsw868eI8lxEpKf0q3uP5L50+u8QfvfhDoBpFX/udiCxsiw= 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=H455Qbf4; arc=none smtp.client-ip=148.163.156.1 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="H455Qbf4" Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BAA5Q7H016921; Tue, 10 Dec 2024 11:22:42 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=3Etygb 1S5JD3SBkniCuVFCsMk1p5rd6f1kwfYbyymK4=; b=H455Qbf4KJis+OHkeu7tiT HNSnMf8uWPzwoH+ynPjKM9FXQ/jROPkQClL1bymxMZbcHdbfTj5XvvQQVuSaO3Ps UaUIDiSHpR2lo/1NYatrgTkYW7WTh7VZp9ve2+xCV5vH//PEw8WH0298K3sknoAJ oC+cG6dHWtzu9CiwbHfUcTXT6ZcyjGRsiDn6lRYodJblppJqEOWjVx2Dg8Dgxsul UUSyMhWl8uyfm2vASjCkUoQvkivcKUy8TfvbRWoui3FK0q7l1hKW3iDpErYSX3Fj NxitZVlT8OLwpXFT3AFnN5Nl4Yu/kczhLc73H/KiXZOvTSyd4njIGPCkZruwexAg == Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43ce38ppns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Dec 2024 11:22:41 +0000 (GMT) Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 4BABMfQA015952; Tue, 10 Dec 2024 11:22:41 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43ce38ppnp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Dec 2024 11:22:41 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BAB04SK016910; Tue, 10 Dec 2024 11:22:40 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43d12y3gyb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Dec 2024 11:22:39 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BABMcTn33882460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Dec 2024 11:22:38 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F30552004B; Tue, 10 Dec 2024 11:22:37 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4BE7020040; Tue, 10 Dec 2024 11:22:36 +0000 (GMT) Received: from [9.124.213.130] (unknown [9.124.213.130]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 10 Dec 2024 11:22:36 +0000 (GMT) Message-ID: Date: Tue, 10 Dec 2024 16:52:35 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/2] powerpc: Enable lazy preemption To: mpe@ellerman.id.au, maddy@linux.ibm.com Cc: npiggin@gmail.com, christophe.leroy@csgroup.eu, bigeasy@linutronix.de, ankur.a.arora@oracle.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <20241116192306.88217-1-sshegde@linux.ibm.com> From: Shrikanth Hegde Content-Language: en-US In-Reply-To: <20241116192306.88217-1-sshegde@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: qFGp4cZyfHY4VQHUpvHeX1Slqnl1i7tr X-Proofpoint-ORIG-GUID: DSoq0-uXG7HHhbhJkC-seEbLOJPTlu71 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-15_01,2024-10-11_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 spamscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 impostorscore=0 bulkscore=0 mlxscore=0 malwarescore=0 mlxlogscore=604 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412100082 On 11/17/24 00:53, Shrikanth Hegde wrote: > preempt=lazy has been merged into tip[1]. Lets Enable it for PowerPC. > > This has been very lightly tested and as michael suggested could go > through a test cycle. If needed, patches can be merged. I have kept it > separate for easier bisect. > > Lazy preemption support for kvm on powerpc is still to be done. > > Refs: > [1]: https://lore.kernel.org/lkml/20241007074609.447006177@infradead.org/ > v1: https://lore.kernel.org/all/20241108101853.277808-1-sshegde@linux.ibm.com/ > > Changes since v1: > - Change for vmx copy as suggested by Sebastian. > - Add rwb tags > > Shrikanth Hegde (2): > powerpc: Add preempt lazy support > powerpc: Large user copy aware of full:rt:lazy preemption > > arch/powerpc/Kconfig | 1 + > arch/powerpc/include/asm/thread_info.h | 9 ++++++--- > arch/powerpc/kernel/interrupt.c | 4 ++-- > arch/powerpc/lib/vmx-helper.c | 2 +- > 4 files changed, 10 insertions(+), 6 deletions(-) > Hi mpe, maddy. I see the lazy scheduling related changes are in powerpc tree. If there are no objections, can we please add support for lazy preemption so it goes through a cycle? Let me know your thoughts.