From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D68BC54E94 for ; Wed, 25 Jan 2023 19:51:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235552AbjAYTvK (ORCPT ); Wed, 25 Jan 2023 14:51:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235339AbjAYTvI (ORCPT ); Wed, 25 Jan 2023 14:51:08 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 012CF45236 for ; Wed, 25 Jan 2023 11:51:06 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id ss4so50472891ejb.11 for ; Wed, 25 Jan 2023 11:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zCu9ReBp8rsUO7BPnJkennx1RK9hssnXuHiiktJzKeY=; b=t0nV3aR/PpIjUcTvkuLzezyONXZoGiYlCSyzddvcFBdl1eRAIwg6doXK+FpyXwM7ps q/FAjrEdff4IjIwjZfezT1VIyxIH/vTDHxvDT10L+c5Y0DNAlq8L3rKQ17ot0EGAeHWC LuHJkj26o0qYMm85yao9HuvfDsMBOdX1ESIaZ0I8iJtk+NNHzR6qZWU3lvMgJ3kAmXa6 gneikFnIHIiiuFBeZRRPxQxmDRGLYecZjkMQ89NMK1G3f6VsyMGegGhbVE3vmL1I2uUW 1tA7AaJI0EEBkdOpLVkkz+G8JHnWDuSq9qoDGCxs6K+mt0hTzwv+/SXK/Bj+yVLSHrvP T6gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zCu9ReBp8rsUO7BPnJkennx1RK9hssnXuHiiktJzKeY=; b=3EI496f/dAVaYM3JZFpBnmDAc0E958I+xhnRbITKreTJi1YSy9o5297WUN2vTEWrFI IE6UzFbWLGgv+dgi4SO+9APc6xhHH+P2d62xFcZFyQ4Sbv+W+KuplqsDjGfPGBTCae19 5vZQVoFonwLA5psefi2qEIDyoTRL7ffrZBcQAyWj2FjAHYdDUaaMJe4g68MY5X4X7gPj riPRpRYqXAqpl0s6CisKEGrerTiASCOpZo6M4TCfw4/puBRuy6PK6+hmadWT/RdhFqXb IeJlarMUuDDwyRIsyVR6Sd3J51KlIG+4qKPFe9a4BPqYqMYZp42RzhpmtFOuNduH6+6q 6M1w== X-Gm-Message-State: AFqh2kopEjFgs9y46FmnNYSWSalUE6P/6PtLHtbXjpx5lRmSDqrnherc WXyryOtEka1a+rhjPS6DEOA/9g== X-Google-Smtp-Source: AMrXdXv15kHa1dGmlL79wyog14d50xdg7+O1i+O7wOxn7Vzp9LxrmOLhHmtM/BEYVKhhwJFvIsK8Hg== X-Received: by 2002:a17:907:1dcd:b0:877:6288:eff2 with SMTP id og13-20020a1709071dcd00b008776288eff2mr28762238ejc.75.1674676264497; Wed, 25 Jan 2023 11:51:04 -0800 (PST) Received: from blmsp.fritz.box ([2001:4091:a247:815f:ef74:e427:628a:752c]) by smtp.gmail.com with ESMTPSA id s15-20020a170906454f00b00872c0bccab2sm2778830ejq.35.2023.01.25.11.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 11:51:04 -0800 (PST) From: Markus Schneider-Pargmann To: Marc Kleine-Budde , Chandrasekar Ramakrishnan , Wolfgang Grandegger Cc: Vincent MAILHOL , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v2 00/18] can: m_can: Optimizations for m_can/tcan part 2 Date: Wed, 25 Jan 2023 20:50:41 +0100 Message-Id: <20230125195059.630377-1-msp@baylibre.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-can@vger.kernel.org Hi Marc and everyone, second version part 2, I fixed the bug I noticed for integrated m_can devices. The accounting was wrong or missing for these. I don't have the integrated hardware myself so any testing is appreciated (I only have the tcan device to test the mcan driver). Also v2 rebases on top of v6.2-rc5. The series implements many small and bigger throughput improvements and adds rx/tx coalescing at the end. Best, Markus Changes in v2: - Rebased on v6.2-rc5 - Fixed missing/broken accounting for non peripheral m_can devices. part 1: v1 - https://lore.kernel.org/lkml/20221116205308.2996556-1-msp@baylibre.com v2 - https://lore.kernel.org/lkml/20221206115728.1056014-1-msp@baylibre.com part 2: v1 - https://lore.kernel.org/lkml/20221221152537.751564-1-msp@baylibre.com Markus Schneider-Pargmann (18): can: tcan4x5x: Remove reserved register 0x814 from writable table can: tcan4x5x: Check size of mram configuration can: m_can: Remove repeated check for is_peripheral can: m_can: Always acknowledge all interrupts can: m_can: Remove double interrupt enable can: m_can: Disable unused interrupts can: m_can: Keep interrupts enabled during peripheral read can: m_can: Write transmit header and data in one transaction can: m_can: Implement receive coalescing can: m_can: Implement transmit coalescing can: m_can: Add rx coalescing ethtool support can: m_can: Add tx coalescing ethtool support can: m_can: Cache tx putidx can: m_can: Use the workqueue as queue can: m_can: Introduce a tx_fifo_in_flight counter can: m_can: Use tx_fifo_in_flight for netif_queue control can: m_can: Implement BQL can: m_can: Implement transmit submission coalescing drivers/net/can/m_can/m_can.c | 514 ++++++++++++++++++------ drivers/net/can/m_can/m_can.h | 36 +- drivers/net/can/m_can/tcan4x5x-core.c | 5 + drivers/net/can/m_can/tcan4x5x-regmap.c | 1 - 4 files changed, 432 insertions(+), 124 deletions(-) -- 2.39.0