Received: by 10.192.165.148 with SMTP id m20csp647877imm; Wed, 2 May 2018 06:39:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpNvCGLJVCD6j/uOcnsadMleZwIDjBoEQ5keKYkeBTJwIJxGsMG9JuNeQAcKBgEHkJaGJSB X-Received: by 2002:a17:902:8343:: with SMTP id z3-v6mr20273631pln.71.1525268348397; Wed, 02 May 2018 06:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525268348; cv=none; d=google.com; s=arc-20160816; b=pbI+1GVlSMAXLUI06nruVHO1OcRj/4TCrtF0D85EtLR3u4P4RkFrnuxlvCy5gkWhYm GDle4+RTE+YYazrWY7Bx3X/3Ow0MUZgko/6pxq7um/eMTEUsI+W7x819PrI3RKff8sss ZWm9fP4ttSDDuLRH5KywPDKEMAF8FlJDsPTzPk1wAr3AiikkN2TLPc14N50T77mXrDz9 Fu43bX5Mtxx73Zs9oGrH/B5ZpvfodBVK8rpgm0N+WHfKIb7SxGIDu5XWLaVDmLbaq7PY FuZ1DYf9eaRfFJs8uvyvP7wb9mv9y15sWAUJPSqKO/xWYL+skh/SF/mvRa7Yikp2EyKB Jlxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=s2kgIhzExLo/tAQfjCdmliF6hXysacZrwaux30D/t7w=; b=NC8c/mXrY0quwDLghdG5JZ9CMCJP3741YmECISNJjMr6uc+WOmwotjKUFJ8MZNkI4H mq4rtLffcf2mRsZfdnGxSKQcVgUbtrRplFO9gi17xsvauz4LTTXdgsf2UtXvbbNE8j3h Q7ObWOVAl/GByLkgaGEXgEZwPMT0VirUjKm+gBxYhaG5S14oTDyYDdHcVmtNphWpACdc YXkj+TOJtRuxL9vguAoHHIiS1f01JHrGQsfaGlE2iyU5KqgxFZWgYot3d3LZMPoHt0Lq KhjOD2NEZT91ZHZFJcwefibpbYbbFfrDE5BGVl19P6QaTt/H/BU1TFoERrkEpy6EHz7b IfHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3-v6si10947955pll.126.2018.05.02.06.38.54; Wed, 02 May 2018 06:39:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751365AbeEBNgq (ORCPT + 99 others); Wed, 2 May 2018 09:36:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44562 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898AbeEBNgp (ORCPT ); Wed, 2 May 2018 09:36:45 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F1A6A883CE; Wed, 2 May 2018 13:36:44 +0000 (UTC) Received: from redhat.com (ovpn-122-32.rdu2.redhat.com [10.10.122.32]) by smtp.corp.redhat.com (Postfix) with SMTP id 8E9A45C57A; Wed, 2 May 2018 13:36:43 +0000 (UTC) Date: Wed, 2 May 2018 16:36:37 +0300 From: "Michael S. Tsirkin" To: Kevin Easton Cc: David Miller , linux-kernel@vger.kernel.org, jasowang@redhat.com, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Subject: Re: [PATCH] vhost: make msg padding explicit Message-ID: <20180502162932-mutt-send-email-mst@kernel.org> References: <1524844881-178524-1-git-send-email-mst@redhat.com> <20180501.112822.1871426720257639849.davem@davemloft.net> <20180501201841-mutt-send-email-mst@kernel.org> <20180501.140551.1944561534446599966.davem@davemloft.net> <20180502062809.GA14485@la.guarana.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180502062809.GA14485@la.guarana.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 02 May 2018 13:36:45 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 02, 2018 at 02:28:09AM -0400, Kevin Easton wrote: > On Tue, May 01, 2018 at 02:05:51PM -0400, David Miller wrote: > > From: "Michael S. Tsirkin" > > Date: Tue, 1 May 2018 20:19:19 +0300 > > > > > On Tue, May 01, 2018 at 11:28:22AM -0400, David Miller wrote: > > >> From: "Michael S. Tsirkin" > > >> Date: Fri, 27 Apr 2018 19:02:05 +0300 > > >> > > >> > There's a 32 bit hole just after type. It's best to > > >> > give it a name, this way compiler is forced to initialize > > >> > it with rest of the structure. > > >> > > > >> > Reported-by: Kevin Easton > > >> > Signed-off-by: Michael S. Tsirkin > > >> > > >> Michael, will you be sending this directly to Linus or would you like > > >> me to apply it to net or net-next? > > >> > > >> Thanks. > > > > > > I'd prefer you to apply it for net and cc stable if possible. > > > > Ok, applied, and added to my -stable submission queue. > > Hold on, this patch changes the layout for i386 (where there is > no padding at all). And it's part of UAPI. > > - Kevin > > > Ouch. True - and in particular the 32 bit ABI on 64 bit kernels doesn't work at all. Hmm. It's relatively new and maybe there aren't any 32 bit users yet. Thoughts? -- MST