Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1191496ybh; Sat, 14 Mar 2020 20:34:40 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsa44zaol5K1gzztngXSg7jvqgqPoLor+dSMODXPvDGd8s19SibxUSBBFrc/SVuyvhCu1O1 X-Received: by 2002:a9d:4f18:: with SMTP id d24mr2975058otl.295.1584243280608; Sat, 14 Mar 2020 20:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584243280; cv=none; d=google.com; s=arc-20160816; b=lEx/M84ZSfGoGBtJDMZxI0hsfijAM/BvJPiaWfr3uGz2zjQOgnm4O2u0iw1kktgIuB W7ZjJoYLv/h/bTaHJD3l8iIzUw4YIaLoa+UF1tBWTIrYuxPxNrxo8b9Yuy2MhqN1I1zS c5JkVYpDMCTzuamiUbDJm7JZMRp12wQ/CcGnYZc/p0aS8BfTRFLankiyZn+49Cubcm+S EhB1HZXz4h2YZxfLL0Mx9U2T0Edg1kOeBjMpd/hHSK7CH4eOD2jKICzDjSDzBv0iVb7u RNNF02gxuxxXtyQbCRq+1PiMl0+pxamAT8+pks6wU05GT/d/DPIW/HuGLY5I47wiz/+D Mayw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xbsrrOUuOCaew5V0EWs0+B+Jp0347VeucEvJJNOWq4g=; b=OzuYpqJNEGvoCFZ/N79hNDxG++FDcg7+MZkjrw/24rnzSARoPXSSD3dZi/kovqtDST dZEBmjvXif0DRUWfDGyZXqpNwNJDXFFFprZsCEgUfwVN+A6Dj+2geeOroOAFlt6i2d+P f2uZcKEvxty4M+KTeley6rGXj26LlCJC1quC+HQFikHXGgqzh/vE1bbUNFLeZoHjrDDg IfpyTrqTOsdm52Qw6YgJoSpiJ6IVbDevhsFQSpwc/qPio0l56dQvlnGhaqzxLj+NEXkR GDOJwz3lIsxTujGW9r4glKmG1C831CeFe4j2+uuWgkFqZIs7ZgHXx0LAykvxDZSdeFqW yzAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Kie63I7d; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m13si7071152otk.113.2020.03.14.20.34.22; Sat, 14 Mar 2020 20:34:40 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Kie63I7d; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726842AbgCODcO (ORCPT + 99 others); Sat, 14 Mar 2020 23:32:14 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:39447 "EHLO mail-qv1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726643AbgCODcO (ORCPT ); Sat, 14 Mar 2020 23:32:14 -0400 Received: by mail-qv1-f65.google.com with SMTP id v38so2933623qvf.6; Sat, 14 Mar 2020 20:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xbsrrOUuOCaew5V0EWs0+B+Jp0347VeucEvJJNOWq4g=; b=Kie63I7dqrJ+CeU89vuO7pifO87HKB1RFY03QprPlryaQu20cucHqdDr/NbbN72R8s Kkmvk5CRC3phlToat4QVCDWjgXXwgvzE0UTFdnza6TvBdPjp4i70j/RMi4Zk2W16/TOO RrHX+5KF9kSSPz4vg5YB0DL+DIu1tE4/dgwNbhQVSUjdZSuz5e8nVZtodHQf+ExELFBc xbbWEwa/8b1QyWp2r2NGH8RnsTwH/1dRv/Cybdzfdq0rjeEtin+4/YnwQlmGCzAAP+9v JZIEs4tFktLsEnjHWRMTSvz6uVCekL3ib5cJzYddrnsOG92x0kS5JAFd6t/ep08CfkGD s4+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xbsrrOUuOCaew5V0EWs0+B+Jp0347VeucEvJJNOWq4g=; b=UZ8BdBox6MPgSziGZZqnjoJlRVIn7Hg6irmEkk11I74ZE5jMIuST4f5Xacml3B93xx mdHyHa1za09X2QeYTe/j+BbdyPDErSs1y8DHckFFjHNCgfy3rNhDEOlARhfvsrYpS2B3 lH1j7CtSSQbwYfBYB0ovTTYpU2IfastDURem0hlNnC1uzyz+0Jmwk9YaBmbE4g5egzkH O+skMAHpy2FZFqEjFE5Lm1G7UsfFcbFKj4WGUKTLxpoXFgI2NY+ox2ENJIsVGsebAB0R k4qagwTxx30jstql0GXvaxtnV4+Mx2hCobsnMDvsF/oIBlnz0YCf2Tun96svDkxvf2KM pQ/w== X-Gm-Message-State: ANhLgQ2n+rqUKgR9sfLbUK14QNToBQexcVXKEIg7k4o1b7bx0+lW9Yes 8X+Z+H+2Qa0fEzUIc44NEa7h9cnm4kU= X-Received: by 2002:a17:902:9308:: with SMTP id bc8mr17473083plb.268.1584168950505; Fri, 13 Mar 2020 23:55:50 -0700 (PDT) Received: from localhost ([106.51.232.35]) by smtp.gmail.com with ESMTPSA id y18sm734349pge.73.2020.03.13.23.55.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Mar 2020 23:55:49 -0700 (PDT) Date: Sat, 14 Mar 2020 12:25:48 +0530 From: afzal mohammed To: Thomas Bogendoerfer Cc: Nathan Chancellor , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ralf Baechle , Paul Burton , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, "Maciej W. Rozycki" , Jiaxun Yang , Keguang Zhang , Huacai Chen , John Crispin Subject: Re: [PATCH v4] MIPS: Replace setup_irq() by request_irq() Message-ID: <20200314065548.GB5285@afzalpc> References: <20200304203144.GA4323@alpha.franken.de> <20200305115759.3186-1-afzal.mohd.ma@gmail.com> <20200311053126.GA48442@ubuntu-m2-xlarge-x86> <20200311090308.GA5060@afzalpc> <20200311104217.GA10615@alpha.franken.de> <20200311131210.GA5115@afzalpc> <20200311160307.GA15464@alpha.franken.de> <20200311163249.GA4984@afzalpc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200311163249.GA4984@afzalpc> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Mar 11, 2020 at 10:02:49PM +0530, afzal mohammed wrote: > On Wed, Mar 11, 2020 at 05:03:07PM +0100, Thomas Bogendoerfer wrote: > > in your patch. How can we make sure they are unique enough for the use > > case ? I guess using handler as dev_id does a better job here. > > There was one prior similar usage using string pointers, another way i > have seen is using irq no. itself, Huh, that was a total nonsense statement from me, considering the expectation of a unique dev_id, i don't know what i was thinking at that time, though you mentioned about uniqueness. Regards afzal