From patchwork Mon Sep 30 12:33:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13816093 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 02E8B18BBBC for ; Mon, 30 Sep 2024 12:34:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727699658; cv=none; b=cwzRFhaF6acZACwYg7j/hh+tMyVyHlS05juOIk/Vem9+u9ZWy4ND0WBcC9GtVnV3INLqlVbDM8lIAMJjdheBOzIfclR+cEtTcQdNZ2q0L3fCBoLaORVZMl1Zx2Iwn1FW+g6r7Vl1iU9P+ioKudMoZ+n0nsfF215lB6kCE3jDlKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727699658; c=relaxed/simple; bh=y6Yu/b1i8P5MR2s9bFPePt7VXpAuUQKY8kcEweB7Z5g=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=XDFzto1K2CSuR9KgbOUm6mn/sozx9wGz/KVS833Zv3OHK6X15fgEFcUcWE9QSU6rUB7+JIxfDBrAI3kPNFTlr1c2SeHyPxSzzj/8gg8TfT1ISWY71TQ1USll0MRN18bo3aLZuV4dby3D4tYPFGMwSS8q+3HemRWUi1KWdfwVo+c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oVGcVkSz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oVGcVkSz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B452FC4CEC7; Mon, 30 Sep 2024 12:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727699657; bh=y6Yu/b1i8P5MR2s9bFPePt7VXpAuUQKY8kcEweB7Z5g=; h=From:Subject:Date:To:Cc:From; b=oVGcVkSzsbsFzodXo62dQvrktyuvCrI6Y2ywz/FJlsa+0WpvkcHf8UODRQ4pwogse 1r76HP4ZhPRi8riMpJntmI+sUQ3PI1Jc2u8Kl3qLZM0PSWmpMv0ZJQMniEJ6kNww3h ifaKqWQ1/+nEk/S+o1sDF3oBqGOf5v81uVPtbGmwtcOaQOehnwvwtasidFNiYodQxi u01keMnq4JIbujFuHXYfNJfByQzVkFw4bNXJerj6mXlqseP+72hFcqE4H8kHZwj0hT fIv8WuGZpFkAnVQQjsSIwyEYrsAppzzqtFcoX5PklDPBB/lkruFm5fsmNWPxABIKxQ G6qDwaJU5eNVw== From: Lorenzo Bianconi Subject: [PATCH net-next 0/2] net: airoha: Fix PSE memory configuration Date: Mon, 30 Sep 2024 14:33:47 +0200 Message-Id: <20240930-airoha-eth-pse-fix-v1-0-f41f2f35abb9@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKua+mYC/x2MywqAIBAAf0X23IKvS/1KdBBbcy8qGhGI/550n IGZDo0qU4NNdKj0cOOcJqhFgI8uXYR8TgYttZWrNui45uiQ7oilEQZ+MRhplLEkvQ8ww1Jp6n+ 6H2N87jzY3GQAAAA= To: Lorenzo Bianconi , Felix Fietkau , Sean Wang , Mark Lee , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, Simon Horman , upstream@airoha.com X-Mailer: b4 0.14.1 X-Patchwork-Delegate: kuba@kernel.org Align PSE memory configuration to vendor SDK. Increase initial value of PSE reserved memory in airoha_fe_pse_ports_init() by the value used for the second Packet Processor Engine (PPE2). Do not overwrite the default value for the number of PSE reserved pages in airoha_fe_set_pse_oq_rsv(). Post this series to net-next since these are not issues visible to the user. --- Lorenzo Bianconi (2): net: airoha: read default PSE reserved pages value before updating net: airoha: fix PSE memory configuration in airoha_fe_pse_ports_init() drivers/net/ethernet/mediatek/airoha_eth.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) --- base-commit: c824deb1a89755f70156b5cdaf569fca80698719 change-id: 20240923-airoha-eth-pse-fix-f303134e0ccf Best regards,