From patchwork Thu Jun 8 19:09:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Cox X-Patchwork-Id: 1792507 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=M5lMAbow; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QcYkQ5zjnz20QH for ; Fri, 9 Jun 2023 05:12:30 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1q7L3W-00019y-KQ; Thu, 08 Jun 2023 19:12:22 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1q7L3V-00019e-G0 for kernel-team@lists.ubuntu.com; Thu, 08 Jun 2023 19:12:21 +0000 Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) (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) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 9E5573F15D for ; Thu, 8 Jun 2023 19:12:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686251540; bh=9twk6hgxN+Ibc+Es46xzrW6XTDNXtyIh8Rn1fQbRwVk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=M5lMAbowpaB1ZJ0f63kss6sdh04+smt2wLHVWAAD2pTfZPiFXRZKjg4xfa0gHdR6I zcRzKuNTgRQs1M/yQ9xl0DGKK8+oKhzBuXbBfc8peobn1TDtx93AQEWRlO6fnR37PS NvQ57aG9QgNNnEbx4s54XpkODBaGgvSLLDAGumxnN9ucqEh8eQPW8CtPmwiNBwIN0V WH14s39VgZuF6WJiowEMli5kNQhrq1zj9OLUUfN2WlpXnPdMyNP/oFJmXaAIVCKWlM cKKwzQvMUhLsDvxyBWg1CbN1/60t9F2nFyjUrKpI3mlb9A2poAS6fHcHzB3AjUhwhq xwPCHKF5uDBOg== Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-62b689d4dc2so13246316d6.0 for ; Thu, 08 Jun 2023 12:12:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686251537; x=1688843537; 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=9twk6hgxN+Ibc+Es46xzrW6XTDNXtyIh8Rn1fQbRwVk=; b=DDWhHq+zEXLeLBewKJAkOcZgzbzTVrh8g1kLyZCMS2NJQ9Q7y8Cg8icqQR2VfSlTxr /LUkSauDHP2g0yIpjGN+zW4eYxApVCMFLqH4cREJFvSnsiJse5lNygMZZnKbQgtVFfCw S8/BjwBclZf41pP/w1XwBRxya1SpS7DgtI1xUh4V5noZNUaZY9aOXD0VDCIj4p923pe+ GKXl5K1PqFQYJQ+Cftq+QCshS/Bja2fj4pPM4qM4vn3nk2HZz62v75QI4nDICxRo8m1u YgqtufF3N2N74UubXiyLiWQV9+hqFBllSoAnq5NE7OC+l8LOAamMz7BLanEB+IZB5Jyx wdTA== X-Gm-Message-State: AC+VfDz215KV9WTWl/5TlJQ5YfWShxlXvFZU9vM/EM8ADe+aLEDwQxQt clCLCqHxaNf9xoy4ifC/csOzWdt4b/qyL3LKZR/U0bk46ehTP4fM211/lWZqlKzuTnCGghHRa6f +8EBbgEzif4XKnrUge0oqDQsQ8EMU4YSW+ysxvLheT70Hg09S7g== X-Received: by 2002:a05:6214:5296:b0:626:1adb:e11a with SMTP id kj22-20020a056214529600b006261adbe11amr2921102qvb.8.1686251537661; Thu, 08 Jun 2023 12:12:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iyEPx4d0OGavSe79pnw0nlhat79vqB1v/uqHyhDIo3OBRK+5lzEA4pjjHLZ9bfROt2mezog== X-Received: by 2002:a05:6214:5296:b0:626:1adb:e11a with SMTP id kj22-20020a056214529600b006261adbe11amr2921086qvb.8.1686251537424; Thu, 08 Jun 2023 12:12:17 -0700 (PDT) Received: from cox.conference ([45.72.211.59]) by smtp.gmail.com with ESMTPSA id w10-20020a0ce10a000000b006261c80d76dsm605517qvk.71.2023.06.08.12.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 12:12:15 -0700 (PDT) From: Philip Cox To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1] [SRU][jammy:intel-iotg/intel-iot-realtime] TSN - Cache HW timestamp Date: Thu, 8 Jun 2023 15:09:40 -0400 Message-Id: <20230608190941.29063-1-philip.cox@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2023325 SRU Justification: [Impact] In the i225/TSN driver the HW timestamp needs to be saved. [Fix] Enable the Rx HW timestamp for the TSN driver. [Test Plan] Intel ahs tested this patch, and passed it along. I am not able to test the TSN networking, but I've tested other networking with this code, and did not see any other networking related regressions. [Where problems could occur] The patch is fairly narrow, as it is only saving a timestamp. And this code only caches a timestamp inside an existing struct, the risk of a regression should be fairly low. When the SAUCE patch eventually makes it into the upstream kernel, we should cherry-pick the upstreamed version. This may cause a problem if other commits make it into the kernel via the SRU process which conflict with the SAUCE patch. But, as the TSN patches likely won't be picked in to the SRU stable kernes, this risk is fairly low as well. ----- mohd faizal abdul rahim (1): UBUNTU: SAUCE: (no-up) igc: Add RX HW timestamp to support XDP zero copy drivers/net/ethernet/intel/igc/igc_main.c | 4 ++++ 1 file changed, 4 insertions(+) Acked-by: Tim Gardner Acked-by: Andrei Gherzan