Message ID | 20230612094340.13865-1-r-gunasekaran@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2478944vqr; Mon, 12 Jun 2023 03:14:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MC8f+y9A+OvZ2DP3MtUmF1rDDFyMfjRDfa0kFGemwYBORWx9XS2kTjUwBxZ3cvom2V0qO X-Received: by 2002:a05:6a21:7888:b0:105:2e9e:b13a with SMTP id bf8-20020a056a21788800b001052e9eb13amr10817253pzc.8.1686564891652; Mon, 12 Jun 2023 03:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686564891; cv=none; d=google.com; s=arc-20160816; b=HQacIg1lvyKw0v0c99WiNQaKQeN7ASokPHWZexOX18DlpfFCxmQCClxPt1pwARLsUA 5diSHtKsnSovRwAVgh79shGp7HhGR3uF+hZEUOZbxXC0DcMhZtRmL1P6sniXiQnOXBAC 1zrvgiMCyd9HmHXu+kW/+lBlj3pj/qsd8TTVSS3hABJrEon6fQl1cdsCEquL6nc5CxKi PWRzlDlNk/+UAWIzZU5MTciRa4Q36NzvQk+gAmkBc358mLgmQGWWit5aYfNkfo5lF4sV B5YsjYhmyKNTPJ3uRTLDIoVddMWausjwWRKp9a9IvEXE4oIb2PztBhHn2tyDqpOVE6PJ 1cLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=+j3kpM6JmiaJeOGR75MNiticsubrVsN46BXBpfEEQeU=; b=c6qXclb/MxssDzRgLlwMvRU+TUhinmKMhUtrOlE4b2YHEVXUmrgYG0amNhKiUuxbDM p0KgMmkx5wZygz3KFlhZAuqoZyrEztt/ZkjHiOc6iXhoiRNFqLv8ywvGwnRAjgENoI8q tp/u61cNywyl41zGstqbOwQEgzSzE8+WoLOuZ3Ms6tnvjNjB/yl1DDFAtidKccNyo6AE 01KquwZlPh020A2w3NCl5ueQElKSroPgVcG+KtA0hH0PJhgbe98SN+VCqBPCTb/i5Cjq heLfaR7MzzfqKENptuR6o9UivjgoeXWB5MnUq5ecWMDx+snfC+SEF7GnQkNV/Jeb8xsH aKxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="ehmMa3L/"; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h130-20020a636c88000000b0052c27a0125bsi6872404pgc.738.2023.06.12.03.14.39; Mon, 12 Jun 2023 03:14:51 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="ehmMa3L/"; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236366AbjFLKDc (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Mon, 12 Jun 2023 06:03:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233879AbjFLKAp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 12 Jun 2023 06:00:45 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A32A65B6 for <linux-kernel@vger.kernel.org>; Mon, 12 Jun 2023 02:44:00 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35C9hhPI020031; Mon, 12 Jun 2023 04:43:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686563023; bh=+j3kpM6JmiaJeOGR75MNiticsubrVsN46BXBpfEEQeU=; h=From:To:CC:Subject:Date; b=ehmMa3L/5/5lwCz+WXH4OQXinWWjlrydKHd1M3/sZO9SFp5bZA0cP12mFxGAKNE4b TpKolgo7dCh2H96t5m6YD1CErCSi6bZ4Obn+DFSl2C94jEixfic4Fa6qDyqrmacw2v SPNbUNuY/qhmJFtkBi/AaIWewXPw9yWqWviuDtVc= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35C9hhG0096034 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 12 Jun 2023 04:43:43 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 12 Jun 2023 04:43:43 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 12 Jun 2023 04:43:43 -0500 Received: from uda0500640.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35C9heal117932; Mon, 12 Jun 2023 04:43:41 -0500 From: Ravi Gunasekaran <r-gunasekaran@ti.com> To: <catalin.marinas@arm.com>, <will@kernel.org> CC: <arnd@arndb.de>, <krzysztof.kozlowski@linaro.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <r-gunasekaran@ti.com> Subject: [PATCH] arm64: defconfig: Enable HSR by default Date: Mon, 12 Jun 2023 15:13:40 +0530 Message-ID: <20230612094340.13865-1-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768491420112770977?= X-GMAIL-MSGID: =?utf-8?q?1768491467316373595?= |
Series |
arm64: defconfig: Enable HSR by default
|
|
Commit Message
Ravi Gunasekaran
June 12, 2023, 9:43 a.m. UTC
Enable HSR feature in kernel build.
Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
Comments
On 6/12/23 3:14 PM, Krzysztof Kozlowski wrote: > On 12/06/2023 11:43, Ravi Gunasekaran wrote: >> Enable HSR feature in kernel build. > > Why? Commit msg should answer to this question. I apologize for incomplete description. I will send out a v2. HSR protocol is implemented by the network stack at /net/hsr/* In order to create HSR interface, HSR module needs to be loaded. > > Best regards, > Krzysztof >
On 12/06/2023 11:49, Ravi Gunasekaran wrote: > > > On 6/12/23 3:14 PM, Krzysztof Kozlowski wrote: >> On 12/06/2023 11:43, Ravi Gunasekaran wrote: >>> Enable HSR feature in kernel build. >> >> Why? Commit msg should answer to this question. > > I apologize for incomplete description. I will send out a v2. > > HSR protocol is implemented by the network stack at /net/hsr/* > In order to create HSR interface, HSR module needs to be loaded. You described what HSR is, but I want to know why do we need it in our development arm64 kernel. You might want to enable anything and explain what is this "anything" but this does not solve any of the concerns. Best regards, Krzysztof
On 6/12/23 3:21 PM, Krzysztof Kozlowski wrote: > On 12/06/2023 11:49, Ravi Gunasekaran wrote: >> >> >> On 6/12/23 3:14 PM, Krzysztof Kozlowski wrote: >>> On 12/06/2023 11:43, Ravi Gunasekaran wrote: >>>> Enable HSR feature in kernel build. >>> >>> Why? Commit msg should answer to this question. >> >> I apologize for incomplete description. I will send out a v2. >> >> HSR protocol is implemented by the network stack at /net/hsr/* >> In order to create HSR interface, HSR module needs to be loaded. > > You described what HSR is, but I want to know why do we need it in our > development arm64 kernel. You might want to enable anything and explain > what is this "anything" but this does not solve any of the concerns. > TI SoCs such as AM64x, AM65x support multiple ethernet ports which can be used to setup HSR (a redundancy protocol) node in the network. So enabling the HSR driver to be built as module. The HSR node can be created using a pair of ethernet ports in the system. > Best regards, > Krzysztof >
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 8d850be05835..c980268eaea4 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -138,6 +138,7 @@ CONFIG_IP_PNP_BOOTP=y CONFIG_IPV6=m CONFIG_NETFILTER=y CONFIG_BRIDGE_NETFILTER=m +CONFIG_HSR=m CONFIG_NF_CONNTRACK=m CONFIG_NF_CONNTRACK_EVENTS=y CONFIG_NETFILTER_XT_MARK=m