Re: [PATCH] edac: thunderx: Fix L2C MCI interrupt disable

2017-04-05 Thread Borislav Petkov
On Wed, Apr 05, 2017 at 12:27:39PM +0200, Jan Glauber wrote:
> Fix a typo that disabled the MCI interrupts using the wrong bitmask.
> 
> Signed-off-by: Jan Glauber 
> ---
>  drivers/edac/thunderx_edac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c
> index 2eae2b2..8844aef 100644
> --- a/drivers/edac/thunderx_edac.c
> +++ b/drivers/edac/thunderx_edac.c
> @@ -2088,7 +2088,7 @@ static void thunderx_l2c_remove(struct pci_dev *pdev)
>   writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_CBC_INT_ENA_W1C);
>   break;
>   case PCI_DEVICE_ID_THUNDER_L2C_MCI:
> - writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
> + writeq(L2C_MCI_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
>   break;
>   }
>  
> -- 

Applied, thanks.

-- 
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.


[PATCH] edac: thunderx: Fix L2C MCI interrupt disable

2017-04-05 Thread Jan Glauber
Fix a typo that disabled the MCI interrupts using the wrong bitmask.

Signed-off-by: Jan Glauber 
---
 drivers/edac/thunderx_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c
index 2eae2b2..8844aef 100644
--- a/drivers/edac/thunderx_edac.c
+++ b/drivers/edac/thunderx_edac.c
@@ -2088,7 +2088,7 @@ static void thunderx_l2c_remove(struct pci_dev *pdev)
writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_CBC_INT_ENA_W1C);
break;
case PCI_DEVICE_ID_THUNDER_L2C_MCI:
-   writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
+   writeq(L2C_MCI_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
break;
}
 
-- 
2.9.0.rc0.21.g322