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 310F0C433F5 for ; Tue, 21 Dec 2021 09:18:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236229AbhLUJSQ (ORCPT ); Tue, 21 Dec 2021 04:18:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236257AbhLUJSO (ORCPT ); Tue, 21 Dec 2021 04:18:14 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77106C061574 for ; Tue, 21 Dec 2021 01:18:14 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id t26so25539266wrb.4 for ; Tue, 21 Dec 2021 01:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N5iW+pC6M0AC4rvnvC3YKv4mJu1z1Np9Tq93xhecgLQ=; b=wmThj83tixQB1+BvJAJrVB/eEODHqng1WY9c+gR32gqWxx99qGwSpZhMDzo0lxPhgU OTrs/MCv6swvPynzZCl9lJYPdgdoMQYJNBLVtuq/95C8zzcfM1Y/lKidhvKSMQ99y0/+ sFxJM+XSivzlFWd9GtFk4xjXYPawMWvSbhRXwE6XSDGdEczu+YaHWzusyX5HEhQMreWU HESQJlcSbNwvEXmXfLrASRp3HdBFMNn5j/nAVem98SaHx7ZjsVArg+7ubzjci9Gtz9Nf YlLIx4KwOMYkNuhM6FV6PkBI9VsItVQ9iDaEoEGsXlRCh0y7AT2JO77Rp/78S7n3d9Yx PLAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N5iW+pC6M0AC4rvnvC3YKv4mJu1z1Np9Tq93xhecgLQ=; b=D3FbSJfLjwzF+JtZ6BKT+cwYXP5vid3FqhD+aaxQGGr2wjzVndZvwbsJGDWsCcSF/1 hZ9AnkTn4zbtAwa0VU7sOTzShera38THV2FbrG+LMJ+aimLSAB3XnORn9ePSQKSgZ3ka VXBpA8ZmywseAd71Cgio9ayb0SY3lifcwoGojVDw25sYgMFlvEFpx+Stzm+6fS+5bzKU XNK1LPSSQVlHs2CE2QqmAXrYokBOxj2qnpJHrKcTpANm9MjcgTD3kBdjwDQpv8HsLXW/ awRFd2NxCPHUjWQqawTkUY9hEPGL1F2scEIjfTptYYYjZz7oZAdUwZ1beCFU/iKz7POm V1Kg== X-Gm-Message-State: AOAM5316NZQtlmS3zucSYw4RXkBuTlnny2cKTo0XIaUFPjdrAap+oG1/ hm0ym7bdkPQ8V4PeqbKtuJLj30Ujw5vsre6zygNOMw== X-Google-Smtp-Source: ABdhPJzMvJnvVrz3bX+O2cAARxvuaHmFVbxXAqaY95aKoQpjTR9wr3hdKBSBb2JrUTXsC2EDT+BMLl+GmavOkoTedYw= X-Received: by 2002:a5d:56c2:: with SMTP id m2mr1843378wrw.313.1640078292945; Tue, 21 Dec 2021 01:18:12 -0800 (PST) MIME-Version: 1.0 References: <20211129075451.418122-1-anup.patel@wdc.com> <20211129075451.418122-4-anup.patel@wdc.com> In-Reply-To: From: Anup Patel Date: Tue, 21 Dec 2021 14:48:01 +0530 Message-ID: Subject: Re: [PATCH v2 3/4] KVM: selftests: Add EXTRA_CFLAGS in top-level Makefile To: Sean Christopherson Cc: Anup Patel , Paolo Bonzini , Shuah Khan , Atish Patra , Palmer Dabbelt , Paul Walmsley , Albert Ou , Alistair Francis , KVM General , kvm-riscv@lists.infradead.org, linux-riscv , "linux-kernel@vger.kernel.org List" , linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 21, 2021 at 1:15 AM Sean Christopherson wrote: > > On Mon, Nov 29, 2021, Anup Patel wrote: > > We add EXTRA_CFLAGS to the common CFLAGS of top-level Makefile > > Nit, wrap closer to 75 chars. Okay, I will update. > > > which will allow users to pass additional compile-time flags such > > as "-static". > > In case there's any hesitation in applying this (Paolo asked if this was just for > debugging in v1), being able to pass "-static" is helpful for our environment as > our test systems have a funky and minimal configuration (no gcc, and the interpreter > is in a weird location). Running selftests either requires building them with > -static or creating a symbolic link for /lib64/ld-linux-x86-64.so.2. It's generally > easier to just tell people to compile with -static. > > > Signed-off-by: Anup Patel > > --- > > Reviewed-and-tested-by: Sean Christopherson Thanks, I am planning to queue this for 5.17. Currently, I am waiting for some reviews on the PATCH4 (last patch). Regards, Anup