merged

Bruce

In message: [linux-yocto][v6.6/standard/sdkv6.6/xlnx-soc & 
v6.6/standard/preempt-rt/sdkv6.6/xlnx-soc & v6.12/standard/preempt-rt/xlnx-soc 
& v6.12/standard/xlnx-soc][PATCH 1/1] fpga: mgr: fix FPGA_MGR_CONFIG_DMA_BUF 
bit collision
on 21/11/2025 Wang, Jinfeng (CN) via lists.yoctoproject.org wrote:

> From: Jinfeng Wang <[email protected]>
> 
> FPGA_MGR_CONFIG_DMA_BUF was defined as BIT(5) which conflicts with
> FPGA_MGR_USERKEY_ENCRYPTED_BITSTREAM, causing undefined behavior
> when both flags are used.
> 
> Change FPGA_MGR_CONFIG_DMA_BUF to use BIT(8) to resolve the collision.
> 
> Signed-off-by: Jinfeng Wang <[email protected]>
> ---
>  include/linux/fpga/fpga-mgr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h
> index f884d268c974..20a7cc1ac22e 100644
> --- a/include/linux/fpga/fpga-mgr.h
> +++ b/include/linux/fpga/fpga-mgr.h
> @@ -91,7 +91,7 @@ enum fpga_mgr_states {
>  #define FPGA_MGR_USERKEY_ENCRYPTED_BITSTREAM BIT(5)
>  #define FPGA_MGR_DDR_MEM_AUTH_BITSTREAM              BIT(6)
>  #define FPGA_MGR_SECURE_MEM_AUTH_BITSTREAM   BIT(7)
> -#define FPGA_MGR_CONFIG_DMA_BUF              BIT(5)
> +#define FPGA_MGR_CONFIG_DMA_BUF              BIT(8)
>  
>  /**
>   * struct fpga_image_info - information specific to an FPGA image
> -- 
> 2.48.1
> 

> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16010): 
https://lists.yoctoproject.org/g/linux-yocto/message/16010
Mute This Topic: https://lists.yoctoproject.org/mt/116402507/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to