From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932664AbcBANH5 (ORCPT ); Mon, 1 Feb 2016 08:07:57 -0500 Received: from down.free-electrons.com ([37.187.137.238]:57817 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932471AbcBANHy (ORCPT ); Mon, 1 Feb 2016 08:07:54 -0500 From: Gregory CLEMENT To: "David S. Miller" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Thomas Petazzoni Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT , linux-arm-kernel@lists.infradead.org, Lior Amsalem , Nadav Haklai , Marcin Wojtas , Russell King - ARM Linux , Willy Tarreau Subject: [PATCH v2 net 0/6] mvneta fixes for SMP Date: Mon, 1 Feb 2016 14:07:41 +0100 Message-Id: <1454332067-16378-1-git-send-email-gregory.clement@free-electrons.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Following this bug report: http://thread.gmane.org/gmane.linux.ports.arm.kernel/468173 and the suggestions from Russell King, I reviewed all the code involving multi-CPU. It ended with this series of patches which should improve the stability of the driver. The first patch fix a real bug, the other fix potential issues in the driver. Thanks, Gregory Changelog: v1 -> v2 Fix spinlock comment. Pointed by David Miller Gregory CLEMENT (6): net: mvneta: Fix for_each_present_cpu usage net: mvneta: Use on_each_cpu when possible net: mvneta: Remove unused code net: mvneta: Modify the queue related fields from each cpu net: mvneta: The mvneta_percpu_elect function should be atomic net: mvneta: Fix race condition during stopping drivers/net/ethernet/marvell/mvneta.c | 162 ++++++++++++++++++---------------- 1 file changed, 84 insertions(+), 78 deletions(-) -- 2.5.0