Message ID | 64d892f6d07176bfb4a9b3cdc6552803df2b6624.1665089731.git.sander@svanheule.net |
---|---|
State | Accepted |
Delegated to: | Sander Vanheule |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ikG8QVbb; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=svanheule.net header.i=@svanheule.net header.a=rsa-sha256 header.s=mail1707 header.b=ehmlyGuZ; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mk3k263lwz1yqk for <incoming@patchwork.ozlabs.org>; Fri, 7 Oct 2022 08:00:26 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hBboVRCGs3AYt+eSKwaaD1x4OTI0YgxTWpmPaZFQK3s=; b=ikG8QVbbo+wbnL dArTMVWpNtiDfdOKLuOYO9fv6bR4U9l+1pDaWKOWW81ZIY8m8eAzow0PF6bwUgOj7Mn+iEAqZ/YXy afkS6WHpBcgCV/OS0VqnpCUEFJjiM1z8JiCAii6UftWSmhfTCYm+mzSZNBvJyYrhkFCMjxl1w56RB LZSrJvHeW98cuqDub389NHMvHUjwZMbPQMIYApEqe/BTqHT0ipjWXN6tamEim4CAAMPK2D9Zhh3RP kRk70O5ugcEUk2zkDrpahaU3JW4h3vg21CwEThV+Ae5QIFwQPrUjaXZC0sjT/y18r/ra5JxhCgl5H AGnv3W1O5sNWLFaKULPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogXw1-005B9o-A6; Thu, 06 Oct 2022 20:57:37 +0000 Received: from polaris.svanheule.net ([84.16.241.116]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogXvC-005ApA-Nh for openwrt-devel@lists.openwrt.org; Thu, 06 Oct 2022 20:56:55 +0000 Received: from terra.. (247.72-129-109.adsl-dyn.isp.belgacom.be [109.129.72.247]) (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: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id 5559632CD25; Thu, 6 Oct 2022 22:56:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1665089799; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U5C0HQmoM/chD7m4gBd2N6Xjk1tSu1h5KKNQNdnZdB8=; b=ehmlyGuZjHqKOIiP5mexLT9fElpc0YOAnQ43QQETWGd4qVpCJvN2tqwKaDmxKqseRNViDq Brxwm7mfc0qkXVsJxa+9YwGIB6se0InZJBmYMefNIVFJ0m1FK5hh1qFa0yhtU66nxROhvT GVrWmz7AUjDO+Y1uA04LZ28jvVp5FnDi+YjPV1AfhqbUssl1mvj/1cBSctPebJ1JvyvTpb RqOen/4c4dhZuu06k/iwhsP0et48+Ud0z3FkLi966LsplKcluyr3J3cNnXpYXX8DLds9IN Btw+aIlPooW6dh9JZnyiTtl19JXYFmLpKlJeXCKloSFYek+I1IZrBJidVx0FRQ== From: Sander Vanheule <sander@svanheule.net> To: openwrt-devel@lists.openwrt.org Cc: Sander Vanheule <sander@svanheule.net>, INAGAKI Hiroshi <musashino.open@gmail.com> Subject: [PATCH 2/8] realtek: update SMP-related calls in prom_init() Date: Thu, 6 Oct 2022 22:56:27 +0200 Message-Id: <64d892f6d07176bfb4a9b3cdc6552803df2b6624.1665089731.git.sander@svanheule.net> X-Mailer: git-send-email 2.37.3 In-Reply-To: <cover.1665089731.git.sander@svanheule.net> References: <cover.1665089731.git.sander@svanheule.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221006_135652_818957_A8B0C296 X-CRM114-Status: GOOD ( 10.19 ) X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: INAGAKI Hiroshi <musashino.open@gmail.com> The availabibity of probing CPC depends on CONFIG_MIPS_CPC symbol and it will be checked in arch/mips/include/asm/mips-cpc.h. RTL9310 selects this symbol, so the family check is redudant. Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [84.16.241.116 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
realtek: various target cleanups
|
expand
|
diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c index 1428c01a3302..d04d77e438fc 100644 --- a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c +++ b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c @@ -214,14 +214,10 @@ void __init prom_init(void) pr_info("SoC Type: %s\n", get_system_type()); - /* Early detection of CMP support */ - if(soc_info.family == RTL9310_FAMILY_ID) { - mips_cm_probe(); - mips_cpc_probe(); - } - prom_init_cmdline(); + mips_cpc_probe(); + if (!register_cps_smp_ops()) return;