Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5501851pxb; Wed, 26 Jan 2022 13:32:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzryQE1oVgHyRLIVlzzRmc23zujK73UyGFyUKacEUeA1j+9MdqWA5tqH3jwAUgYQh6oXvRt X-Received: by 2002:a05:6a00:13a6:: with SMTP id t38mr709023pfg.25.1643232778772; Wed, 26 Jan 2022 13:32:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643232778; cv=none; d=google.com; s=arc-20160816; b=TlFk57p2T+nFZhfOS/1/Yu2YhmB0frRNllm4Rg94MMCuNtVQf9dkmqdvN7KBU2xibG mVEOzEIxJHWsWznHxn0GtJqQBE5856e2WOHsfkaPYzJH0EQBkloPHOd/f1ddMGFDc820 T4xJETFmDLUaqSqnr5xOQTjyCL+d+/xDdrsgOcJloWYRGbAt2oe4KVnZakVQaDofb+z/ MW+TUbY0E4LAKpp9YEzL6+uN8TOqXuTm2Oh1NjM8SfiKMd6/m09saiPcKYVLE301Pa8I pKdCELBKjCwHGFZiMECLGrx26cpfktxxkAFQ0gx73Bm4nWa/Bis2Ozc+CJiX4AxCKDne lJMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=fHOCyGn2OpYXHR2TSZ46or0oGciq1pUeUpvpqS2jqZ4=; b=ftZwmI+tSCb0J9N9vZAuyEEuJiacRO1nP2//1HqoIkglT9926MAV+PNUQ2K4dW1aqm 3fSSBcWUBkdy8YmmJUo3Lno/qvsyUEejnFoTLbQD3maH3zX3cjol/tSMTRMCpgPBJIVA rNfdg+JoRuqRqJq5jlePWmWa7t1kVnEJj0Y5ucRQyMIOGo/rtpNfjdh7Oqoajswf/0d1 AGw9fUIvrYu7cgusVhNnE5/6yUZvIBRGn3TIVm9dPp/uH/HYX89AIEJMAOra5iWyRq+h MxmvFuwIsiyyujbpEoRFzzT8tqI5o5GVLxEwCThaOT4cAsffNhMAk7tKZGRNxoPe0GKY dbMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si304295pfu.319.2022.01.26.13.32.46; Wed, 26 Jan 2022 13:32:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242116AbiAZO2f (ORCPT + 99 others); Wed, 26 Jan 2022 09:28:35 -0500 Received: from mail-ua1-f52.google.com ([209.85.222.52]:36761 "EHLO mail-ua1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235227AbiAZO2d (ORCPT ); Wed, 26 Jan 2022 09:28:33 -0500 Received: by mail-ua1-f52.google.com with SMTP id u76so997889uau.3; Wed, 26 Jan 2022 06:28:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fHOCyGn2OpYXHR2TSZ46or0oGciq1pUeUpvpqS2jqZ4=; b=UYHpym5bUkuaL5ajYIN4b8oqcDtSlIiCZON6fyH/cFdovh45eLS6+97IL5An9SIi70 cJ7dZBoaN4QxryNm195m5cB+GIxWbYr/1Oi5fUaq4mYSzIt4LfM4BezLslhFmPE9arSk O0CVZFKHka1R2iTgXdN8llQ/7ZKEIdWVeodIFoUfaJ1qOhhEDrvTm6yP39IEtKlH+V05 hHHEQEx40pAvLcXBnxRzwsSDi3RLkDJse66u9n7YRgZfHLp0lCfOnDd9cN+t14Og37w4 5nTDdVgzfe+YHpr1SVMjikj1DzpvfuVWjYlh1kB3Ueyk6toli4h39qAZxtjDw6Dxw2Df OyZg== X-Gm-Message-State: AOAM531rNpAJA6DsxeeBaVi6nZYuUltj9Ty0Uf+T+E6+RASSJ7f8Dbpv d+68Z7r5Bo4NmL5i3jPfwgI7K/5FmSII3jla X-Received: by 2002:a9f:21ef:: with SMTP id 102mr9066965uac.53.1643207312631; Wed, 26 Jan 2022 06:28:32 -0800 (PST) Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com. [209.85.222.41]) by smtp.gmail.com with ESMTPSA id x18sm2514886vsj.20.2022.01.26.06.28.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jan 2022 06:28:32 -0800 (PST) Received: by mail-ua1-f41.google.com with SMTP id m90so43277206uam.2; Wed, 26 Jan 2022 06:28:32 -0800 (PST) X-Received: by 2002:a05:6102:34e:: with SMTP id e14mr2620287vsa.68.1643207311974; Wed, 26 Jan 2022 06:28:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Geert Uytterhoeven Date: Wed, 26 Jan 2022 15:28:20 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] docs: add a document about regression handling To: Thorsten Leemhuis Cc: "open list:DOCUMENTATION" , Linus Torvalds , workflows@vger.kernel.org, Linux Kernel Mailing List , Jonathan Corbet , Randy Dunlap , regressions@lists.linux.dev, Greg Kroah-Hartman , Lukas Bulwahn Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thorsten, On Tue, Jan 25, 2022 at 5:45 PM Thorsten Leemhuis wrote: > +How to create a configuration similar to the one of an older kernel? > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + > +Start a known-good kernel and configure the newer Linux version with ``make > +olddefconfig``. This makes the kernel's build scripts pick up the configuration > +file (the `.config` file) from the running kernel as base for the new one you > +are about to compile; afterwards they set all new configuration options to their > +default value, which should disable new features that might cause regressions. Doing so may actually cause mutations to appear in your .config when going back and forth (i.e. when bisecting), interfering with the bisection process. To avoid that, I usually start bisecting with "cp .config /arch//configs/bisect_defconfig", and use "make bisect_defconfig" in every bisection step. That way all steps are reproducible, and unaffected by config mutations. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds