Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp368062rwe; Thu, 25 Aug 2022 01:35:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR6yp58pf9QG3asJYlmal1y7jqQjz8vgzPp4ovJGR54ZcrDKCgxGOJi2tUpxEva2T7cdrXzK X-Received: by 2002:a17:902:ead5:b0:172:d1b0:9906 with SMTP id p21-20020a170902ead500b00172d1b09906mr2982407pld.66.1661416553349; Thu, 25 Aug 2022 01:35:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661416553; cv=none; d=google.com; s=arc-20160816; b=CgI2uTxh7syT/i4iaCGxkJ2FTxNkgNFBG+A/SIn6H66KaRx+cE/ckWApJ/7Dff8fdG xnIYZTWbSce3ydb5Piag8Uhz2sAIEinF3HGU9lahrbVepOjmRIrD0805vc9hDbe3fWyJ tAdmXcIB7ejEf8/a9I38YsSdSW4mmuAvs7arr8JSK7T9VyLsPpDcRfuyPbRoRl08ZY6+ ovERjyGlVcpTPoWXCXAQAkT7E7zXsxJf4F9/hyJkKUQjDH86M1lubRQninuON0TgvZW+ ro3TD+94p2wIwLfOaV/idXw75JFFH66sS9Xh2YOqG0lQn9aRgTWJ0YhjlHj7MecrZOVW SG5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Pq928BHaI2Lv558Sf2rhLdejDvBSnbTYII4M2EKLKo0=; b=ZPiopDvTaEDltA9TYXfm8lhuz6d3Gqn3x4yKVRNWCIGlAXi/iiMlU+htRXUf/K3Ylb jJTQ1bOK3/JRgZWM+Yg5r62JRNDKLGI+w7SXETQFG2RAIaPbbGllrG0SySoH5AS31Jet dcSlLKGCabO9WgNPekut1E7yivWOhm1GQreJkZV5sXkcyo22AQyp7tXNgLiWSxE5y7ez t9uwr47tDoUyVzbp1t+10p+d2jWrRoERSvoDrNBhIRCT1F88FA81B7KreBiBUjCtXGX8 dJzKEXRbN9wWuC+5W0Iwuahf03qd/z1GieJZ5qnN5Ok8Z4lm6guwC2I+TIQLCego7sVi Q6Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XeJAl7NF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iq21-20020a17090afb5500b001faf3df0d9esi3176192pjb.94.2022.08.25.01.35.42; Thu, 25 Aug 2022 01:35:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XeJAl7NF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236129AbiHYIan (ORCPT + 99 others); Thu, 25 Aug 2022 04:30:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237992AbiHYIae (ORCPT ); Thu, 25 Aug 2022 04:30:34 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB735D0D4 for ; Thu, 25 Aug 2022 01:30:34 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id c20so14637928qtw.8 for ; Thu, 25 Aug 2022 01:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=Pq928BHaI2Lv558Sf2rhLdejDvBSnbTYII4M2EKLKo0=; b=XeJAl7NFFtfm4MqSPj2sYa3Yw9LykJpck1nsRnO5rPBX1mXRaJ4ocjvi97ps1b666o S2YIg/XmigOeCA/5PuzldSnvUvg82BMkQ9+8LvQwPo2/qcipQs69xWSZW4o7fbiUlJVy /ja3+Go2NgoNMZ6xeVvcqLHiBM03LTbFnjUOBQ8Ql4MOjN4weMAbw5lEdXzpCdpDE/r6 W5CgFgyaFKMoiOLJm4g6DDVw4WdhwzyEZzqfqwW5coo5eRQPOZ3h2ymxYCL9KOj1nmX6 W7FCN/3Su8q4tOUPrBbMYmG9jeGX4qGfC8l6R5cIfvDRhAfKuPtEw1pcmqVR7WlDn7/o F4Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=Pq928BHaI2Lv558Sf2rhLdejDvBSnbTYII4M2EKLKo0=; b=keV6630qWT1UaJf9G55Iv/Lg707SE07Ad0nAzuVR5GSbLubsyE0+2in40CS1SzdVGY T2QIrRTGhRc6pjy44KW75Cte8/Xse9cJis0LYBkvKJ0GmMggKztzPaE81bYBzo7sUbew s1d79KD35bo8coch4CY677tJmnNQg+VW8OOZhLjeI7QSQ55OK8t3N9xsn0vv97iztEkX 79X8iSEtLfsWCfi5RCBtwLjUcnBynJ30MMyVEKeHoJjWrdUWTXgp4gE8itcyN8at15Cd SHu+ubBvWmeosKdQUKweqImdtUQctpUa5di3eB8EP6ztCTTsiVYjivJ3LreYbmm1cIyv ZyGA== X-Gm-Message-State: ACgBeo1dkiDlRvwtB+Zpd+26jEk6BGa4vP5sEvGxRVxXtjbuTJkW/bLq 8hmCUDqb5Cu76CNc/D7fg8vTFvzavgXbo06UX4c= X-Received: by 2002:ac8:7f92:0:b0:344:8cd8:59a1 with SMTP id z18-20020ac87f92000000b003448cd859a1mr2720141qtj.384.1661416233078; Thu, 25 Aug 2022 01:30:33 -0700 (PDT) MIME-Version: 1.0 References: <20220825060819.74303-1-liaochang1@huawei.com> <20220825060819.74303-2-liaochang1@huawei.com> In-Reply-To: <20220825060819.74303-2-liaochang1@huawei.com> From: Andy Shevchenko Date: Thu, 25 Aug 2022 11:29:57 +0300 Message-ID: Subject: Re: [PATCH 2/2] irqchip/gic-v3-its: Release the allocated but unmapped bits in LPI maps To: Liao Chang Cc: Thomas Gleixner , Marc Zyngier , Samuel Holland , Bartosz Golaszewski , Michael Kelley , Jianmin Lv , Mark Rutland , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2022 at 9:11 AM Liao Chang wrote: > > If one hwirq allocated in ITS domain followed by some unmapped bits, the > number of unmapped bits will be recorded, so that this hwirq and > following unmapped bits could be released both. ... > + /* > + * In order to free dangling hwirq bits, kernel uses the irq_data the kernel > + * of hwirq which is followed by dangling bits to record dangling > + * number. > + */ -- With Best Regards, Andy Shevchenko