Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp415502rdb; Thu, 22 Feb 2024 07:39:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCULBMKXXIXNi7cxXxgIbPagOOUpVOUld9xZeIOUsLBfgnMlRn1WpK42XcTLX/hZkO820Quk5a+4fLrn8oGk2ZxFOxHUGCVuLDW70ccbVQ== X-Google-Smtp-Source: AGHT+IE39Ixl9v3mJWJm4HosWXeDYjjLt7av0msHdmTlWyQeWmRqP4H56X7ay/12VaPQ8F32uWct X-Received: by 2002:aa7:cd7a:0:b0:565:14b5:7e87 with SMTP id ca26-20020aa7cd7a000000b0056514b57e87mr2479376edb.14.1708616361415; Thu, 22 Feb 2024 07:39:21 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w22-20020aa7dcd6000000b005640ff07cd1si5238347edu.309.2024.02.22.07.39.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 07:39:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=dK8fP4oy; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-76788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EAD7A1F266D1 for ; Thu, 22 Feb 2024 15:39:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BE4414E2C9; Thu, 22 Feb 2024 15:39:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="dK8fP4oy" Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2087.outbound.protection.outlook.com [40.107.95.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C5EA135A67; Thu, 22 Feb 2024 15:39:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.95.87 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708616346; cv=fail; b=lPxSPJAh46c4gMAW4dRSRjngFag3wWfPp/OYJTZp0hpaWyOsOhTuRJm4Mzml9NDc2+obYEIYNPN1zloz8qLBUre9U5nRJyZ0WPKoevc3P+czMktImki14z+TrkuDUfGB9pfl9qpMksBpa+/ujuhBLfy7xPvJBAqdNsvsVJQD3Xg= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708616346; c=relaxed/simple; bh=qI4WOQwWTn+7M5bezZhlzLvBL+cT/Ltoieh1NkonlHk=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=kd25vDVcOubwZ5n1QUgATGgQj6ZfoNfthx9v4Hnzt5nJO0NAy2ERyBcfDfwUR8J5NOeATMBDgfptnGP2/hIimoIS6iDhtQJa+JNR8mot9klmpr50ku3mrpOOcd6O6CdaU0Pl6EjMTa+jHk/rrdUdPoKdQL0bpox+c/p5LR+/RHg= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=dK8fP4oy; arc=fail smtp.client-ip=40.107.95.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVEXMyYY3ZcnSH+yt6T7F9t+X8j5iTwNFf8/zTh1F3qJXMi153L+QB46pCsj5vV6eZGk7wzz2YYQ2ZMLmJmwQ780fA/Mh1KVYu6sLhRJd9u8gV/3oLdiiqAZ3Gyh7zMT6AZoeqfTphSelie3uUe8wMbyZZNng6YcHo8QCKhAdgMeeMEcjWk2hWq63bl4PJtSBH6Kn7sE5GW4atgBV9nIV4kB7DaqYaRnOJG7onOWkRT/vnNaMvgdbbdro3xtKDOMoIDLXbtxEG2t6GuD5bPHi+G9eFpiWhYS/V7EcZD3xze7WRhdVCttOnOrZWcaUBBWfNgVu8D1jeFSYCCZD3iCBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=462XqMe00tZB/KAoaobwvlb80Meg/13cV2cDWHRgkxE=; b=ZGhFLD5n4h7XHw9wxQnCzXUoFESGGNnnWeEMt60GYXOXP+NZav0M6oZLQqI/SodevC9fK1TpC24qoLf/D/BY0tMWzrqG/GMdVD0DLPIfoealPb7D+VwFlZIixtefv4/zHjnPV+pFv04gbFpRHylvUrPDiCaru17oRX1Mzux9Dz+epUtDor4hjmNkHDtT7JrT7dbbyQmfok0VtOEJEKu6TuUCnNVSX2PZl36xEw5+AQDEeT7wc3wDIhDyAwa/Nd22Y8R8K21MuwUPwTuKzJz/hlkvBwpvmepF3aT8QNLKEWuPZbNl4RjJmtVKYM8nb6/SBUZfU+5CCJa3F5lVbFHRKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=microchip.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=462XqMe00tZB/KAoaobwvlb80Meg/13cV2cDWHRgkxE=; b=dK8fP4oyAB/6BhcwgC9akOtHuR4mnU1YsVhEu5UBWMvE7b4/ebsXMNhgKUqt+hL/HkoeC9r3cRTo5WTzS/UDN9377Fx+RGPpvFBgx8IaTITUsxin97saHivwUQlILc7nQHNWPAcpP5+Wfog1mIORhAGn7U1kFtBhvJQitiliza4= Received: from BN1PR12CA0003.namprd12.prod.outlook.com (2603:10b6:408:e1::8) by DS7PR12MB5981.namprd12.prod.outlook.com (2603:10b6:8:7c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.24; Thu, 22 Feb 2024 15:38:59 +0000 Received: from BN1PEPF00004684.namprd03.prod.outlook.com (2603:10b6:408:e1:cafe::5b) by BN1PR12CA0003.outlook.office365.com (2603:10b6:408:e1::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.43 via Frontend Transport; Thu, 22 Feb 2024 15:38:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN1PEPF00004684.mail.protection.outlook.com (10.167.243.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7292.25 via Frontend Transport; Thu, 22 Feb 2024 15:38:59 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 22 Feb 2024 09:38:58 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 22 Feb 2024 07:38:58 -0800 Received: from xhdvineethc40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 22 Feb 2024 09:38:54 -0600 From: Vineeth Karumanchi To: , , , , , , , , , , , CC: , , , , Subject: [PATCH net-next v2 0/4] net: macb: WOL enhancements Date: Thu, 22 Feb 2024 21:08:44 +0530 Message-ID: <20240222153848.2374782-1-vineeth.karumanchi@amd.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PEPF00004684:EE_|DS7PR12MB5981:EE_ X-MS-Office365-Filtering-Correlation-Id: ea097517-a497-4ab6-d29e-08dc33bc634b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3hGPNg54zE0vvPDy3oLZ5pvDMWIpwybei+Ntzf385j8msCqpfwtQNhWxH2kZaN2f3gcw2ZIKYeAtV9k5aQp8wVSsIwfWxJZ9U+8LX7j5Fkr5wraUX/z9C4ebcprWgjR/TingJvmhtpRQT7SytDCc7GPH7QiX5rQG00kZdjd/p9ksh/T5Eb3YcBbV7zMUkx00d9JDLzDd5xRF016EbcgGd2+XZYE7EApCWRmlLwO5crcrmyTCFVHtDknoeF9lm3oMYqbN9r+uH6jzUQDG+nESflpUOlvcvAaV2edZHmKHnfXw87ArSqMknDZqoyJ+OdiSzDoSD5QjiHSoZHFYn6wLSyt1QBxUjKMJVJYGQn1zTmZqAVbZSACCEEreZSpvPoCfjUCBUCH5JSKaNARD5czxou0C1Injkx5jYVC4VLFle/NEo3JV+GBVEGC2bwCtESQ64c5wV2unlK1rGjGwiA/40VxBFzFa0AIiSGE/sq8Bd/O//rcZlvEI/Fv8zwQMJPl7B5Oui1OSyJM/rpibeq1jg59odg7oiFdbIxWCHgpBqm/KNh2HyDrMpWErITY5/5uCseCUCCVeuWfbAjcNdPSZegr3daWdRHAWEyf9hWcqynTUs5fXS/m5o3O5k2PL7S4BaMU/5uT+HambIb3ielZtPDLu6xPiCA/eme9IastLDCE= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(230273577357003)(36860700004)(40470700004)(46966006)(921011);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2024 15:38:59.2080 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ea097517-a497-4ab6-d29e-08dc33bc634b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN1PEPF00004684.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5981 - Add provisioning for queue tie-off and queue disable during suspend. - Add WOL caps to support magic-packet and ARP modes. - Depricate magic-packet property. Changes in v2: - Re-implement WOL using CAPS instead of device-tree attribute. - Deprecate device-tree "magic-packet" property. - Sorted CAPS values. - New Bit fields inline with existing implementation. - Optimize code. - Fix sparse warnings. - Addressed minor review comments. v1 link : https://lore.kernel.org/lkml/20240130104845.3995341-1-vineeth.karumanchi@amd.com/#t Vineeth Karumanchi (4): net: macb: queue tie-off or disable during WOL suspend net: macb: Add ARP support to WOL net: macb: Enable queue disable and WOL dt-bindings: net: cdns,macb: Deprecate magic-packet property .../devicetree/bindings/net/cdns,macb.yaml | 1 + drivers/net/ethernet/cadence/macb.h | 9 ++ drivers/net/ethernet/cadence/macb_main.c | 118 +++++++++++++++--- 3 files changed, 109 insertions(+), 19 deletions(-) -- 2.34.1