From nobody Tue Dec 16 09:04:48 2025 Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) (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 E9319F510; Tue, 22 Apr 2025 10:23:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.59.177.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317446; cv=none; b=Qn+PO1I8tSCoc6LXTjukJiFsArBXq5A13fMt4IcZKgpyGcf0rvsyr4Q00OpaHCoa00YesYDBo757YEVQOQo362entLTl/or+ssO28ltmvhqQu8H5ySDJKAxaWqcAI5B2UYR4xcz9RCtFoRwLqbMdpGZ1np6Q39/E3xmLxMHfh5s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317446; c=relaxed/simple; bh=QwylYaArHciXtrOfCdsCAGn0Ril2BBTKFUXlFhVuIeU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tRoUwXUHJXzaReHLq0b3sP6aO+hDvOBJzgU19tQLdXkAyuU2rqiM5fxuqBCIaHAUWOfD4TGO05iqXXqfUwuYbqvU3h9NqLxUvjdgPFGoR+tUEdgzD9CfhLfMX98+Ll0N5CamDPLWetKrS+9PC6LJSV+3ofAEccYeOQXBWwxZXxs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=dF6E9pqh; arc=none smtp.client-ip=52.59.177.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="dF6E9pqh" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1745317427; bh=WlmB1lqRNxFbFMYPeJr4njtQ9mNImQJWs4aHfijngHw=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=dF6E9pqhaG9bHpdcJOM0lqVFCn5WstacrdMGBx5UtVbSG0mR3uxySrdxgzcuawbsg G/Jx9/RQyZH33e88TjmdkiLrZexRmDCMB/c0+apfYG7IZlgnkddnPvmHWrmmtH1bkk XJLidj+5g9mvpajBWxa0M400uL/sgC1uWH8LWUMc= X-QQ-mid: zesmtpip4t1745317380te5bc3dce X-QQ-Originating-IP: WcYi1NZqqtZuTN8yyNwmSTGUPHkECqFH8z/doLuEEKY= Received: from localhost.localdomain ( [localhost]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Apr 2025 18:22:58 +0800 (CST) X-QQ-SSF: 0002000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 8748779318587994258 EX-QQ-RecipientCnt: 9 From: WangYuli To: wangyuli@uniontech.com Cc: guanwentao@uniontech.com, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, macro@orcam.me.uk, niecheng1@uniontech.com, tsbogend@alpha.franken.de, zhanjun@uniontech.com, Chen Linxuan Subject: [PATCH v2 1/6] MIPS: dec: Only check -msym32 when need compiler Date: Tue, 22 Apr 2025 18:22:48 +0800 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> References: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: MYha8DeKTomkKz7ip5AbqtPm+f55dSHKOIkcSp5YTMmmWUNKYykEQDSR 009n2svWpFISYgXSwVF12JPOOvgtRHQlN7R5YsRayrYImq6BfLTzXS3e1faehVAS+SQ6b9R ZiLHigdEIa71eOj5NGCrh9Mxec9QLFjEOYFx12+gEhRYZi/wxZAOoCqh/xUey4ZtA0+rH3L l7XVzOI5wIjUOq2fFhYp20bcUyedzQRcdLdRMi1mjPbTHufClT2qievbJhP4nNVXIZm+1QW QC6fmIvHQosoE2KkVDB87TVdCpO0+6M5hR1oEtJAkxt1okXAK2tvsSvyanJEx7eO3yas8st sRL3TE75U2zPbRgrfF5c0rRgwfoG+eFQILCmngt8lzmCOXYDFljaigQ8D1/hohhjHuPkJE+ tfUG78d4MZTFWdY5qqzCEcMziycEFpGbbqczvua0oXshYL9eSp8uDWQExDlhzVzz/pf2unD 9CpOkEDko9e4jsy3yjybcgb7ujRIVRIfqi2SjGNMA3IwuA07tb6jk4gNTm77uC1pdQbTJ3Q F2UrTwtBML+ipzJpphJFZn08B35P0YscOJGauGCjFCeF01kutz4yxGTaBeQ0PTR9ZOIXLSt tUhHryV91dfTR5Po2GDkL657xWcXKX1hnLC8aheVMO0aEVhhZaurtCSR/ns8qkow3qHfhO8 06sRWgXUdbF5pIALqx1kMOYux6t/w5eBkA9XEFCZ/N23Aeh/La/X/ZzzVHYsUMl4i4XoTqK 43LrDndHHGeJe5pMm0eDKwEnvakOEE7SinrA0F0qKCEWyOatV/zMHSC8ziUaYz0KpSYoKN9 2mI7WI6MGiHJG/RXW0jolAMDjPAuKHMLeZFZ+cv7tQONj11cPiBqOYwEcgkIqQbWhiXsCha XAqeLMwufYXJjhkcFyA4uHPKbX9JLY7lPYZwkU/X8lwgcYCw76wkLAGkltuYqvckfQh9FI/ aXhA5bOOxxjVz7W4dO3lXouJu5h0QBDn/HiN3r27ETzi/5bYZRfnwzCvEboDZpR1hmt9W/o pWYg1v8Ry/xPYfYTs8gDfaU45vfeV+Ox0hHaE5jY0LVGe41a4V156iQ5F/V0sCdVhMWtgns IXKFGy7+t9lPTMPwF5BQlM= X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc= X-QQ-RECHKSPAM: 0 During 'make modules_install', the need-compiler variable becomes null, so Makefile.compiler isn't included. This results in call cc-option-yn returning nothing. For more technical details on why need-compiler is null during =E2=80=98make modules_install=E2=80=99 and why no compiler invocation is ac= tually needed at this point, please refer to commit 4fe4a6374c4d ("MIPS: Only fiddle with CHECKFLAGS if need-compiler") and commit 805b2e1d427a ("kbuild: include Makefile.compiler only when compiler is needed"). Commit a79a404e6c22 ("MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression") tried to fix the same issue but it caused a compile error on clang compiler because it doesn't support '-msym32'. Then, commit 18ca63a2e23c ("MIPS: Probe toolchain support of -msym32") fixed it but reintroduced the CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression. Wrapping this entire code block with #ifdef need-compiler to avoid all issues is the best solution for now. To get rid of spurious "CONFIG_CPU_DADDI_WORKAROUNDS unsupported without -msym32" error. Link: https://lore.kernel.org/all/alpine.DEB.2.21.2502120612000.65342@angie= .orcam.me.uk/ Link: https://lore.kernel.org/all/alpine.DEB.2.21.2307180025120.62448@angie= .orcam.me.uk/ Fixes: a79a404e6c22 ("MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_insta= ll' regression") Reported-by: Maciej W. Rozycki Closes: https://lore.kernel.org/all/alpine.DEB.2.21.2501030535080.49841@ang= ie.orcam.me.uk/ Co-developed-by: Chen Linxuan Signed-off-by: Chen Linxuan Signed-off-by: WangYuli --- arch/mips/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/mips/Makefile b/arch/mips/Makefile index d9057e29bc62..1fffc6cf8b52 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -284,6 +284,7 @@ entry-y =3D $(shell $(objtree)/arch/mips/tools/elf-e= ntry vmlinux) cflags-y +=3D -I$(srctree)/arch/mips/include/asm/mach-generic drivers-$(CONFIG_PCI) +=3D arch/mips/pci/ =20 +ifdef need-compiler # # Automatically detect the build format. By default we choose # the elf format according to the load address. @@ -304,7 +305,8 @@ ifdef CONFIG_64BIT $(error CONFIG_CPU_DADDI_WORKAROUNDS unsupported without -msym32) endif endif -endif +endif # CONFIG_64BIT +endif # need-compiler =20 # When linking a 32-bit executable the LLVM linker cannot cope with a # 32-bit load address that has been sign-extended to 64 bits. Simply --=20 2.49.0 From nobody Tue Dec 16 09:04:48 2025 Received: from smtpbg151.qq.com (smtpbg151.qq.com [18.169.211.239]) (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 8E1A91EDA2C; Tue, 22 Apr 2025 10:24:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.169.211.239 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317459; cv=none; b=i7/75W9u94E4BcxGF+V8eEsWf35iss25y53ZhlosXAkZZjU+D5xKOGwISeCe1FCM2CAGQ4o0xG+UEoOIs4d5oeXlir4X3bqxSE6rIYRUiGqikLST7JwU8+qD8zvN4SzrdM0pii5uPL3ui00I23A93mxLZn4z6uwR9f6+A3S8iMA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317459; c=relaxed/simple; bh=gjmegUE8nkvnqYGAzoqCkp0JHDCzhgmR/Pn3cCV+J30=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SF3COSt6Gm0nMj/62nVhOPrf/GtOEfXUkw5wdqWstnYHzw8cZ3Vp0g4rE3pxet0TmpBdcfYOk+XwO99EeY0FEfy89GUB1RCELjMCHb1r7o1Q/ehSx4Z9Ktu1MeYFf3D5QaidplL2+i1AvcrPU7u90WvxhvVeagGVa+b+20Fktwk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=etRAOVNW; arc=none smtp.client-ip=18.169.211.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="etRAOVNW" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1745317426; bh=p13p1deBOhuoKBgpdie+NXcLOjyEkv+MI/7mj2NH+KU=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=etRAOVNWpcQMSe6kfltvgiXywzE1gZ7vczheoe9UxbuHoCwRWLFHo05GrMTRI+o/I aHR+DlAtBDq5TD7ilpRgQsEiV6ToMbg6is/IlQB7QqUpsEH7/c2KAxGMCE/+SEPvrB bY0EKfzKXN5dvmEmVQM8hz7aTnV2OU61eUBU1tnY= X-QQ-mid: zesmtpip4t1745317385t99dfa428 X-QQ-Originating-IP: fUrGjttCi44eEZnGCNZku/HmudvD3QI6pVKyD2F0rW4= Received: from localhost.localdomain ( [localhost]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Apr 2025 18:23:03 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 9625508605425131605 EX-QQ-RecipientCnt: 8 From: WangYuli To: wangyuli@uniontech.com Cc: guanwentao@uniontech.com, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, macro@orcam.me.uk, niecheng1@uniontech.com, tsbogend@alpha.franken.de, zhanjun@uniontech.com Subject: [PATCH v2 2/6] MIPS: Eliminate Redundant KBUILD_SYM32 Checks Date: Tue, 22 Apr 2025 18:22:49 +0800 Message-ID: <5D20D311FB1FCDF1+20250422102253.137944-2-wangyuli@uniontech.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> References: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: Np+/JNR9oCIP6eIBrtHRZQ4VzIYzIVjpRNQObTetPVIiFtb0+G3L7g8u CiS6fuXXGwZy9EVqsGcn4Isjw/pNPmQabRn8QMJ07rpfuvCbojuHqO2mCM8RJWjnnPgEay+ KalQSm+h6/ioXoMPcngZSCw/reNIb1d+Rs+Ki+QnIT2cDe+Nfezkqdh7UZ0KkmvBmA+8wWH qgfjrhXqNWDMuFBCZiCtSEEs5cRRRD230+JCC/QCkRcWN6FF03rnw4HrVXlgx9Dk5QCAV8a Z4HiOTZ0OJvOe5vf9H9SP9s2BO/p8VNi3KWlgz06U/lpNMf2vVlnalWG3et1DlclHAXtI1S OA8Rp/81gaboLfWlrl5thIQSyCrWW9TknSU9SoNqdFdiFZDfH8u0bQqLe1+AdQQaOxbEHaA 0B98IwUjUYFuTqHJHXmTEitiNONgjxJsvbKK6Yb6u4QJMRaWyYsZA+Gm80koqjPUDIC+Urg sjc5j1UiflEUG7csFEd4vuRKp5XKDjqkRDmAhSJqXsWptJliaQCiX/ck27Hq21j+Uz3Z32D 5rxAmfUfAgCmpzybRLU1nmg2wnxRnHlO4G2BYhe/QwAqKRDkqhIyiXpEphc5gWgecyO20KI WbHWtxGhMZI/Jkliz7+h83HkByjzdtYyzr8KFHDZ9quRDrjHBb0HTs3rHWk89/6vbuEaN/W A1AjLTOkdVIReH15K1UAloHKgloSwl7q58ywaFIZLkkeQeX5gYNiZ9FaXY4n8ULwhsC2PU4 v7EkFCAcPudxmwAlRyKI7wLESk+HSadbPZu7aGrxWv8L3QXXO/nZiGgfCB9aveg3u6QLBNK xJKne2g2zG/SCG02sSsPrT0W1TSwj23Id2MvHbMgAeDlqWH5+uIOq2vzaxFsAbyv2m4LC8i dFYQheIF8iQJeQ8G5iImcXvpqJ7MD9RnvDk1t8sot343+e05GJzxHzuDvmmWWvNzfbkr2Py IVTicdnyFvSm63UoEReUXlsigsGZa6N9nOClsUNM+nYikDuVZKgrQJydJB9eciXUR+wrOQo 3fkLfkCl3lLxnArvxcOpIAJfhdsLw3ZjNf4OWO6IBiwu+T7m67kmXVrTnfeRTjzy0e2zOFZ VvXgltYipH7PO04UlfGyXs= X-QQ-XMRINFO: MPJ6Tf5t3I/ycC2BItcBVIA= X-QQ-RECHKSPAM: 0 Content-Type: text/plain; charset="utf-8" Given that KBUILD_SYM32=3Dy is a prerequisite for this statement to be executed, it's logically redundant to verify KBUILD_SYM32 is y again. Signed-off-by: WangYuli --- arch/mips/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 1fffc6cf8b52..ad06e81f50fb 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -299,7 +299,7 @@ ifdef CONFIG_64BIT endif =20 ifeq ($(KBUILD_SYM32), y) - cflags-$(KBUILD_SYM32) +=3D -msym32 -DKBUILD_64BIT_SYM32 + cflags-y +=3D -msym32 -DKBUILD_64BIT_SYM32 else ifeq ($(CONFIG_CPU_DADDI_WORKAROUNDS), y) $(error CONFIG_CPU_DADDI_WORKAROUNDS unsupported without -msym32) --=20 2.49.0 From nobody Tue Dec 16 09:04:48 2025 Received: from smtpbg151.qq.com (smtpbg151.qq.com [18.169.211.239]) (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 A8EE82135D0; Tue, 22 Apr 2025 10:24:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.169.211.239 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317464; cv=none; b=MjRn5/qcQfICw2RF0kLcW6SEbLvNeTMZgUaTszbHH8GOxZoSSeW8dGwREo63GDF/EWqMC6rFD1vRdz71SvnCByzqo/Og6fY+ngO9U1kH+UsEgwaXDsjCWCAwN6SwicYyAyZCiw2S5PhCuehH6FfIKP+P62adWVZoF5pMvNtKtUs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317464; c=relaxed/simple; bh=AqT7m1u440zOibe16v2sMSLTv4oY8kFJKxRTDSjSEe4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=l0QyA/Q72EJbhRq4TaB1fAAlBCGd2zjAie+up2LHujPzZIvBWDv76gmZ4sCoBMg6KXy/zxJWEVtUVjI+UszjpbTt4hGKsrtieiRW8EGK/9UDbRjXO+5rcI74zUSBIPEeVMzTzABOmMUg9ih/Z7U5QfvJjDsqZmlhEmOPREcdjvc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=MtXHJ80k; arc=none smtp.client-ip=18.169.211.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="MtXHJ80k" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1745317436; bh=28bWYpBODBMHyOWNKQNC1L/Lz6MllkPxMRU2S9jr7eA=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=MtXHJ80kZ2xKqxpKJmxfPhh+0lSbJkAxuPJ1xc9vX3eIG0C3nMxa4nBQdu3paI+5A xbz5biP9tCzAS9a/r+4xLEDXZMt0W8XYnjZBE02QGabuZupv5XkDLz5PaCymoXxS5S 1JZRFC3WTPiCExozrZxFOLTk9+SStgrJxQCR7vy8= X-QQ-mid: zesmtpip4t1745317394tbdcae06d X-QQ-Originating-IP: 7kb3nrCfv66PVDKlai2IcJySyp79o6yy/taB80T1yig= Received: from localhost.localdomain ( [localhost]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Apr 2025 18:23:08 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 5605286764837814321 EX-QQ-RecipientCnt: 9 From: WangYuli To: wangyuli@uniontech.com Cc: guanwentao@uniontech.com, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, macro@orcam.me.uk, niecheng1@uniontech.com, tsbogend@alpha.franken.de, zhanjun@uniontech.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 3/6] MIPS: dec: Create reset.h Date: Tue, 22 Apr 2025 18:22:50 +0800 Message-ID: <3AD7E5DDE3F05C6D+20250422102253.137944-3-wangyuli@uniontech.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> References: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: M1gP/lprZGJnT407nQc5mQ8kDHXKhY9nuOVDzr0dckA1Hcs5cHhABbfx kQ+vD8FjePSmNqWTxoRXHmLrw5uNWn1ZHvAFYtDfTaORyuSHg5/0PudfJdRPvk2QGuEeU9U aCwLRJ257x3FCdL4BoS1tVcaLWQPGiqA0rTkjU7Aj8sGooRHiSlQK4ALzItuCe+aEHaZ6Zm L+DOs9DRop1Y3Z2Mh4SllPKI43JnpxMPCmujP0HubX/scMkYbEPgLEWfgQ9NcX/kXaZZSP6 q0fbJPJgVZyqTIsfJ/BKLoWPBORIJ/nAKaPzx4lHvP6TdAP1H1o1UFjdgWZvRkOC6QltehB ZKg600VhSxOTgmu662jNRk72imJ5L5Qlbceo4Idp+W3bOTmMwNQS8GJy4JlcGLvqyLlsWGF /8AmupaSkd14i8hxHqMhrBbUZJ2BfjhcKIHDb4QjAD7cmc0r7CGZ25PvLGX4uhlVTaYMMm+ JARUXH89pX1Z5RIne9XzUVt8HcNkMvhhSeMNtKKZOOaw03Rnc9Q1p7arkITprfyiwm6lIfi vZzzGL/KxEChte7IVeu0MA73BWV1XemY03VLMhJiU4ocU+zRwf630X9qxLjfQqbBjzBWxMH zQTdSEeBTblsZTUSAIeRfedhlYfjzKXmyWQJskZdfjh40Ws48u6YAO0VMl5u3Q3UBUTaQEw BHiDgD2qJ9SASJGkE/qsUFgZ0doeqtojjS/WizDN+4d/JFDONj2vsryFaRe6jFKgOpEl2St QoSMvIRNtjZsJXvQexLe1uJevze1RFQjdndiL/tEARLvySEpkIeUgIqKn9/cbP5+FCD+yW7 L6a01iEdnVjyXFuXSFoTvAwv9Tk1Ajf89P2iPc2dlSNCIj7mMl6gAfUq8h4GkACYeWoSGP2 iGhfLZeTwz6JFN/jKDBOwCo/K3BpYHkmQAAG5ULOawTkABOt78PayTs4v/65vZFvnS3Jb+y coTAGhH+8GOxsbX9fq0yYaSl3i1z/hlQmdkk7DpRZimIYNOI3lCFb80P/Kg6DaJRBwozV9e daU1oEEmMVPSQfB/+CemIRSCd8QUK/fsxWx+2KBMSAhU5xujzAd90Usc1LysAXX+s7yOQu9 6hyNWpMli0F X-QQ-XMRINFO: OWPUhxQsoeAVDbp3OJHYyFg= X-QQ-RECHKSPAM: 0 Declare externally used functions in reset.c to resolve compilation warnings. Fix follow errors with gcc-14 when -Werror: arch/mips/dec/reset.c:22:17: error: no previous prototype for =E2=80=98dec_= machine_restart=E2=80=99 [-Werror=3Dmissing-prototypes] 22 | void __noreturn dec_machine_restart(char *command) | ^~~~~~~~~~~~~~~~~~~ arch/mips/dec/reset.c:27:17: error: no previous prototype for =E2=80=98dec_= machine_halt=E2=80=99 [-Werror=3Dmissing-prototypes] 27 | void __noreturn dec_machine_halt(void) | ^~~~~~~~~~~~~~~~ arch/mips/dec/reset.c:32:17: error: no previous prototype for =E2=80=98dec_= machine_power_off=E2=80=99 [-Werror=3Dmissing-prototypes] 32 | void __noreturn dec_machine_power_off(void) | ^~~~~~~~~~~~~~~~~~~~~ arch/mips/dec/reset.c:38:13: error: no previous prototype for =E2=80=98dec_= intr_halt=E2=80=99 [-Werror=3Dmissing-prototypes] 38 | irqreturn_t dec_intr_halt(int irq, void *dev_id) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [scripts/Makefile.build:207: arch/mips/dec/reset.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In passing, also correct the include file ordering in setup.c as it doesn't merit a separate commit. Link: https://lore.kernel.org/all/Z8A0JeFYfBxXOFCD@alpha.franken.de/ Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: WangYuli --- Changelog: *v1->v2: Add Philippe Mathieu-Daud=C3=A9's "Reviewed-by" tag. --- arch/mips/dec/prom/init.c | 3 +-- arch/mips/dec/reset.c | 2 ++ arch/mips/dec/setup.c | 9 ++------- arch/mips/include/asm/dec/reset.h | 20 ++++++++++++++++++++ 4 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 arch/mips/include/asm/dec/reset.h diff --git a/arch/mips/dec/prom/init.c b/arch/mips/dec/prom/init.c index 8d74d7d6c05b..a8393052a443 100644 --- a/arch/mips/dec/prom/init.c +++ b/arch/mips/dec/prom/init.c @@ -18,7 +18,7 @@ #include =20 #include - +#include =20 int (*__rex_bootinit)(void); int (*__rex_bootread)(void); @@ -88,7 +88,6 @@ static void __init which_prom(s32 magic, s32 *prom_vec) =20 void __init prom_init(void) { - extern void dec_machine_halt(void); static const char cpu_msg[] __initconst =3D "Sorry, this kernel is compiled for a wrong CPU type!\n"; s32 argc =3D fw_arg0; diff --git a/arch/mips/dec/reset.c b/arch/mips/dec/reset.c index 3df01f1da347..ee1ad38f4a69 100644 --- a/arch/mips/dec/reset.c +++ b/arch/mips/dec/reset.c @@ -10,6 +10,8 @@ =20 #include =20 +#include + typedef void __noreturn (* noret_func_t)(void); =20 static inline void __noreturn back_to_prom(void) diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c index 87f0a1436bf9..6b100c7d0633 100644 --- a/arch/mips/dec/setup.c +++ b/arch/mips/dec/setup.c @@ -18,10 +18,10 @@ #include #include #include +#include #include #include #include -#include =20 #include #include @@ -48,14 +48,9 @@ #include #include #include +#include #include =20 - -extern void dec_machine_restart(char *command); -extern void dec_machine_halt(void); -extern void dec_machine_power_off(void); -extern irqreturn_t dec_intr_halt(int irq, void *dev_id); - unsigned long dec_kn_slot_base, dec_kn_slot_size; =20 EXPORT_SYMBOL(dec_kn_slot_base); diff --git a/arch/mips/include/asm/dec/reset.h b/arch/mips/include/asm/dec/= reset.h new file mode 100644 index 000000000000..c1557b88264c --- /dev/null +++ b/arch/mips/include/asm/dec/reset.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Reset a DECstation machine. + * + * File created to eliminate warnings; copyright from reset.c. + * + * Copyright (C) 199x the Anonymous + * Copyright (C) 2001, 2002, 2003 Maciej W. Rozycki + */ + +#ifndef __ASM_DEC_RESET_H + +#include + +extern void __noreturn dec_machine_restart(char *command); +extern void __noreturn dec_machine_halt(void); +extern void __noreturn dec_machine_power_off(void); +extern irqreturn_t dec_intr_halt(int irq, void *dev_id); + +#endif /* __ASM_DEC_RESET_H */ --=20 2.49.0 From nobody Tue Dec 16 09:04:48 2025 Received: from smtpbgau1.qq.com (smtpbgau1.qq.com [54.206.16.166]) (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 41730F510; Tue, 22 Apr 2025 10:24:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.206.16.166 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317460; cv=none; b=CJ0o1o1GpXLlujlRQuSO51P/A4sLKqooPp8s6PzAwwrtUcUHKFlWTQN9rTSZP+bnSaROqqhkYpNAN7Sr6Owe9qt6fD+b0Mj2DIlKtkYcSho8xPUuyEkJAMycgbmDWScK3Bcq/A/7yE0PM6WdZyUMsxmp/EnF9fgaEsM5WhlBTtc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317460; c=relaxed/simple; bh=aOUxpTx+k+5fk5OYmSww98phSSuRsLaGNQ+0Q/iRm8M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BRB4fYOccqNNZWnqk0HueMVfxydgyRR0HwaBpXaNXkQVumZweFjYnmU974p9QLbGPX54gHHKC3HCVcdLsodJuS+DB9EginmkOvffsjCGu24NL8DUe0Bf5zINZWbES6mXh4jDZxUqvHyFAkDRAHEoz+fSAbXjUAeLnH5HP7XGXQs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=J2w0Bi7m; arc=none smtp.client-ip=54.206.16.166 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="J2w0Bi7m" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1745317443; bh=nCPkl2VraY01qejRiFzb+h6eDDwwwG21C+d7Srnl4uE=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=J2w0Bi7mtIzZfxhm5IAz0Sgsac33/7czxgjkkMyC8CaOd50F8GI1LhxlS1/h5v2sJ PRVLkiarJsErriFSE+VSMT96mSkyiFLehv66tyW5XBl+fuFV6ku1hF6ZDCkjXlkuFu +d4jvcfgF1/iredxKTfslJ1jm1BxcAtEENrmVVRA= X-QQ-mid: zesmtpip4t1745317399tb833f869 X-QQ-Originating-IP: pn0vdm8843sak/UTPiNLAc1jJEy9sFECKFGIZyXCzEs= Received: from localhost.localdomain ( [localhost]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Apr 2025 18:23:16 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 15127516559595859823 EX-QQ-RecipientCnt: 8 From: WangYuli To: wangyuli@uniontech.com Cc: guanwentao@uniontech.com, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, macro@orcam.me.uk, niecheng1@uniontech.com, tsbogend@alpha.franken.de, zhanjun@uniontech.com Subject: [PATCH v2 4/6] MIPS: dec: Remove dec_irq_dispatch() Date: Tue, 22 Apr 2025 18:22:51 +0800 Message-ID: <093E43FBF9F4F005+20250422102253.137944-4-wangyuli@uniontech.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> References: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: NHaWRpycPDeTUbKqbCmKp7OqkX0jNNN5lm/T/P/pR9kHy3n6r0kgsvK8 lOVt8OVDMTWUVgdWuEU+hZSsNdaJ6M6vTVzmEbIhVxJP/hBAeuNyRmLFcNQ84OaJBx4Psia 5TgXqSSAxWt3/DCxr7xOLbx6C2CkRKCTknBjie6GzS2Hwg127Fx3acw5cLeDvQ2ePCSmj8h udkotD1DcBPNnhTs6g4uWdty+oNpHOGLf93zEkeEhRGON/T/5fdfSwNFv0hS9tfpjdjtBc0 pCj+n1oYApOhxulzmYWXSXbnebLMUfittmjRi524K4Y04hkiXOcOKV4Rq7UuneTpBp9fKF9 VnQ36sWtraHHPzBjs0pEG32+RSNOlyuXwf/BBboNpgbPEqMV35WRPJ1LSps8qxbuGemwW3i XrJsfSp3Yd0W+yG7SY/2tz+1RcXY2fcuo9V5SI7CIeWfmJjhm1waxUrANNLlcIH0q1OFQho Jw4VNRu4YFnvsldk9sh6VfLxfEaW4TZgovFikonKWrSt0sZlc98FHL8Xqv3UgWI2+VSCCik N59sjJ9kxqceD293rA0OUKD0TQlven/kvcEU5ailXdoWnXk0e2bUj0Zrvqgbp2xnC2WgOmq lPyrCgbInvazZL6F0rAShUbIkohzUrZvf11lDYVD7u9JW4dZEfeEeD2GC+CxDSSfYdsrC5w E+13ZrNf65errcp7kYIizOxL9Gt3YM5HORKyIhdgaHKWxkQ6C3MF2xJ1qZAW1pxTf0rT5Bt +1g8Dcs1Z7ojMmM5TQrfZCIgqWc8mhFObZ6VNMfar5/OgXmzYBC9HgJkm5LLpxsfltAdu67 cj0eSYD6T2dCAF/U8MN1a6CPkY/Dx0oIXk2CDIoJSJPGcl1Mfkom5/opTZWT4RnbV/6uD8L JdqOVL1dzlEQmbRcZQlUx+kYLg5Htj+/Ha6DwfL961xcx/aVCCAAELmkdorSnMLnsH+esmk kY+22pH9S/lrlm4Imn+IpIINsALKxHfMGO7CIFRaoWivv1ijCIIhAy413wAUMDUTl2cUlje 6HUpUX6Kkxbs7NgyJV6FzEWuamccBYernDTU2GGzxqkWCN6hNg8bp6RZbW2xly04RlOaQi8 OTY7FCMY4pw53uGVwJAu7w= X-QQ-XMRINFO: NS+P29fieYNw95Bth2bWPxk= X-QQ-RECHKSPAM: 0 Commit 187933f23679 ("[MIPS] do_IRQ cleanup") introduced dec_irq_dispatch() function. But Subsequent to commit 8f99a1626535 ("MIPS: Tracing: Add IRQENTRY_EXIT section for MIPS"), the dec_irq_dispatch() function is rendered superfluous. Remove it to eradicate compilation warnings. [ Quoting Maciej W. Rozycki: ] It always has been, since its inception, see commit 187933f23679 ("[MIPS] do_IRQ cleanup"). Up to commit 8f99a16265353 ("MIPS: Tracing: Add IRQENTRY_EXIT section for MIPS") `do_IRQ' used to be a macro, that's why. At the time `do_IRQ' was converted to a macro `dec_irq_dispatch' was created and previously this place used to call `do_IRQ' too. This cleanup should have been made along with commit 8f99a16265353, so it's pretty old a technical debt being sorted here. [ Fix follow error with gcc-14 when -Werror: ] arch/mips/dec/setup.c:780:25: error: no previous prototype for =E2=80=98dec= _irq_dispatch=E2=80=99 [-Werror=3Dmissing-prototypes] 780 | asmlinkage unsigned int dec_irq_dispatch(unsigned int irq) | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [scripts/Makefile.build:207: arch/mips/dec/setup.o] Error 1 make[6]: *** [scripts/Makefile.build:465: arch/mips/dec] Error 2 make[5]: *** [scripts/Makefile.build:465: arch/mips] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [Makefile:1992: .] Error 2 make[3]: *** [debian/rules:74: build-arch] Error 2 dpkg-buildpackage: error: make -f debian/rules binary subprocess returned e= xit status 2 make[2]: *** [scripts/Makefile.package:126: bindeb-pkg] Error 2 make[1]: *** [/mnt/83364c87-f5ee-4ae8-b862-930f1bd74feb/Projects/CommitUpst= ream/LinuxKernel/Temp/linux/Makefile:1625: bindeb-pkg] Error 2 make: *** [Makefile:251: __sub-make] Error 2 Link: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t/commit/?id=3D187933f23679c413706030aefad9e85e79164c44 Link: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t/commit/?id=3D8f99a162653531ef25a3dd0f92bfb6332cd2b295 Link: https://lore.kernel.org/all/alpine.DEB.2.21.2502220019210.65342@angie= .orcam.me.uk/ Signed-off-by: WangYuli Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- arch/mips/dec/int-handler.S | 2 +- arch/mips/dec/setup.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/mips/dec/int-handler.S b/arch/mips/dec/int-handler.S index 011d1d678840..a0b439c90488 100644 --- a/arch/mips/dec/int-handler.S +++ b/arch/mips/dec/int-handler.S @@ -277,7 +277,7 @@ srlv t3,t1,t2 =20 handle_it: - j dec_irq_dispatch + j do_IRQ nop =20 #if defined(CONFIG_32BIT) && defined(CONFIG_MIPS_FP_SUPPORT) diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c index 6b100c7d0633..affae92f1918 100644 --- a/arch/mips/dec/setup.c +++ b/arch/mips/dec/setup.c @@ -771,9 +771,3 @@ void __init arch_init_irq(void) pr_err("Failed to register halt interrupt\n"); } } - -asmlinkage unsigned int dec_irq_dispatch(unsigned int irq) -{ - do_IRQ(irq); - return 0; -} --=20 2.49.0 From nobody Tue Dec 16 09:04:48 2025 Received: from smtpbgau2.qq.com (smtpbgau2.qq.com [54.206.34.216]) (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 E2D6E2116EB; Tue, 22 Apr 2025 10:24:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.206.34.216 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317456; cv=none; b=g8feHiCcGKK7Iz0oZxINvlJFH31CqXPjPXCsHv6hn/wnfKfBPeoY5+XpdjZdS/sK/qQemmZS5cyr1F/OxXe8FsMJUl8g0KgGfBNRmKL8VMjQ2susGxgmuIYJgGuu0SfCjXkCX38FID1oY1jjnWzYfbDeSBR8MUAPU1SbfY4JGTc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317456; c=relaxed/simple; bh=DwnHJKjSRTcNroFg/p73E0l/JHIa6S8hPby+gFI9qpQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=alHPgJB2icgzaj2LUenpe4xQf9ODNk9fLMSTXlbug1Pa+7cE1VP0yUuFa0KawqbCUHVR4SmhvWZE9sp8wzIOoJr2FiT1M6osxuJeee+rkevO0mwao1XpDot2cd2ubD28ONHd0OJLrdDg6KEZje1XehNAsH1PhOAa5fG2BzKcv5A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=Vq+IwI1+; arc=none smtp.client-ip=54.206.34.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="Vq+IwI1+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1745317443; bh=/kCJEwIi51vpS2czRIPch3YPYBe5K2hVZT8aTmupNNc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=Vq+IwI1+QZnq4aI3jWuCzmCbbb0chMcG+Kc5FSX/WdIFq3+Xo1lCqshdEb+rATwt+ fko10VuHRcCjATiEuePR+pIMjUlsL3S3Okn7lipPoj0bz9ucPYRzO0gwTcWbZws44r QcePHnS6APk6zyvuHjxTZbfhVXeFJp3nkV3OR1gM= X-QQ-mid: zesmtpip4t1745317404t5b5a4381 X-QQ-Originating-IP: S0t1emq2KGXtxj+2JIdNqT7E9gubmHp4di/k3CSucoY= Received: from localhost.localdomain ( [localhost]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Apr 2025 18:23:22 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 8795362617588376660 EX-QQ-RecipientCnt: 8 From: WangYuli To: wangyuli@uniontech.com Cc: guanwentao@uniontech.com, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, macro@orcam.me.uk, niecheng1@uniontech.com, tsbogend@alpha.franken.de, zhanjun@uniontech.com Subject: [PATCH v2 5/6] MIPS: decstation_64_defconfig: Update configs dependencies Date: Tue, 22 Apr 2025 18:22:52 +0800 Message-ID: <566F2D64350C960C+20250422102253.137944-5-wangyuli@uniontech.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> References: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: MvUCj+jJbjsSURhWTNu2YlJFciUNDpBoc1mQEO9goJzhtElPaBVqfmG4 uf/U4rzgizlgPh0E27qM97ob4qIUcshhtW6V/0I1GN+rxHnj40alBVhUSa+Oj7szuymcVpn LMIQNlVRZG/230cPM4m2vkLe6iNLSDz6Vp2pIL/2RnEAHzklcwMlVzCHuDBQxNbBUa3jioA Z88qMVW0gsmXoGkEY4DLUMkJbHP080UCpC4GH9djt4d7ZM238Tr/fGoAoo13QwOe6yyO3F1 IRHhVcflyiCMxtaR6gGjgGh1hQP+jbiP6HnC/vWqjpHOg1Lid1/+3+yYpTs3RJn3Gpme48v ZJBqXmtO8re3KVsOlYPBYT/wB0mCLJjaH1GG8KwJQ8xlgAKRHkxiLJ6gQx4Q2IbkTGObEhm gG83BaqdOkJSd5rkSf3872wutl+3hm9rjhx1BbruloEIUxys8phP5mh9cYQRAHV/pLzbTIm d0Ngj+WFVx8is+7vYKakXdquQZXgHvGY/VDf1Sv3YDNXJs2vvveV5w0P8TXI5qjxN54iJUh QTRUVvstI3e/1viIiiD8QMqsKKwVqSlzIs9PkKmQN/dRL5J9Ku4cYwBzuoUg13m+YdISozP m4IYERequYXbkZCqULj8InZFccBwsynA/0AWsAF2sivWci8JSs3oi61NySdeRFvqaYJ9Fvb BjvNmyaRSe0qpKRB3cRg0KdeT3xKhUq2GEcOSYM+tp1SvkFDWFEyxpOC+hrv+cGUBDbYU8x 6dS6q++gZjSrN3FFwLxQBgLtMed5iOEy9sjgY24xp1ppFJJi9/Jx/PcxFXeX+O3Vhul8JR/ /TmjhIqrfRKCUwCatWgq9U7oe8rA5UfQb6wOmLCksVvvfq/UT8qbEmYj/NVzmWxS5ebs0dp e7P+Zg57BRaNzV2n2g/gcEK0eLsUe5i25+rIHorwW7E0h2tmCdtJjE7rhGXRb8Bz+Yd8c3n 4YUzrj3aj0K2JFMSobsQzoS8PbXiVJS1UxjKqUezUWRHmlRWhqFJi88iq/QalyafBoB8zrs JHLsW6wNx3OGb2UTLj+X2ZQKe3H6pepw0guxTH4VPxCH2hXlEWpCMm511cF2U= X-QQ-XMRINFO: MPJ6Tf5t3I/ycC2BItcBVIA= X-QQ-RECHKSPAM: 0 Content-Type: text/plain; charset="utf-8" Due to long-term changes in kernel build configurations, run 'make savedefconfig' to update the build configuration dependencies. This commit does not affect the actual .config file content, in preparation for future modifications to decstation_64_defconfig. Signed-off-by: WangYuli --- arch/mips/configs/decstation_64_defconfig | 42 +++++++++-------------- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/arch/mips/configs/decstation_64_defconfig b/arch/mips/configs/= decstation_64_defconfig index 9655567614aa..bf579866cf4b 100644 --- a/arch/mips/configs/decstation_64_defconfig +++ b/arch/mips/configs/decstation_64_defconfig @@ -1,27 +1,27 @@ CONFIG_SYSVIPC=3Dy CONFIG_POSIX_MQUEUE=3Dy CONFIG_HIGH_RES_TIMERS=3Dy +CONFIG_BPF_SYSCALL=3Dy CONFIG_BSD_PROCESS_ACCT=3Dy CONFIG_BSD_PROCESS_ACCT_V3=3Dy CONFIG_LOG_BUF_SHIFT=3D15 CONFIG_EXPERT=3Dy # CONFIG_SGETMASK_SYSCALL is not set # CONFIG_SYSFS_SYSCALL is not set -CONFIG_BPF_SYSCALL=3Dy -# CONFIG_COMPAT_BRK is not set CONFIG_MACH_DECSTATION=3Dy CONFIG_64BIT=3Dy -CONFIG_PAGE_SIZE_16KB=3Dy CONFIG_TC=3Dy CONFIG_MIPS32_O32=3Dy CONFIG_MIPS32_N32=3Dy # CONFIG_SUSPEND is not set +CONFIG_PAGE_SIZE_16KB=3Dy CONFIG_MODULES=3Dy CONFIG_MODULE_UNLOAD=3Dy CONFIG_MODULE_SRCVERSION_ALL=3Dy CONFIG_PARTITION_ADVANCED=3Dy CONFIG_OSF_PARTITION=3Dy # CONFIG_EFI_PARTITION is not set +# CONFIG_COMPAT_BRK is not set CONFIG_TRANSPARENT_HUGEPAGE=3Dy CONFIG_NET=3Dy CONFIG_PACKET=3Dy @@ -49,7 +49,6 @@ CONFIG_NETWORK_SECMARK=3Dy CONFIG_IP_SCTP=3Dm CONFIG_VLAN_8021Q=3Dm # CONFIG_WIRELESS is not set -# CONFIG_UEVENT_HELPER is not set # CONFIG_FW_LOADER is not set # CONFIG_ALLOW_DEV_COREDUMP is not set CONFIG_MTD=3Dm @@ -83,9 +82,9 @@ CONFIG_DECLANCE=3Dy # CONFIG_NET_VENDOR_MICREL is not set # CONFIG_NET_VENDOR_MICROCHIP is not set # CONFIG_NET_VENDOR_MICROSEMI is not set +# CONFIG_NET_VENDOR_NI is not set # CONFIG_NET_VENDOR_NATSEMI is not set # CONFIG_NET_VENDOR_NETRONOME is not set -# CONFIG_NET_VENDOR_NI is not set # CONFIG_NET_VENDOR_QUALCOMM is not set # CONFIG_NET_VENDOR_RENESAS is not set # CONFIG_NET_VENDOR_ROCKER is not set @@ -114,7 +113,6 @@ CONFIG_FB_TGA=3Dy CONFIG_FB_PMAG_AA=3Dy CONFIG_FB_PMAG_BA=3Dy CONFIG_FB_PMAGB_B=3Dy -# CONFIG_VGA_CONSOLE is not set CONFIG_DUMMY_CONSOLE_COLUMNS=3D160 CONFIG_DUMMY_CONSOLE_ROWS=3D64 CONFIG_FRAMEBUFFER_CONSOLE=3Dy @@ -167,36 +165,28 @@ CONFIG_NLS_ISO8859_13=3Dm CONFIG_NLS_ISO8859_14=3Dm CONFIG_NLS_ISO8859_15=3Dm CONFIG_NLS_UTF8=3Dm -CONFIG_CRYPTO_RSA=3Dm CONFIG_CRYPTO_MANAGER=3Dy -CONFIG_CRYPTO_CCM=3Dm -CONFIG_CRYPTO_GCM=3Dm -CONFIG_CRYPTO_CHACHA20POLY1305=3Dm +CONFIG_CRYPTO_RSA=3Dm +CONFIG_CRYPTO_BLOWFISH=3Dm +CONFIG_CRYPTO_CAMELLIA=3Dm +CONFIG_CRYPTO_CAST5=3Dm +CONFIG_CRYPTO_CAST6=3Dm +CONFIG_CRYPTO_FCRYPT=3Dm +CONFIG_CRYPTO_SERPENT=3Dm +CONFIG_CRYPTO_TWOFISH=3Dm CONFIG_CRYPTO_CTS=3Dm CONFIG_CRYPTO_LRW=3Dm -CONFIG_CRYPTO_OFB=3Dm CONFIG_CRYPTO_PCBC=3Dm CONFIG_CRYPTO_XTS=3Dm +CONFIG_CRYPTO_CHACHA20POLY1305=3Dm +CONFIG_CRYPTO_CCM=3Dm CONFIG_CRYPTO_CMAC=3Dm -CONFIG_CRYPTO_XCBC=3Dm -CONFIG_CRYPTO_CRC32=3Dm CONFIG_CRYPTO_MD4=3Dm CONFIG_CRYPTO_MICHAEL_MIC=3Dm CONFIG_CRYPTO_RMD160=3Dm -CONFIG_CRYPTO_SHA512=3Dm CONFIG_CRYPTO_WP512=3Dm -CONFIG_CRYPTO_ANUBIS=3Dm -CONFIG_CRYPTO_ARC4=3Dm -CONFIG_CRYPTO_BLOWFISH=3Dm -CONFIG_CRYPTO_CAMELLIA=3Dm -CONFIG_CRYPTO_CAST5=3Dm -CONFIG_CRYPTO_CAST6=3Dm -CONFIG_CRYPTO_FCRYPT=3Dm -CONFIG_CRYPTO_KHAZAD=3Dm -CONFIG_CRYPTO_SEED=3Dm -CONFIG_CRYPTO_SERPENT=3Dm -CONFIG_CRYPTO_TEA=3Dm -CONFIG_CRYPTO_TWOFISH=3Dm +CONFIG_CRYPTO_XCBC=3Dm +CONFIG_CRYPTO_CRC32=3Dm CONFIG_CRYPTO_LZO=3Dm CONFIG_CRYPTO_842=3Dm CONFIG_CRYPTO_LZ4=3Dm --=20 2.49.0 From nobody Tue Dec 16 09:04:48 2025 Received: from smtpbg151.qq.com (smtpbg151.qq.com [18.169.211.239]) (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 7A346215173; Tue, 22 Apr 2025 10:24:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.169.211.239 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317469; cv=none; b=ZLH3dJoV4RQzFH2ZkQJrx8Xcypb4lmU6aJCqJUVPJPc3RbrIo2DGqM5E5dboknNSSp6cCLJz7haQ6kGvZ+nsWKN58CcQ/2zqWGudkv4/Lb39hhQBvtpeR5DHlWtNfXH94QK2TbFaMaTcPORH8lT3pvqSqImyYIH+HSBiIQi34EU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745317469; c=relaxed/simple; bh=niHZ7SywtqEBXhJxXUoQ5qHTD9B3hV3qxTLETfQVkRM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SLI/5uL91Nbm29iyPzZH8ZNWDsuJ050TvPyLeqwKXGFoQAM+dCuIOCDEz+f9z2ADa8XqjPK8yqJphZgvnS/sSjMt1bQX+ayKHZpJ/JilknKMBQM3SEckSmDtHiuVCOzhQWHRd/BtQ7998mWDoGHL+CyQm4ReBYvnst7MW9jDZ4c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com; spf=pass smtp.mailfrom=uniontech.com; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b=H+FXgYcj; arc=none smtp.client-ip=18.169.211.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniontech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniontech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=uniontech.com header.i=@uniontech.com header.b="H+FXgYcj" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniontech.com; s=onoh2408; t=1745317454; bh=TTsZEPwrBCz/1dlJoPGkzqJ2iCyPoKODASZBVNBm63g=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=H+FXgYcjRd57r/eHrlvaQFcywfddTIcB7oF7VLfF2ptSO7t56F5Ujdgc4zOaZiOzc wAxOO7MZcJ8Tca+qTODn+s3vsf7EC+3nN08l63sGUkb9nIbkmV+8sr8QXzo9L/CaE2 G5KitIdBMrUePjAECogPlVyzxQCx8Re5zDft3GY0= X-QQ-mid: zesmtpip4t1745317409t6fbbb0f7 X-QQ-Originating-IP: 3ilSgnN/hpCJ+v0evZYAElIP8wKs9EEd3cnDgrh72YI= Received: from localhost.localdomain ( [localhost]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 22 Apr 2025 18:23:27 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 1 X-BIZMAIL-ID: 1331914406803930652 EX-QQ-RecipientCnt: 8 From: WangYuli To: wangyuli@uniontech.com Cc: guanwentao@uniontech.com, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, macro@orcam.me.uk, niecheng1@uniontech.com, tsbogend@alpha.franken.de, zhanjun@uniontech.com Subject: [PATCH v2 6/6] MIPS: decstation_64_defconfig: Compile the kernel with warnings as errors Date: Tue, 22 Apr 2025 18:22:53 +0800 Message-ID: <2AEFB36427BDF18E+20250422102253.137944-6-wangyuli@uniontech.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> References: <24EC7D2CA58B25F5+20250422101855.136675-1-wangyuli@uniontech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpip:uniontech.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: M1EFJi73A4mxs/cags2Do9xngT/5dq0dzmyJlacxwRLzPdQ/8mdDvcQ6 h3Xo5pR0v5/zpVV0Pk5sxlv9mbQ9FZZs+8kCVSxDnNHqmRUk8PZeKHvl6TrmSfbwdHsqFIV MeLNSlfcbYaTWGS3T6THgxS4JQfBJlTO7EgCOp+GFnga3a6f4Ccbu7F4bzDGeBNgv9YtRiP ItuZDiy9oI9jCYa9KcefHoot+MPGg6U4OOQjDbcM//3kULHUn2rcU2UI7XJ68+K5HWHttxF quIW9ex40OAFim7X9B2QWFeBIi/mIhdJERDTfUjCvmdssP2TflHDJ1tIsQ7uwZUoGvnjQL2 1KGuPKHfoAaYb9nFd/WxA2DjsOlxIEeQ8qcC7egNxSHVWzw8Vn5/8o0jcW4FUlW7Bt9Uylh t4DoXoAPcD3CDgPt50ofu+BjnBkIHhvu4V8axwT2xkcN75H6hduRonidfSgAwdj3c+p+L26 JUO/gNBsUynkuFdvKrVGEvM7JI3B/IDiPbBJ5ttX/Nbx/edyUs1sgGu7B151lYZsNvX9i9n YJiGYUFA1FbvpuoCDSC5HpMhmnDT6EcnL1KVV5lDPJLdohRWMCTAcaru663g0VZ3VXj/awC By7+k6sRSEo64HsVFDO11Tq5r84yNA1/qBFPdjZp7thDsbXGpMbc29ky8xEELqj2JT0oAtE SGlomGaMxe1ZS1fz8kIVoqfNoWQkOmkU1t+cvPLopmUo2q+r9hZNHilFiUWGBx1UZuy+Xkd 2JPYiqVkRQGLOa9ZBPTNIPU4C4iRlI0MDP/3jaF/z8vP4bJOKQnxDjM3D+2SGGqFFgzq8fV aBXlMvbzut2pLjrgEBB0CazwmHAB0Tk0MLtcJp2e7mCu535zddT1fH79Pkxw8FEHL5xqXqg wjFTY9WO4u851CEWNQoGaSvo1g+uPBn7QMvEUqIhCMFuLWef6UNKggN1uVARMJHr7Y3bCSw W3aLiuVrlrzWOLDllWg8pG/BxrlWKwC/GNQiL48Q5YL8y1rVW8tB1jo1DKWnRSRm0DGKzHz upbTeCDEQaGoNYIfn9SoSBMXetRyzKtcN7yKhX0SzsLtduBXAA1ywXmCiC16xacFOI111Rf w== X-QQ-XMRINFO: OWPUhxQsoeAVDbp3OJHYyFg= X-QQ-RECHKSPAM: 0 Content-Type: text/plain; charset="utf-8" All compilation issues under decstation_64_defconfig have been resolved, and it is now safe to enable CONFIG_WERROR now. Signed-off-by: WangYuli --- arch/mips/configs/decstation_64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/configs/decstation_64_defconfig b/arch/mips/configs/= decstation_64_defconfig index bf579866cf4b..12415c5dd28c 100644 --- a/arch/mips/configs/decstation_64_defconfig +++ b/arch/mips/configs/decstation_64_defconfig @@ -1,3 +1,4 @@ +CONFIG_WERROR=3Dy CONFIG_SYSVIPC=3Dy CONFIG_POSIX_MQUEUE=3Dy CONFIG_HIGH_RES_TIMERS=3Dy --=20 2.49.0