Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1373018lqh; Mon, 6 May 2024 06:04:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVq9pKnaJqKc8x8PrVPtl7EvYZh/RpFrw1I5Po6dKrNbJsWenDR2CtEiy0kWgrbombkqos8588jj9JMeJ6RYIWRzvdRx8fT6pJogVUWxw== X-Google-Smtp-Source: AGHT+IFoVuvi2eoDNT6jcWZCmeK2CNT5VgCdErjapkA0ofIqRk61ZGlq+nJ6crahsS22PcF7cqNl X-Received: by 2002:a05:6808:4290:b0:3c8:302f:1b8 with SMTP id dq16-20020a056808429000b003c8302f01b8mr10441608oib.25.1715000695261; Mon, 06 May 2024 06:04:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715000695; cv=pass; d=google.com; s=arc-20160816; b=TONZHk+UsTwNH1skHO2sqnejflSkFQe1vc6Ig7vFDtdtvxqHfXnzaZyqz/w+OSk/wu zSNQOeTLepm8LC/8KnT2IPzCRVhjzjh081VyDz8MwYoph4Jjo35cVxZol17SrGAG4bys 3PH6s/QaRJxzs7Q+rpjr3VlHYC9lA9OjVnRuBnySRrrftkHU2BxdmokgnIkOgQef3b8x ULyhrGidDLjMFTc7IS68HtIdMCbRF57KI3e6Vg/u/kCehZSm7RnS+GUPRt1VuNvXvmN3 ZYzc3I+Y2k9VA23A8zqeoqKcia3r58Z9L6NgZG0GcC7s0dPJGtrGU2uhlXcWsOMjHr4R 4DNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=gU51aG6mLuluVA72LAyqofaIWPb4hcjV4QWAUnG7Na0=; fh=iQIEIpegfxGHAXzmCmQbfua7u3pb28YTuJpmY/Z0V14=; b=oE8LAXnV+TxvPPMZ3zZOD0k7LqoezqeoPWO5v1cE5JGgGbc0AaqoAD1XwlIUVKfiu2 ZIVoBYlXBNn+1h8C5R45FXuH4sVXm7cVw2aJfBFb8/PZbNobx86dUe8aszI0Yp/1j7l1 fmSdyKB8iM4TjR2RyMEnyLRS9SI2wF+bSsLNbn1//L5BAEC2edTeh3qFq1RZ1dTqiYJh JB+gZRCGSPw+CO0GIQuiuWG3oLtSkYsFZnBWHWFAuJQ9JH4KJ1z712hcjH3UqE1Mde/e DIWdZKYSHR4C8CpiFVm2lSz9MsTUdOVZHEskAAUw1MyTcKszIsR7QlJbvE1H7Tifx9NB LO+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-169861-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o8-20020a056808124800b003c8300f433fsi3285929oiv.42.2024.05.06.06.04.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 06:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169861-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-169861-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169861-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B238F2889EE for ; Mon, 6 May 2024 13:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 095C376410; Mon, 6 May 2024 13:03:16 +0000 (UTC) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 AA8A644C66 for ; Mon, 6 May 2024 13:03:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715000595; cv=none; b=AfzKvA38ExsF/2nfOZsbQK1ruZXRI4qD3c02p4oRWO87V+zbx/bVlNLklxvLCqdI+isrnKX0/7LQOrel9xUg8Kujlcr688V821Ht7iBhwcWfSW9XcQR5mbWjoXPStPUzFOjSE9p2fxPdPA86AOMdzK3mv8QgzAuaVNgSC6JP+ig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715000595; c=relaxed/simple; bh=gwzOxPBdF5rxVG7uYDhrCz5bnRPot0fU5v6oUNhszQo=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=DylRyEzPxUCVqOMuuY+IqMoXEEQR4AzFmT7XsW/Jm9iVW4yFr8MO4ADT3M3CxaQoO8bo6EatLnhvp0BeM8rezsD4DWMQd4054zkaoVPzd5Ga3BLOX9dCRd01b9nTWLExLeagF47FrMLWIziM/BQcKyUyz5aAVSXL25X/mBX80Kc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.48]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VY1hb6RJjztTBc for ; Mon, 6 May 2024 20:59:43 +0800 (CST) Received: from kwepemi500008.china.huawei.com (unknown [7.221.188.139]) by mail.maildlp.com (Postfix) with ESMTPS id D3866180065 for ; Mon, 6 May 2024 21:03:07 +0800 (CST) Received: from huawei.com (10.90.53.73) by kwepemi500008.china.huawei.com (7.221.188.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 6 May 2024 21:03:07 +0800 From: Jinjie Ruan To: , CC: Subject: [PATCH 0/5] genirq/irqdomain: Clean up the irqdomain code Date: Mon, 6 May 2024 21:02:18 +0800 Message-ID: <20240506130223.317265-1-ruanjinjie@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemi500008.china.huawei.com (7.221.188.139) Clean up some irqdomain code to make it more readable. Jinjie Ruan (5): genirq/irqdomain: Clean up for irq_create_fwspec_mapping() genirq/irqdomain: Simplify the checks for irq_default_domain genirq/irqdomain: Clean code for irq_create_direct_mapping() genirq/irqdomain: Simplify the checks for irq_domain_push/pop_irq() genirq/irqdomain: Clean up for irq_domain_xlate_* kernel/irq/irqdomain.c | 168 +++++++++++++++++++++-------------------- 1 file changed, 85 insertions(+), 83 deletions(-) -- 2.34.1