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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3E4EC43219 for ; Mon, 21 Nov 2022 15:59:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231339AbiKUP7V (ORCPT ); Mon, 21 Nov 2022 10:59:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbiKUP7V (ORCPT ); Mon, 21 Nov 2022 10:59:21 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34B62D14FA; Mon, 21 Nov 2022 07:59:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D1DF8B810E5; Mon, 21 Nov 2022 15:59:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A5D0C433D6; Mon, 21 Nov 2022 15:59:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669046357; bh=NiniSOPGKqhdfVPafjU8CKNZvdS31QSh/55JMb9zJes=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=a/XuarW4mNIbqbd7XBC2KEovRFbFI0Cn8HGxor9WCskdjYW9wP+i33fR3L/YbBAdb JBToPIO95id5D7gCvcI1UKdABittIPylI7B5C0y6Hje4bNLMt0kknKdWy+buSze5G9 QliJMfMVSnIQdSgDXwmkUS1hM13R1DgRGSb+XUj/7hFPpXMWf9akqhod1iCCCvar9d wf8EVZWfUEKSZ3v+87b0ziwJPN4WP4ebWZBKxIyPpXNFnImRFbkEQT0yCxzrkgux89 +tVaefxhLXHps+kJrZqFWY9j4ZnjMk7f5mdKV3dvCGelrv9EcVOXYoH0jcZWaIcjDq x5hT8nHQsCNNg== From: Kalle Valo To: Elliot Berman Cc: Bjorn Andersson , Andy Gross , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Amol Maheshwari , Arnd Bergmann , Greg Kroah-Hartman , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , Mathieu Poirier , Murali Nalajala , Trilok Soni , "Srivatsa Vaddagiri" , Carl van Schaik , Prakruthi Deepak Heragu , Rob Herring , "Krzysztof Kozlowski" , Jonathan Corbet , Catalin Marinas , Will Deacon , Jassi Brar , Sudeep Holla , Mark Rutland , "Lorenzo Pieralisi" , , , , , , , Neil Armstrong , , , , Subject: Re: [PATCH v7 18/20] firmware: qcom_scm: Use fixed width src vm bitmap References: <20221121140009.2353512-1-quic_eberman@quicinc.com> <20221121140009.2353512-19-quic_eberman@quicinc.com> Date: Mon, 21 Nov 2022 17:59:07 +0200 In-Reply-To: <20221121140009.2353512-19-quic_eberman@quicinc.com> (Elliot Berman's message of "Mon, 21 Nov 2022 06:00:07 -0800") Message-ID: <874jus9u44.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Elliot Berman writes: > The maximum VMID for assign_mem is 63. Use a u64 to represent this > bitmap instead of architecture-dependent "unsigned int" which varies in > size on 32-bit and 64-bit platforms. > > Signed-off-by: Elliot Berman > --- > > Note this will have build conflicts with > https://lore.kernel.org/all/20221114-narmstrong-sm8550-upstream-mpss_dsm-v2-2-f7c65d6f0e55@linaro.org/ > which would also need an "unsigned int" -> "u64" in struct qcom_mpss_dsm_mem:perms. > > drivers/firmware/qcom_scm.c | 12 +++++++----- > drivers/misc/fastrpc.c | 6 ++++-- > drivers/net/wireless/ath/ath10k/qmi.c | 4 ++-- For ath10k: Acked-by: Kalle Valo -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches