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 21DD4C05027 for ; Thu, 2 Feb 2023 10:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232702AbjBBKe7 (ORCPT ); Thu, 2 Feb 2023 05:34:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232832AbjBBKeu (ORCPT ); Thu, 2 Feb 2023 05:34:50 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CDB26EDCE for ; Thu, 2 Feb 2023 02:34:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675334042; 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=SpknTtimSl+guOKxaF16NMhAWaSqtArEG/8BewjAniM=; b=FtcbzLjxVvJOkGDqDyXOXzv8zcTFFurVB54v0WqaIDm3C1007IHZ86i739AjhFrDZd6v8s VfAjh73UBibhMHiki4Gq2A1U9K6c30jIQFJLkZ9dgi1z0iJA+59E6t9/rffU2netortYOM uhz4K8wootE7tgp1m5NN/ETfG6zuXRY= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-216-4Qb5DdesM3aDVGhX8vA8fA-1; Thu, 02 Feb 2023 05:34:01 -0500 X-MC-Unique: 4Qb5DdesM3aDVGhX8vA8fA-1 Received: by mail-wr1-f69.google.com with SMTP id q18-20020adff512000000b002bfc49c299dso157899wro.5 for ; Thu, 02 Feb 2023 02:34:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=SpknTtimSl+guOKxaF16NMhAWaSqtArEG/8BewjAniM=; b=sZhkO9TNM/7Y9Y6PvCUdpfx4eJ2Xi9ssR5TlCcIsJ5+MdteuBx+gpjwW1WLDlwgg9B evfDyZVYr8fIajL26/8xxP4chsiaD9cl4CF3Ep+4gSNx28m9bgtI/Mo4AWRM5sBcl4bF /qYqInXGJoZ5+fi4WQQYqSm9rGEjkYWp4otBKwvBGi9pSMyhn8M2qg2JRLxO8XLmFnGF XaVIFqy+wxCXZuVMa4HAVcm1eVibI8QjqQIOLoyUfHhiToMmc3anFkcbFjYhnIIPnS1D oGhNvg6HN1FzPfpUKnULaoLwPZIf4KqmBJwVOAUUlCd2c0WQRunlc9hrBg7X0A/pLrLO YrNw== X-Gm-Message-State: AO0yUKUDquxLm1XPoJU237tyx8DPY+Hx/7ympTmIjRUxctl2z2XGjf3j OiDl8d4nfEyQNr1M/4h0uYS+czGoJre9Ygpv9kFuQPhZMPUF37NUnUgAl+2ThItMs1T4IDfz3Is 28B1JF6flYAyMqcJj1Ds+P838 X-Received: by 2002:a1c:f606:0:b0:3db:3695:11b4 with SMTP id w6-20020a1cf606000000b003db369511b4mr5235165wmc.33.1675334039773; Thu, 02 Feb 2023 02:33:59 -0800 (PST) X-Google-Smtp-Source: AK7set/aRh3S+7oJAh3Alg/NT2t1M9KB8chGYSyRGs8MriRivULozR8wG/So+QjE+3JvxeVKT3C53g== X-Received: by 2002:a1c:f606:0:b0:3db:3695:11b4 with SMTP id w6-20020a1cf606000000b003db369511b4mr5235153wmc.33.1675334039564; Thu, 02 Feb 2023 02:33:59 -0800 (PST) Received: from redhat.com ([2a02:14f:1fc:826d:55d8:70a4:3d30:fc2f]) by smtp.gmail.com with ESMTPSA id l13-20020adff48d000000b002366e3f1497sm19523049wro.6.2023.02.02.02.33.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 02:33:58 -0800 (PST) Date: Thu, 2 Feb 2023 05:33:54 -0500 From: "Michael S. Tsirkin" To: Shunsuke Mie Cc: Jason Wang , Rusty Russell , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 2/7] tools/virtio: enable to build with retpoline Message-ID: <20230202053341-mutt-send-email-mst@kernel.org> References: <20230202090934.549556-1-mie@igel.co.jp> <20230202090934.549556-3-mie@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230202090934.549556-3-mie@igel.co.jp> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 02, 2023 at 06:09:29PM +0900, Shunsuke Mie wrote: > Add build options to bring it close to a linux kernel. It allows for > testing that is close to reality. > > Signed-off-by: Shunsuke Mie This too, pls submit separately. > --- > tools/virtio/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/virtio/Makefile b/tools/virtio/Makefile > index 1b25cc7c64bb..7b7139d97d74 100644 > --- a/tools/virtio/Makefile > +++ b/tools/virtio/Makefile > @@ -4,7 +4,7 @@ test: virtio_test vringh_test > virtio_test: virtio_ring.o virtio_test.o > vringh_test: vringh_test.o vringh.o virtio_ring.o > > -CFLAGS += -g -O2 -Werror -Wno-maybe-uninitialized -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h > +CFLAGS += -g -O2 -Werror -Wno-maybe-uninitialized -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h -mfunction-return=thunk -fcf-protection=none -mindirect-branch-register > CFLAGS += -pthread > LDFLAGS += -pthread > vpath %.c ../../drivers/virtio ../../drivers/vhost > -- > 2.25.1