Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3869031pxb; Tue, 26 Jan 2021 06:52:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQ6wXXVDwjCe+dGMvxI1Y4qXpLUTlo4AKl/26XGDcXWeGeOc2FaSOtQD9T+c6Z3SYZho6S X-Received: by 2002:a05:6402:1013:: with SMTP id c19mr4823670edu.298.1611672729473; Tue, 26 Jan 2021 06:52:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611672729; cv=none; d=google.com; s=arc-20160816; b=XQ95qZm5gVo1UtcrGOCUoPvDbr2dGaP7FK8+FmaJ97yQXhpvGd6/RNHE4ZbJpsYv9T aVtabcoMdFMvgB4HsBRwaajkBGUcEbk845nsPTIVanEY6BXdGr7Jn83YQCFQalJWcFxV ztKrHMHzQ+ckvYUiu8IH9DZKSSOdh1AUMSzyX4GAAdb2jzRig+LY6lt8MOAxTFYCro8M lXAfw1bAKvoasgmfPcLOdFXnPv0KBMXo5C1/YY0Xhv6f0kpckGNl0ON6YuKsGbrDXFms pT0r6ZLPn1UzoSD/Vbyx8KFlXEOXOH/8e32miqvoRWz3K7/M6GCt74AoRTbG/syUQ3gC OLgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=GG7/Jgtg+8SYLOTHa7G339+/UHCbE56tCf2wd7jUbhk=; b=OZajEMOona4IrI8T26pDjpjVh1fl1GQrG46DVmdLrEXQ5cds5z5pPhWb9SvEb68M6b OMArsHg15fYzF1WOzbZegx4T/3SShX5S49C8eghQ5WxY1dWT6moUwhBeonn219Q5PG5v nCk+moIzJugWVIYMD5TPVXqBCoGgtaJ/iJ6CUoelEgjuiv2I4ckkDYxCOcVpV0J6+85M NWt0tbzD/dYM1HuXkSGixZBm4iHhFkRy4JYm5f0rFL8lWBZHqi9kI9Ig3FVvSuFxi369 4zQvATfHwXz0cevc7sTGCj78g5TwKOE9jpz2AWnYthGrQLe9LxY3BzhqmTKztuyGUfFQ qejQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=LCKBK+eX; 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 lh11si7227791ejb.543.2021.01.26.06.51.44; Tue, 26 Jan 2021 06:52:09 -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=LCKBK+eX; 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 S2390334AbhAZOrK (ORCPT + 99 others); Tue, 26 Jan 2021 09:47:10 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:1348 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2391384AbhAZJkK (ORCPT ); Tue, 26 Jan 2021 04:40:10 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 10Q9WVcE181071; Tue, 26 Jan 2021 04:39:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : references : date : in-reply-to : message-id : mime-version : content-type; s=pp1; bh=GG7/Jgtg+8SYLOTHa7G339+/UHCbE56tCf2wd7jUbhk=; b=LCKBK+eXWE2qiiYl2dtU1kYpAC4IovLIk4gAoIq+J6zl+D09zmyIGwxbRWBmWCpaJmok fqEmPDFprfnvPzmXK1Vud2HDT/EMPUL86uhPmb7DpZHoeh4AhwJbHCDZ8b6tLr5QDGOp qKNzaJG/Dcn1dHYvG6Mzu+kiZDs01HDn4kwJ6XO3UPSjx5g5tQBFnuKhoLLYJ74QgjkY BHT18F3iEBsAzlabk0N7PQ2vARPpNF5lpzn/wxVTY1mL2j3S3jXD9KI8JCxVWbFtNrht l5DYKJ/obzRATjljjv0WWjGaMKph3/9Ma+f7QGT5vM1ZoiQb6EUDIrFxjEj+moSDZLVF 6Q== Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 36aftc15wp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Jan 2021 04:39:16 -0500 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 10Q9Ww6G027120; Tue, 26 Jan 2021 09:39:15 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma04fra.de.ibm.com with ESMTP id 369jjsgphx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Jan 2021 09:39:14 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 10Q9d4OT35389938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Jan 2021 09:39:04 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BAAB152054; Tue, 26 Jan 2021 09:39:11 +0000 (GMT) Received: from tuxmaker.linux.ibm.com (unknown [9.152.85.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 6FA5B52052; Tue, 26 Jan 2021 09:39:11 +0000 (GMT) From: Sven Schnelle To: Stephen Rothwell Cc: Christian Borntraeger , Linux Next Mailing List , Linux Kernel Mailing List , Heiko Carstens , Vasily Gorbik , Thomas Gleixner , Frederic Weisbecker , "Paul E. McKenney" Subject: Re: [PATCH] s390: allow reschedule on syscall restart References: <20210121143926.21440-1-svens@linux.ibm.com> <20210121143926.21440-2-svens@linux.ibm.com> Date: Tue, 26 Jan 2021 10:39:11 +0100 In-Reply-To: (Christian Borntraeger's message of "Tue, 26 Jan 2021 07:59:51 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2021-01-26_06:2021-01-25,2021-01-26 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 clxscore=1015 mlxscore=0 spamscore=0 bulkscore=0 malwarescore=0 phishscore=0 priorityscore=1501 suspectscore=0 impostorscore=0 mlxlogscore=881 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101260048 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christian Borntraeger writes: > On 21.01.21 15:39, Sven Schnelle wrote: >> 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(); > > Yesterdays next now fails with > > > arch/s390/kernel/syscall.c: In function '__do_syscall': > arch/s390/kernel/syscall.c:165:3: error: implicit declaration of function 'sched_resched_local_allow' [-Werror=implicit-function-declaration] > 165 | sched_resched_local_allow(); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > make[2]: *** [scripts/Makefile.build:288: arch/s390/kernel/syscall.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [scripts/Makefile.build:530: arch/s390/kernel] Error 2 > make[1]: *** Waiting for unfinished jobs.... Looks to me like 845f44e8ef28 ("sched: Report local wake up on resched blind zone") was removed from linux-next. Stephen, can you remove my commit as well? It is no longer needed. Thanks Sven