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 358C1C00528 for ; Wed, 2 Aug 2023 23:56:22 +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=qqXzWugwmrrUX3RuLPFTYxENLQFY0Qst3e1GpuQWf8c=; b=bOq44MjiNE/6gF sMdO89ETLQ12EDJvvKFH9y52TrB1U8nh5f20jv5GIRA7uPEZ8FVDNTPk8ClpTCjraUO+A6fpq0wMF Qdh5KXtCiEDZpU2aXXtD7+wJtZg+OzANGyLDlL2h+WzPPpqC+hNzOIliFPiMNs0XZTXdEOskAKH0g xOUcLl8PuVofTew4rUnMnuQjsw+DR3kDXZNBixm3OGbq4/fTA23lB1HqnylRDm84DAB8OOHvArsZ4 z208md7MZjdAisKuo8WdPzUgsR2To1SNU5MzN89iCOpttqKY712PfuFqudEIz3nGgtASmLjb5uOpO 9tQusZSiNyZ9FIVQFCDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRLh0-006BBJ-2y; Wed, 02 Aug 2023 23:55:50 +0000 Received: from mail-pf1-f175.google.com ([209.85.210.175]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRLgy-006BAe-2G for linux-arm-kernel@lists.infradead.org; Wed, 02 Aug 2023 23:55:50 +0000 Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-686c06b806cso256326b3a.2 for ; Wed, 02 Aug 2023 16:55:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691020547; x=1691625347; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=04WSNLnGL1RlIxiFfe2FPIMTqJKLrjY2eoaxW6L3Pac=; b=KbKJBrnnWmouTi7dvbVrkXSRks3YDBvdwnDEPJFOdo6ImH1+pDnMwnyfJvEQIJmn2t TQWS+OHBfuWAL19XFkfnnbCl2ZPdO4bLt9Giwd5VQkeEUQH/QSc5S/O2gTZNlQW92a62 BWn1x8jw/sJBRLJCyS3OZg+Bom2i+nDnusN4gdAl8sUFM29cHJ5/Xm1PYBQg7pEA+dwz VvX3Dmtl+b05U9RunNP4AUD3ayV0+tVB/ZO2kd+/aywjANT6q2y7c45Bh4CilraywLaP am/GtxX2XVGXhOFQCGk5RT7FqCCTVSgkJ8RQHDZJ7snFxeLuQuoAwghRBOLZWqWvNKM3 f6ig== X-Gm-Message-State: ABy/qLYCpLmN7pHDOkMsQnTgDfY+hjTpmiQRgnlNYREvg33KrsobeGQH 4p1M97O0lBV1T1C9pLWk85c= X-Google-Smtp-Source: APBJJlFWTcGYXexaDucziuAfMKB+btsaoAOoADwW8N+C12urcSjOVDKrGLFWnyOJotiJtqjlQBKG/w== X-Received: by 2002:a05:6a20:7289:b0:13e:da98:966a with SMTP id o9-20020a056a20728900b0013eda98966amr4491297pzk.5.1691020547251; Wed, 02 Aug 2023 16:55:47 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id q16-20020a170902dad000b001adf6b21c77sm12954728plx.107.2023.08.02.16.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 16:55:46 -0700 (PDT) Date: Wed, 2 Aug 2023 23:55:40 +0000 From: Wei Liu To: Nuno Das Neves Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, mikelley@microsoft.com, kys@microsoft.com, wei.liu@kernel.org, haiyangz@microsoft.com, decui@microsoft.com, ssengar@linux.microsoft.com, mukeshrathor@microsoft.com, stanislav.kinsburskiy@gmail.com, jinankjain@linux.microsoft.com, apais@linux.microsoft.com, Tianyu.Lan@microsoft.com, vkuznets@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, will@kernel.org, catalin.marinas@arm.com Subject: Re: [PATCH 05/15] hyperv: Move hv_connection_id to hyperv-tlfs Message-ID: References: <1690487690-2428-1-git-send-email-nunodasneves@linux.microsoft.com> <1690487690-2428-6-git-send-email-nunodasneves@linux.microsoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1690487690-2428-6-git-send-email-nunodasneves@linux.microsoft.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230802_165548_739253_36523695 X-CRM114-Status: GOOD ( 18.57 ) 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, Jul 27, 2023 at 12:54:40PM -0700, Nuno Das Neves wrote: > This structure should be in hyperv-tlfs.h anyway, since it is part of > the TLFS document. Missing blank line here. > The definition conflicts with one added in hvgdk.h as part of the mshv > driver so must be moved to hyperv-tlfs.h. > > Signed-off-by: Nuno Das Neves > --- > include/asm-generic/hyperv-tlfs.h | 9 +++++++++ > include/linux/hyperv.h | 9 --------- > 2 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/include/asm-generic/hyperv-tlfs.h b/include/asm-generic/hyperv-tlfs.h > index 373f26efa18a..8fc5e5a9d7cb 100644 > --- a/include/asm-generic/hyperv-tlfs.h > +++ b/include/asm-generic/hyperv-tlfs.h > @@ -845,4 +845,13 @@ struct hv_mmio_write_input { > u8 data[HV_HYPERCALL_MMIO_MAX_DATA_LENGTH]; > } __packed; > > +/* Define connection identifier type. */ > +union hv_connection_id { > + u32 asu32; > + struct { > + u32 id:24; > + u32 reserved:8; > + } u; > +}; > + Missing __packed here, but since this is already aligned it probably doesn't matter much. > #endif > diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h > index bfbc37ce223b..f90de5abcd50 100644 > --- a/include/linux/hyperv.h > +++ b/include/linux/hyperv.h > @@ -748,15 +748,6 @@ struct vmbus_close_msg { > struct vmbus_channel_close_channel msg; > }; > > -/* Define connection identifier type. */ > -union hv_connection_id { > - u32 asu32; > - struct { > - u32 id:24; > - u32 reserved:8; > - } u; > -}; > - > enum vmbus_device_type { > HV_IDE = 0, > HV_SCSI, > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel