Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1122696pxj; Fri, 21 May 2021 07:01:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwzXMlmQ+8SgpO4p9XocjDJLqHqlInNnxMCf9009V6m+kZjP69bgRrpTLFF0Mu1FX/Urxs X-Received: by 2002:a17:906:5495:: with SMTP id r21mr10600780ejo.471.1621605708672; Fri, 21 May 2021 07:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621605708; cv=none; d=google.com; s=arc-20160816; b=w/FacxMhaiHmNjHpvgxL+H+JX7S6eRyStYm94cM87HBd4+C1FrIkp1TTUQMcomjkMZ RcNmPS3Gv9kozc1XJ3/OR8JUNxDuhR6kbD2wgsXBV/NUljeW5Vuzx7Q13Asz/oykWU0B mAIYvK3JJAqQwR5j5KBP5B7rJdbNBxjM+VdAUWquB9/fiOJlPhDonOY1AGQMjOnWQOc4 fVCe61QreADibV/crOwzOd7uMVDV3i4wyVQ6qLHQOXElVEFkF4bCVffB3LgqPZKBIh+k WLnJEg1brc6XSWYUX04/ydE5Z7RIKho+IAmtlSD+TpLZMKTJnhU3UjDvKzkXlL/BRhX3 2H6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=NjZUtJdczOjy5Jk/YfX+sUejZ8aBg91t6cbdQAgaNT8=; b=Umg4U7q59oW71jL0ZW01Hmsb4m4E9a9McUC14GWO+HwNkQkPrV+q8N8kY3ZMsHAZwY jaVi77MNIH+QujJWcuUNHnBpnwDSIj0A8dYRboyJebTrefZFotvQQ2VUguT6rTR4vGnN aS+/MetlwQ6QgPDJUHxiTaAu79eAkWq44rJEZsYjX1er2PAirTezqjhY74e0Jho7iaAy 1SYUDHLRgxOJ6pdvgFgNocNZiCtNmDCzmxAMjitIdx72ubvk1wTzEQ6NkBaiaHKgLSY4 PMcelta/n71i71uYMJ+atlHqtM0Nfi2yfBT8c0tlRU0wkLhrfj538PmEv/KJKATMq7DO wb1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Vu/kWArD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kb22si5598381ejc.522.2021.05.21.07.01.22; Fri, 21 May 2021 07:01:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Vu/kWArD"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235818AbhEUN6h (ORCPT + 99 others); Fri, 21 May 2021 09:58:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235243AbhEUN6f (ORCPT ); Fri, 21 May 2021 09:58:35 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC44DC061574 for ; Fri, 21 May 2021 06:57:11 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so7206635pjv.1 for ; Fri, 21 May 2021 06:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=NjZUtJdczOjy5Jk/YfX+sUejZ8aBg91t6cbdQAgaNT8=; b=Vu/kWArDrPmt8so+bx+BKBHOFW1lbai2ILgILyasgTUyxFxt9NFX6hg3estEAM9ZoX 3URjM+X+VerVBypxh5nWY1bl6KIJyDBLsI7XgLF6Qdd8C8Xp7tgzXrrQ3+rw2WPLeVSS AwvhhZlSvvW36X6QqNr3q3N+P5AqtoWZCb3P16+jCHeCLl+oCseT8jyXS8mLHE3lxRlE eE1WlEGwKFVVoC0jmG7IZspZdYiKbNn5zijyk7+VQtooEIFWqYdbyy79vvLQplM6CjdZ IBK8HZnumxaJKIvlZzgxYSNvBdQQgazlqVOBoN/FnHWUOXBOE+3c6+PgPKAAx+POWvpk 5hVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=NjZUtJdczOjy5Jk/YfX+sUejZ8aBg91t6cbdQAgaNT8=; b=CfbDPU3iVhI22M52oP4ABrmaQ22thXWz0g5o8A0xL34lgedTVamiRvZ0BDnGma9G0u qapSZqVkx3hE99ABzJsDO01XCIPd57SYQEQ6eJpCZnUiNTw6vnnlaj3wIgHblxzsQFgD v8/c4gDw6XIThJqGmG/CkcdYkKjg6neQ/I12rJqQt+WX/xIsuHqzh1gx3c0XuNt0BKjW VVW9TraI1YtszZDwjvzZk+SzcG+2qI7QYZMxt3Cu35/0FpsYFz6gRU4DUMuQFwjuZ/Kc /mCfuOt8rztCajVzpeTycVRUfz7UEUsX/mC0F3KWVg5Eve6pqyv+tIksO0C7WYk51y5b xRGw== X-Gm-Message-State: AOAM533zddDnCaKemfmgFCBn6MQWMg2ivPm7zzeXAwGA6v688GuOskfO BQNATwkU6ucyAzPqOZDpCT6riA== X-Received: by 2002:a17:90a:a78d:: with SMTP id f13mr10719177pjq.161.1621605431267; Fri, 21 May 2021 06:57:11 -0700 (PDT) Received: from [10.70.0.90] ([45.135.186.36]) by smtp.gmail.com with ESMTPSA id s14sm4437432pjp.16.2021.05.21.06.56.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 May 2021 06:57:10 -0700 (PDT) Subject: Re: [PATCH v2 4/7] uacce: Use _BITUL() macro in UAPI headers To: Joe Richey , trivial@kernel.org, Greg Kroah-Hartman Cc: Joe Richey , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Paolo Bonzini , Mark Rutland , Lorenzo Pieralisi , Mauro Carvalho Chehab , Zhangfei Gao , Zhou Wang , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , Sasha Levin , "Chang S. Bae" , Andi Kleen , Peter Xu , Lei Cao , Daniel Lezcano , Ulf Hansson , "Rafael J. Wysocki" , Zaibo Xu , Herbert Xu , Jean-Philippe Brucker , Hans Verkuil , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-accelerators@lists.ozlabs.org References: <20210520104343.317119-1-joerichey94@gmail.com> <20210521085849.37676-1-joerichey94@gmail.com> <20210521085849.37676-5-joerichey94@gmail.com> From: Zhangfei Gao Message-ID: <75945578-ce30-8ce2-fcea-2e080e619af4@linaro.org> Date: Fri, 21 May 2021 21:56:49 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210521085849.37676-5-joerichey94@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/5/21 下午4:58, Joe Richey wrote: > From: Joe Richey > > Replace BIT() in uacce's UPAI header with _BITUL(). BIT() is not defined > in the UAPI headers and its usage may cause userspace build errors. > > Fixes: 015d239ac014 ("uacce: add uacce driver") > Signed-off-by: Joe Richey Thanks Joe Acked-by: Zhangfei Gao > --- > include/uapi/misc/uacce/uacce.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/misc/uacce/uacce.h b/include/uapi/misc/uacce/uacce.h > index cc7185678f47..e0b4c8a2d29c 100644 > --- a/include/uapi/misc/uacce/uacce.h > +++ b/include/uapi/misc/uacce/uacce.h > @@ -2,6 +2,7 @@ > #ifndef _UAPIUUACCE_H > #define _UAPIUUACCE_H > > +#include > #include > #include > > @@ -23,7 +24,7 @@ > * Support PASID > * Support device page faults (PCI PRI or SMMU Stall) > */ > -#define UACCE_DEV_SVA BIT(0) > +#define UACCE_DEV_SVA _BITUL(0) > > /** > * enum uacce_qfrt: queue file region type