Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1616803 > unrolled thread

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

Started byJan Glauber <jglauber@cavium.com>
First post2017-04-05 12:30 +0200
Last post2017-04-05 15:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] edac: thunderx: Fix L2C MCI interrupt disable Jan Glauber <jglauber@cavium.com> - 2017-04-05 12:30 +0200
    Re: [PATCH] edac: thunderx: Fix L2C MCI interrupt disable Borislav Petkov <bp@alien8.de> - 2017-04-05 15:00 +0200

#1616803 — [PATCH] edac: thunderx: Fix L2C MCI interrupt disable

FromJan Glauber <jglauber@cavium.com>
Date2017-04-05 12:30 +0200
Subject[PATCH] edac: thunderx: Fix L2C MCI interrupt disable
Message-ID<tsQmm-1oW-17@gated-at.bofh.it>
Fix a typo that disabled the MCI interrupts using the wrong bitmask.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
---
 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.g7777322

[toc] | [next] | [standalone]


#1616907

FromBorislav Petkov <bp@alien8.de>
Date2017-04-05 15:00 +0200
Message-ID<tsSHv-2II-15@gated-at.bofh.it>
In reply to#1616803
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 <jglauber@cavium.com>
> ---
>  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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web