Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3325956imu; Sun, 11 Nov 2018 12:25:39 -0800 (PST) X-Google-Smtp-Source: AJdET5cTysKD5faNBv5MDC+5nm0L2FlO822ApmQ4wobvFb8kdSFzyqQTjswb3Pds0b8NW37iX5+L X-Received: by 2002:a17:902:9009:: with SMTP id a9-v6mr17471344plp.134.1541967939391; Sun, 11 Nov 2018 12:25:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541967939; cv=none; d=google.com; s=arc-20160816; b=rX0oZVP887Qpk/B5DFxFCGx1FQGh/fak4dpSvnzciiTLh1sXnUSIHkVDxiQ9YsSi2t PyLFpEIQ5z+sMc0Fi0B/JxFfcGurxqZ0E3XwcJNJIV/RJpqkf+HYFdq7tXF5kcYSyaf8 tsfcCu237haxhDy4Qtz0eg50BMtbTJffulkzw0BNN72pBeJt5tiFu5N9mlcS4ZP6Bxt1 WeOs2xqCZqvfju1sbDzFEAEsdW3+2Z95mnlVTQGB6rFyLf+i5AfD+8egEjSBIABKsfBK a+3af6Nh81rvX9BsoNRIeYd/2MYdY7xO59dt53rs9MSvKoclP5BcuAGDEIoYLBPJDJo5 4fSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=4Q1puGk9yOjt58JkqsYfcRhFTHXjG10V4ViF1XNX6eM=; b=Oqh+iV8TYmW9+EEOGNXpegUqbx70BWEFkLXGBxDqisyowJpqc/u2vzcxVg0BQ0scUA B5Cr2cuoFn+wy6wfIUBy2ggYNoCw5RDV7TbYv6ktabpcIzV14xBK+M4I/wQwOLQU9swk j8xLqsb56xCl4xn+zdEG3a6d6EUFj62590JEsgUod7D1D3GtJdqs3TbtId7in84xlqJU lztve9spIriSVgLylzX9QYpyu3Lvoxwlqi3Z1XNZmFDjKC3IEkWscFe1dOXqY3bHIK0g hYnlQToRmFMrwhtR3cWINrA219GXNt82DEh7m4AO+sPyaICmmRBH360U2OF1CPZJ8IHV EL8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e20-v6si13020020pgv.502.2018.11.11.12.25.24; Sun, 11 Nov 2018 12:25:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731285AbeKLGOd (ORCPT + 99 others); Mon, 12 Nov 2018 01:14:33 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50978 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730663AbeKLFs3 (ORCPT ); Mon, 12 Nov 2018 00:48:29 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsn-0000tu-BQ; Sun, 11 Nov 2018 19:58:57 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsX-0001lq-VZ; Sun, 11 Nov 2018 19:58:41 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Anssi Hannula" , "Michal Simek" , "Marc Kleine-Budde" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 285/366] can: xilinx_can: fix RX overflow interrupt not being enabled In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Anssi Hannula commit 83997997252f5d3fc7f04abc24a89600c2b504ab upstream. RX overflow interrupt (RXOFLW) is disabled even though xcan_interrupt() processes it. This means that an RX overflow interrupt will only be processed when another interrupt gets asserted (e.g. for RX/TX). Fix that by enabling the RXOFLW interrupt. Fixes: b1201e44f50b ("can: xilinx CAN controller support") Signed-off-by: Anssi Hannula Cc: Michal Simek Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- drivers/net/can/xilinx_can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/can/xilinx_can.c +++ b/drivers/net/can/xilinx_can.c @@ -103,7 +103,7 @@ enum xcan_reg { #define XCAN_INTR_ALL (XCAN_IXR_TXOK_MASK | XCAN_IXR_BSOFF_MASK |\ XCAN_IXR_WKUP_MASK | XCAN_IXR_SLP_MASK | \ XCAN_IXR_RXNEMP_MASK | XCAN_IXR_ERROR_MASK | \ - XCAN_IXR_ARBLST_MASK) + XCAN_IXR_RXOFLW_MASK | XCAN_IXR_ARBLST_MASK) /* CAN register bit shift - XCAN___SHIFT */ #define XCAN_BTR_SJW_SHIFT 7 /* Synchronous jump width */