Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3053958iob; Mon, 16 May 2022 12:03:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWTHNCdtKmpWEd6dNv7Amn7xxxgOvRkpX7yZ+xfQAcuzTT6I67F5J/tLiGf2y6qeTb1i5x X-Received: by 2002:a17:902:e948:b0:15e:cd79:2a1a with SMTP id b8-20020a170902e94800b0015ecd792a1amr18765208pll.109.1652727819678; Mon, 16 May 2022 12:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652727819; cv=none; d=google.com; s=arc-20160816; b=B+rdxBW9GpTngKGh9yQ0wykpb9VAAveJH4rbz8q9AeSmVHha80EHAIaHFR2dxEfn/3 ePdniEFJQlNIXIF4n3AmQ8NYVQ9x7m7WmFz6PK89kfmVMOu3yEKsWslKpdy4aq7j014E InaCBA6SyKTE8F+NeDr1klCJLN9vV814dpXjiWfQd82TguwzawmWmP89zyFSryxENnAo Thqk9wp/745PZyh7BCSzBiKosUWEGV/1RCkh3NMMn1GgbKj0arOouJRANGrkA69FLuNH LeMJzTyisQ5sGv8QRtZVRLq4gRAsxRLMXqXZoA4cYoK7dAd2XcPlcwT0RG/a6oKbm7pC dePg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6VqjsgKxWj7i3wzWzc5+dBk9ClYBHeMxWSXufvc5aA0=; b=QuAHo15Mw/hJ0QU7SrYm3X36af/DRnNwPivKWG4loT3cFPyMGkTCvmM6RXkE4JFTNF ZJN+sVhARJIS6oF4Ce8NhGJXuplB0TmAdDANUcrzohaImdU0cBf8IdfSt/eo24JS0uTL pAYQjVE5ylhUesFJRa6LvgmY0zkAtagPsoykYmGc/HU1Ly12RimNtZT2RgZ8NZSvrt9W ardNCuA6wQCXrUOAhgFRN1LVVvBlzuSVcke252GcqAK4gw8HnjOB53apsdzAUklGGpPD d7oYr1iGybeUBV5ppSIP5E8zUYq/1cmbE8l0c/a7PJqk+enC2BtmqOTAOMxwngmCxJG2 DNjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bitwise.fi Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n32-20020a056a000d6000b0050c1ccb4a01si12052137pfv.285.2022.05.16.12.03.27; Mon, 16 May 2022 12:03:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bitwise.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244105AbiEPN5e (ORCPT + 99 others); Mon, 16 May 2022 09:57:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243592AbiEPNyz (ORCPT ); Mon, 16 May 2022 09:54:55 -0400 Received: from mail.bitwise.fi (mail.bitwise.fi [109.204.228.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A166939164; Mon, 16 May 2022 06:54:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.bitwise.fi (Postfix) with ESMTP id 4FC8E460034; Mon, 16 May 2022 16:48:59 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at Received: from mail.bitwise.fi ([127.0.0.1]) by localhost (mustetatti.dmz.bitwise.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id snCWiBDrwSnN; Mon, 16 May 2022 16:48:56 +0300 (EEST) Received: from localhost.net (fw1.dmz.bitwise.fi [192.168.69.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: anssiha) by mail.bitwise.fi (Postfix) with ESMTPSA id DD208460008; Mon, 16 May 2022 16:48:56 +0300 (EEST) From: Anssi Hannula To: Jimmy Assarsson Cc: linux-can@vger.kernel.org, Marc Kleine-Budde , linux-kernel@vger.kernel.org Subject: [PATCH 00/12] can: kvaser_usb: Various fixes Date: Mon, 16 May 2022 16:47:36 +0300 Message-Id: <20220516134748.3724796-1-anssi.hannula@bitwise.fi> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Here's a set of fixes for issues I found while testing kvaser_usb as we are preparing to start using it in production (with 0bfd:0124). The biggest caveat is that I only have two devices to test with [1] and I don't have HW documentation, so there is a possibility that some of the fixes might not work properly on all HW variants. Hopefully Jimmy can confirm they look OK, or suggest alternatives. [1] Tested devices: - 0bfd:0017 Kvaser Memorator Professional HS/HS FW 2.0.50 - 0bfd:0124 Kvaser Mini PCI Express 2xHS FW 4.18.778 -- Anssi Hannula / Bitwise Oy +358503803997