Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp272182pxb; Thu, 21 Jan 2021 06:50:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHUWq7/H2OjnqCVWlfOEUdxVjSkhsawNBWmN4OGKQ+wC7nXFUJxSczMBR+ZwWRfonnrr3p X-Received: by 2002:aa7:d649:: with SMTP id v9mr11365189edr.383.1611240654234; Thu, 21 Jan 2021 06:50:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611240654; cv=none; d=google.com; s=arc-20160816; b=F+hKC5T1bkgbERRYco3+L3fl5fqVaBKRW95PvTYvXJ3GDwZYXwYqgZLinHntapqVUn OQt6HstdIRxDHfse62hThRIF2RRPgmI8zvALe/v/kspwnWi1ZmBH+djqr6yPGPZcz3iQ OF5v0EymUZOxOwNBgRoNY1505V3hsTVaTXR2shYwvNDutFiNXuijLtD2xI1cwQO4iHT0 j9fTsIE10Dun0aB28XjjfjsRr2ftoGfvbZdDI0NtHaRP/fAsY1rBimacaoOcVd04qqUi QO1iG/em3xfVyiF/0qGBvSRH3rNpMMQU+xYDWyBq47SIVSvdRvKL2wFjV+7/86M0/jZu 1YsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=KxzX4+H7dWRzocQvrEDfoM7NVNn8RcwKOeZehL2gV0Q=; b=gT5wv9QtdVJnSwKIAa6O26ZNA/HBYGtrffuQKPtkvUkuB7EDltVJ9meoe/fguYa08Z db6T1ci6soa482+rxVsQOcqkybpbKDrAHRA8cytlCVsfKWuvKIsURfyKgoGxO7HsjGVo i6p/1VAgW1rqx90tzEdYFvPKsNO8ijf7IW6LPgDRtnXk7Qo7xzBxEI9zL25VbcU67Sf9 okduXyasdflkK2oVpYPdf0ipxG9kALW9eOv6EDamHCM1759IofC7HqLjVR5//RBuIb+y A82/D7FqadmD1MpbCh1ZZLKBZOQYN8iVr13/YOFsBeXOmSOWpdRxEdgXO7q6yWac24oB jxLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=dI4kQjny; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si727139eds.490.2021.01.21.06.50.06; Thu, 21 Jan 2021 06:50:54 -0800 (PST) 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=@ibm.com header.s=pp1 header.b=dI4kQjny; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730741AbhAUOsr (ORCPT + 99 others); Thu, 21 Jan 2021 09:48:47 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:15222 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731693AbhAUOlL (ORCPT ); Thu, 21 Jan 2021 09:41:11 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 10LEXg4v164576; Thu, 21 Jan 2021 09:40:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pp1; bh=KxzX4+H7dWRzocQvrEDfoM7NVNn8RcwKOeZehL2gV0Q=; b=dI4kQjnydeihkwNXcL8sM8rKA+jMkfyx3mccV75qEYKv2dsOjk6Dlz/bUdaHzQdsilAu uotkJTKvifoChXiu5KdpbQiHCA9PTvWXTo08uTuK7iYXLSwCnszgPD7TDQJBn9YJrEeS ekQ/U5PxX88VhNYKw6FfbD15XUFcBBSw+ne26X6Kx0TSAdxEwTWtPSXLLgH5tjsriSat s9pv7BrC2dm/ZVn28XnYy8ylBeba9fI/VlawBn1shavsrkvmjlwy1DjYfzVLvIP6u6fK abMGf0aUzD4zRqi1WMTpRy+lkaEAWFqYRrkvqgZHo+4OQJ79FMH0puj+EYukh7B5ZzW2 Yw== Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com with ESMTP id 367b66ruwc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Jan 2021 09:40:04 -0500 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 10LEbhcu024394; Thu, 21 Jan 2021 14:39:49 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma06fra.de.ibm.com with ESMTP id 3668p90wft-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Jan 2021 14:39:49 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 10LEdkUR39256332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 Jan 2021 14:39:46 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3CD36AE051; Thu, 21 Jan 2021 14:39:46 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 320D1AE04D; Thu, 21 Jan 2021 14:39:46 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 21 Jan 2021 14:39:46 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id E1FA8E1FBD; Thu, 21 Jan 2021 15:39:45 +0100 (CET) From: Sven Schnelle To: Stephen Rothwell Cc: Linux Next Mailing List , Linux Kernel Mailing List , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Thomas Gleixner , Frederic Weisbecker , Sven Schnelle Subject: [PATCH] s390: allow reschedule on syscall restart Date: Thu, 21 Jan 2021 15:39:26 +0100 Message-Id: <20210121143926.21440-2-svens@linux.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210121143926.21440-1-svens@linux.ibm.com> References: <20210121143926.21440-1-svens@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2021-01-21_06:2021-01-21,2021-01-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=903 lowpriorityscore=0 malwarescore=0 phishscore=0 suspectscore=0 spamscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101210078 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 845f44e8ef28 ("sched: Report local wake up on resched blind zone within idle loop") from next-20210121 causes a warning because s390 doesn't call sched_resched_local_allow() when restarting a syscall. Signed-off-by: Sven Schnelle --- arch/s390/kernel/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/kernel/syscall.c b/arch/s390/kernel/syscall.c index bc8e650e377d..2b39ac40f970 100644 --- a/arch/s390/kernel/syscall.c +++ b/arch/s390/kernel/syscall.c @@ -162,6 +162,7 @@ void noinstr __do_syscall(struct pt_regs *regs, int per_trap) do_syscall(regs); if (!test_pt_regs_flag(regs, PIF_SYSCALL_RESTART)) break; + sched_resched_local_allow(); local_irq_enable(); } exit_to_user_mode(); -- 2.17.1