From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.argonsoft.net ([217.14.112.53]:59566 "EHLO smtp.argonsoft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729488AbeG0Ms2 (ORCPT ); Fri, 27 Jul 2018 08:48:28 -0400 From: Roman Fietze To: CC: , Subject: Re: FAILED: patch "[PATCH] can: m_can.c: fix setup of CCCR register: clear CCCR NISO bit" failed to apply to 4.9-stable tree Date: Fri, 27 Jul 2018 13:19:26 +0200 Message-ID: <2039066.6liGY70lrp@rfietze> In-Reply-To: <15326830074441@kroah.com> References: <15326830074441@kroah.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" Sender: stable-owner@vger.kernel.org List-ID: Hello, On Friday, 27 July 2018 11:16:47 CEST gregkh@linuxfoundation.org wrote: > The patch below does not apply to the 4.9-stable tree. > ... > From 393753b217f05474e714aea36c37501546ed1202 Mon Sep 17 00:00:00 2001 Telemotive AG Breitwiesen 73347 Mühlhausen Tel.: +49 7335 18493-45 Mobil: +49 152 56871006 Email: roman.fietze@telemotive.de Firmensitz: Telemotive AG, Breitwiesen, 73347 Mühlhausen Vorstand: Heinz Huber, Stefan Erhart Aufsichtsratsvorsitzender: Anton Schantl Amtsgericht: Ulm, HRB 541321   > From: Roman Fietze > Date: Wed, 11 Jul 2018 15:36:14 +0200 > Subject: [PATCH] can: m_can.c: fix setup of CCCR register: clear CCCR NISO > bit before checking can.ctrlmode > > Inside m_can_chip_config(), when setting up the new value of the CCCR, > the CCCR_NISO bit is not cleared like the others, CCCR_TEST, CCCR_MON, > CCCR_BRSE and CCCR_FDOE, before checking the can.ctrlmode bits for > CAN_CTRLMODE_FD_NON_ISO. > ... This patch cannot be applied to the kernel version 4.9, because the M-CAN driver in this kernel does not support M-CAN controllers with V3.1.x or V3.2.x, only 3.0.x is supported. Support for newer versions than 3.0.x was added in commit b03cfc5bb0e11f88988e5da2805867e468d03ca1, somewhere between v4.11-rc7 and v4.12-rc1. Roman -- Roman Fietze Telemotive AG Büro Mühlhausen Breitwiesen 73347 Mühlhausen Tel.: +49 7335 18493-45