From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C1FCC433E1 for ; Sat, 22 Aug 2020 14:00:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 275A9206B5 for ; Sat, 22 Aug 2020 14:00:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727948AbgHVOAQ (ORCPT ); Sat, 22 Aug 2020 10:00:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727900AbgHVOAQ (ORCPT ); Sat, 22 Aug 2020 10:00:16 -0400 Received: from orcam.me.uk (orcam.me.uk [IPv6:2001:8b0:154:0:ea6a:64ff:fe24:f2fc]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6C416C061573; Sat, 22 Aug 2020 07:00:15 -0700 (PDT) Received: from bugs.linux-mips.org (eddie.linux-mips.org [IPv6:2a01:4f8:201:92aa::3]) by orcam.me.uk (Postfix) with ESMTPS id 01B152BE086; Sat, 22 Aug 2020 15:00:08 +0100 (BST) Date: Sat, 22 Aug 2020 15:00:00 +0100 (BST) From: "Maciej W. Rozycki" To: Paul Cercueil cc: Zhou Yanjie , Thomas Bogendoerfer , Paul Burton , Krzysztof Kozlowski , od@zcrc.me, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, =?UTF-8?B?5ryG6bmP5oyv?= , dongsheng.qiu@ingenic.com, rick.tyliu@ingenic.com, yanfei.li@ingenic.com, xuwanhao@wanyeetech.com Subject: Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board In-Reply-To: Message-ID: References: <20200803170124.231110-1-paul@crapouillou.net> <4SSFFQ.3I498N5I41LP3@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Sat, 22 Aug 2020, Paul Cercueil wrote: > > Well, run-time patching might be an alternative to get the best of both > > worlds, but someone would have to reimplement our feature selection system > > to use it. > > Would run-time patching allow to drop dead code? I don't know offhand. In principle it should be doable like with init sections, but that requires out of line code, so there'd still be some performance hit compared to a kernel configuration dedicated to a single platform. Maciej