From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta0.migadu.com (out-183.mta0.migadu.com [91.218.175.183]) (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 4145F16F8F2 for ; Thu, 2 May 2024 17:06:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714669609; cv=none; b=jbALc1AtdmLnavFEFYaakZ+kurzYWQpc0b/qzyuaV77mPVYC2ISrudUVs7haq//QzuGydWehoD0wO/FBlUI9Iiz9a2SVQnNBWEbrZt/MoA1+YY6p/GRkMW7+6Fh7x9NRMNTIMS2LaWJZwC40Jmq/Sul115Rl5U6HwRa4zsZPmUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714669609; c=relaxed/simple; bh=5vN09ewHBnnQezmxdvtnqRp5HAhnR9Tpg1Dv9XHIcdE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tAw9cKsHfja+GUgLuB3z4YmfTPI11kAyVPMgkYan0DqwUBdLR72phBTFFUTPSyvhRc98F3JItFfaBASoQyGJJ6LrlpelftGpqjdsXUxrS8f7Tlgk6NvPxvllEaoyfiCC7uNJDWDzaMDaUKFawDy4PwCozdegZIP/CPjvjx78IgY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=iChru80R; arc=none smtp.client-ip=91.218.175.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="iChru80R" Date: Thu, 2 May 2024 10:06:40 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714669604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y95e8QMni8vICIQiNcuSVR4z7bE6sagf3Re/gvjO1NE=; b=iChru80R4XNRfPJICLXvzw07Nl7QWN2sbnBEgxMbVddeOsFpyLN40UE62rno5pp3ZtwAPE zmWIHkhjLO2P+YlAEd3GgWPcWbmqyf2awAskkEXndZGl6FnPWwGCy7Y/ldAKexfvFnJH79 t8PY3EtqqYO0Z3rEQN8W8TRYR64xAfI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Suzuki K Poulose , Zenghui Yu Subject: Re: [PATCH] KVM: arm64: Convert kvm_mpidr_index() to bitmap_gather() Message-ID: References: <20240502154247.3012042-1-maz@kernel.org> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240502154247.3012042-1-maz@kernel.org> X-Migadu-Flow: FLOW_OUT On Thu, May 02, 2024 at 04:42:47PM +0100, Marc Zyngier wrote: > Linux 6.9 has introduced new bitmap manipulation helpers, with > bitmap_gather() being of special interest, as it does exactly > what kvm_mpidr_index() is already doing. Ooo, that's a handy one! > Make the latter a wrapper around the former. > > Signed-off-by: Marc Zyngier Reviewed-by: Oliver Upton -- Thanks, Oliver From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1D23C4345F for ; Thu, 2 May 2024 17:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A9rqCLWCP0UklrmJPZGq5O6aZKxiTup0Le7u8Co/DWk=; b=s7/gb73EvTIomY jgwIj52LWN5crZGYfGPvvgGNxUZLYBZmeKmIVzC7h4NaiXIToJFfD0TPuMZ6vhBnBO9ThBYm9XFaL dSxM+pR+0y+xsRSfCxZHm9+OstWhm5rg6bX0L4NRERECIxw4epVWoKw4rN8Ev3NccEpWDMs7V2iyq eiQgQwvgu04QieIcLtFZ2CM56WRkUG99HOzGrki2zPHLVKAeXgIRTFHdHKeED/CitihFzgK9usLkE RSXqKVVkSBdMNgIaD/jQUyp7a50IXnXXXfHmODEDxqA9oXdX5F9y31XrXyHcZECz4VS/1yDP1AAmx l6cwVl8702nqTQmczlrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2ZtU-0000000DOR6-1Yr1; Thu, 02 May 2024 17:06:52 +0000 Received: from out-175.mta0.migadu.com ([91.218.175.175]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2ZtR-0000000DOOA-1SQp for linux-arm-kernel@lists.infradead.org; Thu, 02 May 2024 17:06:50 +0000 Date: Thu, 2 May 2024 10:06:40 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1714669604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y95e8QMni8vICIQiNcuSVR4z7bE6sagf3Re/gvjO1NE=; b=iChru80R4XNRfPJICLXvzw07Nl7QWN2sbnBEgxMbVddeOsFpyLN40UE62rno5pp3ZtwAPE zmWIHkhjLO2P+YlAEd3GgWPcWbmqyf2awAskkEXndZGl6FnPWwGCy7Y/ldAKexfvFnJH79 t8PY3EtqqYO0Z3rEQN8W8TRYR64xAfI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Suzuki K Poulose , Zenghui Yu Subject: Re: [PATCH] KVM: arm64: Convert kvm_mpidr_index() to bitmap_gather() Message-ID: References: <20240502154247.3012042-1-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240502154247.3012042-1-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240502_100649_548748_2FEDA5C6 X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 02, 2024 at 04:42:47PM +0100, Marc Zyngier wrote: > Linux 6.9 has introduced new bitmap manipulation helpers, with > bitmap_gather() being of special interest, as it does exactly > what kvm_mpidr_index() is already doing. Ooo, that's a handy one! > Make the latter a wrapper around the former. > > Signed-off-by: Marc Zyngier Reviewed-by: Oliver Upton -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel