lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <016271ae-956e-23c1-8ff1-67fc108023b3@linux.intel.com>
Date:   Tue, 23 Nov 2021 19:11:15 +0800
From:   Lu Baolu <baolu.lu@...ux.intel.com>
To:     Joerg Roedel <joro@...tes.org>
Cc:     baolu.lu@...ux.intel.com, Will Deacon <will@...nel.org>,
        Suravee Suthikulpanit <suravee.suthikulpanit@....com>,
        x86@...nel.org, linux-kernel@...r.kernel.org,
        iommu@...ts.linux-foundation.org, Joerg Roedel <jroedel@...e.de>,
        Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 1/2] iommu/vt-d: Remove unused PASID_DISABLED

On 2021/11/23 18:55, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@...e.de>
> 
> The macro is unused after commit 00ecd5401349a so it can be removed.
> 
> Reported-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Fixes: 00ecd5401349a ("iommu/vt-d: Clean up unused PASID updating functions")

Reviewed-by: Lu Baolu <baolu.lu@...ux.intel.com>

Best regards,
baolu

> Signed-off-by: Joerg Roedel <jroedel@...e.de>
> ---
>   arch/x86/include/asm/fpu/api.h | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/arch/x86/include/asm/fpu/api.h b/arch/x86/include/asm/fpu/api.h
> index 6053674f9132..c2767a6a387e 100644
> --- a/arch/x86/include/asm/fpu/api.h
> +++ b/arch/x86/include/asm/fpu/api.h
> @@ -102,12 +102,6 @@ extern void switch_fpu_return(void);
>    */
>   extern int cpu_has_xfeatures(u64 xfeatures_mask, const char **feature_name);
>   
> -/*
> - * Tasks that are not using SVA have mm->pasid set to zero to note that they
> - * will not have the valid bit set in MSR_IA32_PASID while they are running.
> - */
> -#define PASID_DISABLED	0
> -
>   /* Trap handling */
>   extern int  fpu__exception_code(struct fpu *fpu, int trap_nr);
>   extern void fpu_sync_fpstate(struct fpu *fpu);
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ