Re: [PATCH 1/3] amd/amdkfd: add a function to wait no process running in kfd

2024-03-25 Thread Chen, Xiaogang
On 3/25/2024 10:18 AM, Zhigang Luo wrote: Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Signed-off-by: Zhigang Luo Change-Id: I2a98d513c26107ac76ecf20e951c188afbc7ede6 --- drivers/gpu/drm/amd/amdgpu/amdg

RE: [PATCH 2/2] drm/amdgpu/umsch: reinitialize write pointer in hw init

2024-03-25 Thread Xu, Feifei
[AMD Official Use Only - General] Series is Reviewed-by: Feifei Xu -Original Message- From: amd-gfx On Behalf Of Lang Yu Sent: Monday, March 25, 2024 1:37 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Koenig, Christian ; Gopalakrishnan, Veerabadhran (Veera) ; Yu, Lang

RE: [PATCH] drm/amdgpu : Increase the mes log buffer size as per new MES FW version

2024-03-25 Thread Liu, Shaoyun
[AMD Official Use Only - General] It can cause page fault when the log size exceed the page size . -Original Message- From: Kuehling, Felix Sent: Monday, March 25, 2024 2:58 PM To: Liu, Shaoyun ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu : Increase the mes log buf

Re: [PATCH 00/28] Remove PCI_IRQ_LEGACY

2024-03-25 Thread Damien Le Moal
On 3/26/24 02:59, Bjorn Helgaas wrote: > I applied all these to pci/enumeration for v6.10, thanks! > > I added acks and reviewed-by and will update if we receive more, and > adjusted subject lines to add "... instead of PCI_IRQ_LEGACY" and in > some cases to match history of the file. Thanks Bjor

Re: [PATCH 09/28] mfd: intel-lpss-pci: Use PCI_IRQ_INTX

2024-03-25 Thread Bjorn Helgaas
On Mon, Mar 25, 2024 at 09:39:38PM +0200, Andy Shevchenko wrote: > On Mon, Mar 25, 2024 at 04:09:20PM +0900, Damien Le Moal wrote: > > Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY > > macro. > > Not needed anymore. MFD subsystem has a patch moving this to MSI support. > But

RE: [PATCH 1/3] amd/amdkfd: add a function to wait no process running in kfd

2024-03-25 Thread Luo, Zhigang
[AMD Official Use Only - General] Hi Mukul, The purpose of adding this function is to waiting user applications to be kill after calling amdgpu_amdkfd_pre_reset(). If I understand correctly, kfd_locked will be set after calling amdgpu_amdkfd_pre_reset(). So, I added this new function to only ch

Re: [PATCH] drm/amdgpu : Increase the mes log buffer size as per new MES FW version

2024-03-25 Thread Felix Kuehling
On 2024-03-22 12:49, shaoyunl wrote: From MES version 0x54, the log entry increased and require the log buffer size to be increased. The 16k is maximum size agreed What happens when you run the new firmware on an old kernel that only allocates 4KB? Regards,   Felix Signed-off-by: shao

Re: [PATCH 2/3] amd/amdgpu: wait no process running in kfd before resuming device

2024-03-25 Thread Felix Kuehling
On 2024-03-22 15:57, Zhigang Luo wrote: it will cause page fault after device recovered if there is a process running. Signed-off-by: Zhigang Luo Change-Id: Ib1eddb56b69ecd41fe703abd169944154f48b0cd --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH 00/28] Remove PCI_IRQ_LEGACY

2024-03-25 Thread Bjorn Helgaas
On Mon, Mar 25, 2024 at 04:09:11PM +0900, Damien Le Moal wrote: > This patch series removes the use of the depracated PCI_IRQ_LEGACY macro > and replace it with PCI_IRQ_INTX. No functional change. > > Damien Le Moal (28): > PCI: msi: Use PCI_IRQ_INTX > PCI: portdrv: Use PCI_IRQ_INTX > PCI: d

RE: [PATCH 1/3] amd/amdkfd: add a function to wait no process running in kfd

2024-03-25 Thread Joshi, Mukul
[AMD Official Use Only - General] > -Original Message- > From: amd-gfx On Behalf Of > Zhigang Luo > Sent: Monday, March 25, 2024 11:18 AM > To: amd-gfx@lists.freedesktop.org > Cc: Zhang, Hawking ; Saye, Sashank > ; Chan, Hing Pong ; > Yang, Philip ; Lazar, Lijo ; Luo, > Zhigang > Subject

[PATCH 3/3] amd/amdgpu: improve VF recover time

2024-03-25 Thread Zhigang Luo
1. change AMDGPU_VF2PF_UPDATE_MAX_RETRY_LIMIT from 30 to 5. 2. set fatel error detected flag. Change-Id: If1e0357deffa4549d4e83e925c8d764f7f8c9f42 Signed-off-by: Zhigang Luo --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 1 + drivers/gpu/drm/am

[PATCH 2/3] amd/amdgpu: wait no process running in kfd before resuming device

2024-03-25 Thread Zhigang Luo
it will cause page fault after device recovered if there is a process running. Signed-off-by: Zhigang Luo Change-Id: Ib1eddb56b69ecd41fe703abd169944154f48b0cd --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_de

[PATCH 1/3] amd/amdkfd: add a function to wait no process running in kfd

2024-03-25 Thread Zhigang Luo
Signed-off-by: Zhigang Luo Change-Id: I2a98d513c26107ac76ecf20e951c188afbc7ede6 --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 20 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 10 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c| 11 +++ 3 files changed, 40 in

Re: [PATCH] drm/amdgpu: always force full reset for SOC21

2024-03-25 Thread Alex Deucher
On Sun, Mar 24, 2024 at 6:42 AM Friedrich Vock wrote: > > On 24.03.24 01:52, Alex Deucher wrote: > > There are cases where soft reset seems to succeed, but > > does not, so always use mode1/2 for now. > > Does "for now" mean that a proper fix is being worked on/will appear later? > > Immediately f

RE: [PATCH 00/22] DC Patches Mar 25 2024

2024-03-25 Thread Wheeler, Daniel
[Public] Hi all, This week this patchset was tested on the following systems: * Lenovo ThinkBook T13s Gen4 with AMD Ryzen 5 6600U * MSI Gaming X Trio RX 6800 * Gigabyte Gaming OC RX 7900 XTX These systems were tested on the following display/connection types: * eD

RE: [PATCH 10/28] drm: amdgpu: Use PCI_IRQ_INTX

2024-03-25 Thread Deucher, Alexander
[Public] > -Original Message- > From: amd-gfx On Behalf Of > Damien Le Moal > Sent: Monday, March 25, 2024 3:09 AM > To: linux-...@vger.kernel.org; Bjorn Helgaas ; > Manivannan Sadhasivami ; linux- > s...@vger.kernel.org; Martin K . Petersen ; > Jaroslav Kysela ; linux-so...@vger.kernel.o

Re: [PATCH] drm/amdgpu : Increase the mes log buffer size as per new MES FW version

2024-03-25 Thread Sharma, Shashank
[AMD Official Use Only - General] From: amd-gfx on behalf of Liu, Shaoyun Sent: Monday, March 25, 2024 1:58 PM To: amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amdgpu : Increase the mes log buffer size as per new MES FW version [AMD Official Use

Re: [PATCH] drm/amdkfd: return negative error code in svm_ioctl()

2024-03-25 Thread Philip Yang
On 2024-03-25 02:31, Su Hui wrote: svm_ioctl() should return negative error code in default case. Fixes: 42de677f7999 ("drm/amdkfd: register svm range") Signed-off-by: Su Hui Good catch, ioctl should return -errno. I will apply it to drm-next.

Re: [PATCH v9 1/3] drm/buddy: Implement tracking clear page feature

2024-03-25 Thread Paneer Selvam, Arunpravin
Hi Matthew, ping? Thanks, Arun. On 3/19/2024 3:10 AM, Arunpravin Paneer Selvam wrote: - Add tracking clear page feature. - Driver should enable the DRM_BUDDY_CLEARED flag if it successfully clears the blocks in the free path. On the otherhand, DRM buddy marks each block as cleared. - Tra

Re: [PATCH] drm/amdgpu : Increase the mes log buffer size as per new MES FW version

2024-03-25 Thread Liu, Shaoyun
[AMD Official Use Only - General] Ping Get Outlook for iOS From: Liu, Shaoyun Sent: Friday, March 22, 2024 12:49:56 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Shaoyun Subject: [PATCH] drm/amdgpu : Increase the mes log buffer size as pe

Re: [PATCH 07/28] platform: intel_ips: Use PCI_IRQ_INTX

2024-03-25 Thread Hans de Goede
Hi, On 3/25/24 8:09 AM, Damien Le Moal wrote: > Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY > macro. > > Signed-off-by: Damien Le Moal Thanks, patch looks good to me, feel free to merge this through whatever tree is convenient (or let me know if you want me to pick up ju

Re: [PATCH 04/28] sound: intel: Use PCI_IRQ_INTX

2024-03-25 Thread Amadeusz Sławiński
On 3/25/2024 8:09 AM, Damien Le Moal wrote: Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- sound/soc/intel/avs/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/core.c b/sound/soc/intel

Re: [PATCH] drm/amdgpu : Add mes_log_enable to control mes log feature

2024-03-25 Thread Liu, Shaoyun
[AMD Official Use Only - General] Ping Get Outlook for iOS From: Liu, Shaoyun Sent: Friday, March 22, 2024 2:00:21 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Shaoyun Subject: [PATCH] drm/amdgpu : Add mes_log_enable to control mes log f

[PATCH 3/5] drm/amdgpu/pm: Add support for MACO flag checking

2024-03-25 Thread Ma Jun
Add support for MACO flag checking. MACO mode only works if BACO is supported. Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik.c | 4 ++-- drivers

[PATCH 5/5] drm/amdgpu/pm: Check AMDGPU_RUNPM_BAMACO when setting baco state

2024-03-25 Thread Ma Jun
Check AMDGPU_RUNPM_BAMACO intead of amdgpu_runtime_pm when setting baco state. Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 5 ++--- drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c | 2 +- 3 files changed, 4 inse

[PATCH 4/5] drm/amdgpu: Add support for BAMACO mode checking

2024-03-25 Thread Ma Jun
Optimize the code to add support for BAMACO mode checking Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 74 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 +- 3 files changed, 50 insertions(+), 32 dele

[PATCH 2/5] drm/amdgpu/pm: Change the member function name of pp_hwmgr_func

2024-03-25 Thread Ma Jun
Change the member function name of pp_hwmgr_func to keep consistent with the function in pptable_funcs Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c | 4 ++-- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_baco.c| 2 +- drivers/gpu/drm/amd/pm/powerplay/hwmgr/sm

[PATCH 1/5] drm/amdgpu: Add a new runtime mode definition

2024-03-25 Thread Ma Jun
Add a new runtime pm mode AMDGPU_RUNPM_BAMACO and related macro definition Signed-off-by: Ma Jun --- drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h index 621200e082

Re: [PATCH] drm/amdgpu: fix deadlock while reading mqd from debugfs

2024-03-25 Thread Sharma, Shashank
[AMD Official Use Only - General] Hey Alex, Sure, I will pick it up and push it to staging. Regards Shashank From: Alex Deucher Sent: Monday, March 25, 2024 12:23 AM To: Sharma, Shashank Cc: Johannes Weiner ; Christian König ; Deucher, Alexander ; Koenig, Chri

[PATCH] drm/amdkfd: return negative error code in svm_ioctl()

2024-03-25 Thread Su Hui
svm_ioctl() should return negative error code in default case. Fixes: 42de677f7999 ("drm/amdkfd: register svm range") Signed-off-by: Su Hui --- Ps: When I try to compile this file, there is a error : drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:28:10: fatal error: amdgpu_sync.h: No such file or direc

[PATCH] drm/ttm: remove unused paramter

2024-03-25 Thread Jesse Zhang
remove the unsed the paramter in the function ttm_bo_bounce_temp_buffer and ttm_bo_add_move_fence. Signed-off-by: Jesse Zhang --- drivers/gpu/drm/ttm/ttm_bo.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.

[PATCH 28/28] PCI: Remove PCI_IRQ_LEGACY

2024-03-25 Thread Damien Le Moal
Replace the last references to PCI_IRQ_LEGACY with PCI_IRQ_INTX in pci.h header file. With this change, PCI_IRQ_LEGACY is unused and we can remove its definition. Signed-off-by: Damien Le Moal --- include/linux/pci.h | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/incl

[PATCH 27/28] scsi: vmw_pvscsi: Do not use PCI_IRQ_LEGACY

2024-03-25 Thread Damien Le Moal
In pvscsi_probe(), initialize the irq_flag variable using PCI_IRQ_ALL_TYPES to remove the use of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/vmw_pvscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/vmw_pvscsi.c b/driver

[PATCH 26/28] scsi: pmcraid: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/pmcraid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index e8bcc3a88732..9c57efa10732 100644 --- a/dr

[PATCH 25/28] scsi: mpt3sas: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 1b

[PATCH 24/28] scsi: megaraid: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megara

[PATCH 23/28] scsi: ipr: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/ipr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 3819f7c42788..e0326f1e6559 100644 --- a/drivers/scsi/i

[PATCH 22/28] scsi: hpsa: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index af18d20f3079..23b19fa30661 100644 --- a/drivers/scs

[PATCH 21/28] scsi: arcmsr: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/arcmsr/arcmsr_hba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index ad227e6cb10e

[PATCH 20/28] net wireless; realtec: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/net/wireless/realtek/rtw88/pci.c | 2 +- drivers/net/wireless/realtek/rtw89/pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/realt

[PATCH 19/28] net: wireless: ath10k: Use references to INTX instead of LEGACY

2024-03-25 Thread Damien Le Moal
To be consistent with the deprecation of PCI_IRQ_LEGACY and its replacement with PCI_IRQ_INTX, rename macros and functions referencing "legacy irq" to instead use the term "intx irq". Signed-off-by: Damien Le Moal --- drivers/net/wireless/ath/ath10k/ahb.c | 18 +++--- drivers/net/wireles

[PATCH 18/28] net: wangxun: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/net/ethernet/wangxun/libwx/wx_lib.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/wangxun/libwx/wx_lib.c b/drivers/net/ethernet

[PATCH 17/28] net: realtek: r8169: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/net/ethernet/realtek/r8169_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r81

[PATCH 16/28] net: atheros: alx: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/net/ethernet/atheros/alx/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/atheros/alx/main.c b/drivers/net/ethernet/atheros/alx/mai

[PATCH 15/28] net: aquantia atlantic: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. To be consistent with this change, the macros AQ_HW_IRQ_LEGACY and AQ_CFG_FORCE_LEGACY_INT are respectively renamed to AQ_HW_IRQ_INTX and AQ_CFG_FORCE_INTX. Signed-off-by: Damien Le Moal --- drivers/net/ethernet/aquantia/

[PATCH 14/28] net: xgbe: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-pci.c b/drivers/net/ethernet/amd/xgbe/xgbe

[PATCH 13/28] misc: vmci_guest: Use PCI_IRQ_ALL_TYPES

2024-03-25 Thread Damien Le Moal
In vmci_guest_probe_device(), remove the reference to PCI_IRQ_LEGACY by using PCI_IRQ_ALL_TYPES instead of an explicit OR of all IRQ types. Signed-off-by: Damien Le Moal --- drivers/misc/vmw_vmci/vmci_guest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/vmw_

[PATCH 12/28] infiniband: vmw_pvrdma: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c b/drivers/infiniband/hw/

[PATCH 11/28] infiniband: qib: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/infiniband/hw/qib/qib_iba7220.c | 2 +- drivers/infiniband/hw/qib/qib_iba7322.c | 5 ++--- drivers/infiniband/hw/qib/qib_pcie.c| 2 +- 3 files changed, 4 insertions(+), 5 dele

[PATCH 10/28] drm: amdgpu: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ir

[PATCH 09/28] mfd: intel-lpss-pci: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/mfd/intel-lpss-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c index 8c00e0c695c5..9f4782bdbf

[PATCH 08/28] ntb: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c index 48823b53ede3..4

[PATCH 07/28] platform: intel_ips: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/platform/x86/intel_ips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index ba38649cc142

[PATCH 06/28] tty: 8250_pci: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/tty/serial/8250/8250_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 0d35c

[PATCH 05/28] usb: hcd-pci: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/usb/core/hcd-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c index ee3156f49533..a08f3f228e6d 1

[PATCH 04/28] sound: intel: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- sound/soc/intel/avs/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/avs/core.c b/sound/soc/intel/avs/core.c index d7f8940099ce..69818e4b43da 100

[PATCH 03/28] PCI: documentation: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
Change all references to PCI_IRQ_LEGACY to PCI_IRQ_INTX in the PCI documentation to reflect that PCI_IRQ_LEGACY is deprecated. Signed-off-by: Damien Le Moal --- Documentation/PCI/msi-howto.rst| 2 +- Documentation/PCI/pci.rst | 2 +- Documentation/tra

[PATCH 02/28] PCI: portdrv: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
In the PCI Express Port Bus Driver, use the macro PCI_IRQ_INTX instead of the now deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/pci/pcie/portdrv.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/pcie/portdrv.c b/drivers/pci/pci

[PATCH 01/28] PCI: msi: Use PCI_IRQ_INTX

2024-03-25 Thread Damien Le Moal
In pci_alloc_irq_vectors_affinity(), use the macro PCI_IRQ_INTX instead of the now deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/pci/msi/api.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/msi/api.c b/drivers/pci/msi/api.c in

[PATCH 00/28] Remove PCI_IRQ_LEGACY

2024-03-25 Thread Damien Le Moal
This patch series removes the use of the depracated PCI_IRQ_LEGACY macro and replace it with PCI_IRQ_INTX. No functional change. Damien Le Moal (28): PCI: msi: Use PCI_IRQ_INTX PCI: portdrv: Use PCI_IRQ_INTX PCI: documentation: Use PCI_IRQ_INTX sound: intel: Use PCI_IRQ_INTX usb: hcd-pci