Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp490444ybh; Tue, 10 Mar 2020 02:39:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvVo2ieLRSgRzlVVEF1Ep1iir8+zRwDnj3YA/mCYukuUTaRkFCs9F/VX3502UX1E5rp8jum X-Received: by 2002:a9d:69d7:: with SMTP id v23mr16365475oto.40.1583833172381; Tue, 10 Mar 2020 02:39:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583833172; cv=none; d=google.com; s=arc-20160816; b=EVBwFPrmFdW5N5ri6twjNx+oy8n12QaD9hcYlg+uwZ7iyvEYBDo3N1XcIWeTkdEInk 5tDUnP+yC563jxIRMmTt7f/92yDQHDvMHQCXrsU3TdYFTxgf8CuYZy8oIS2iodsNgRKp CYtmnPl37phNiJOZ8GZFMaQCHnzloFFlUJX/1BzA1thzg4waajZJHkP3APeB1wtr7rnp BeGmmWbAEoooZzg5dEUGttjYPCB5TH+nOiXT0+dey5Iu8/8sZUWUAjEzkYoINcXuJ34w sqO8yRYUqEi8DvGUcvPFi2DWSVoJH4HJRBG42pE9rbxLxE8bYvvznjEzfGGq7pkpIw5F kKcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=djj8kp8xdOzFNT4JmJBCQXcfEOz9XhpSco/0V12x3AU=; b=Wv5XPrJvKg0AveyeNI8OPRKw206k6NlJLhbev3gmNd0KfyiC1HcHzTunmf6EtsCK7p KJ1xwgdC14JuLliVk+h7vAKuKUk+ywIDKRi6ytZfbnRNGM/CLulPMgoCKk66hkbV5Itl Pnn7SwYRgvG2uBwDsfFlvz9DnpJKllaejUu0xPKcs/XJxzEJLVv1iKLlICyOF+JdkbMN r6qt6SbTtNNVxUFZGc2iCY/2ynwQVlupQl7CLAaOIcy4CSIHQlYfhsv2UFXXObNP51xK QBL6MMEiHJvOJOznzaqNaH6KvlfepBJfpzRLHjW0zy8WgtthOntxqzeZLmCsug5tiIXc vjdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si5486083oib.154.2020.03.10.02.39.19; Tue, 10 Mar 2020 02:39:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726269AbgCJJjA (ORCPT + 99 others); Tue, 10 Mar 2020 05:39:00 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:20262 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726205AbgCJJjA (ORCPT ); Tue, 10 Mar 2020 05:39:00 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02A9beIi073076 for ; Tue, 10 Mar 2020 05:39:00 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ynraxeh5a-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 10 Mar 2020 05:38:59 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 10 Mar 2020 09:38:57 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 10 Mar 2020 09:38:56 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02A9cs5f50200740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Mar 2020 09:38:54 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BE86C4C040; Tue, 10 Mar 2020 09:38:54 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7FC094C044; Tue, 10 Mar 2020 09:38:54 +0000 (GMT) Received: from osiris (unknown [9.152.212.73]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 10 Mar 2020 09:38:54 +0000 (GMT) Date: Tue, 10 Mar 2020 10:38:47 +0100 From: Heiko Carstens To: afzal mohammed Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Vasily Gorbik , Christian Borntraeger , Sebastian Ott , Peter Oberparleiter Subject: Re: [PATCH v3] s390: replace setup_irq() by request_irq() References: <20200304005049.5291-1-afzal.mohd.ma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200304005049.5291-1-afzal.mohd.ma@gmail.com> X-TM-AS-GCONF: 00 x-cbid: 20031009-4275-0000-0000-000003AA24AD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20031009-4276-0000-0000-000038BF3D5F Message-Id: <20200310093847.GD3951@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-03-10_04:2020-03-09,2020-03-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=734 lowpriorityscore=0 bulkscore=0 mlxscore=0 phishscore=0 impostorscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003100065 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 04, 2020 at 06:20:48AM +0530, afzal mohammed wrote: > request_irq() is preferred over setup_irq(). Invocations of setup_irq() > occur after memory allocators are ready. > > Per tglx[1], setup_irq() existed in olden days when allocators were not > ready by the time early interrupts were initialized. > > Hence replace setup_irq() by request_irq(). > > [1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos > > Signed-off-by: afzal mohammed > --- > Hi s390 maintainers, > > if okay w/ this change, please consider taking it thr' your tree, else please > let me know. > > Regards > afzal Applied. However I changed the pr_err invocations to panic, since it doesn't make sense to continue if interrupt registration fails that early.