Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3956438pxb; Mon, 8 Feb 2021 04:36:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxMA9gSqiSmAmuGo8fdGK13/FjmzvviAVYPGnYwUVctCkaKmxURz5E4Zuu4RYSAQbOXyOwQ X-Received: by 2002:a05:6402:d05:: with SMTP id eb5mr16680357edb.143.1612787789863; Mon, 08 Feb 2021 04:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612787789; cv=none; d=google.com; s=arc-20160816; b=sWocqj69k2Vdmw/zZtQrgTeBf900SI86cvcnvdCO9H5JRJkj+w3Jx7IiuXh9rKSysz eLuogalF38YNTO9qAApRposVQZwixS+zIEUiMMyC4quF1dguIVnuaIi9IHlTGxR+fHmN tyQX1PNSSWV0aPmh4vUEtkRZZkiYmtw8onniIPn3eIQhqII4CSUug2Kwh+0mx8I5K7ST SPkiA2x4BEjCMGAfWsHlO2SdlMTLT+uZe2UJzvPTx+/ijY+vZPxAO/mptWa1AXJ5+OqA ZiqfBkF3h9ptaY4Y2EP04n4uWobHaT+/rDm6fdigWmAmTAajsSgKozbPLhlqBd56cx+F nn4w== 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=dQEwbiMypKhbBuryhmpezZFoAPFM9BbLGoij2BA5Z4A=; b=NYxM/LZwo9O7wxU+4kihdQaYFngvii6eGBGzOrr7NVcQy/7r+51KSRQ66Q1m7OMCAy XGitdkxtPczsSOnHFrRDlMaQ1uaSAKb1aIvc89bgdR8UkSNPEArchdajq4D2a3NnQEgn C3yyHPWaElUSBp+elTB8olByBMNPgJc9YKmrIdeE2eJ3OkH16XJugI7Zp2OhkP3iL6lq FK5Cn28fJimU/Vla4nWp/9p2yTvZWvOgj8JNfccsOs+qPKeN6kgUkktfQLXw52c8Xe00 gG/ArLuU/NKfzLULpIxTOiL7VIs3olClXkwdFUOoEgaZGOACs6VQ2O5LMM2OxDumQvq9 O3Xw== 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 ar21si11205501ejc.618.2021.02.08.04.36.05; Mon, 08 Feb 2021 04:36:29 -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 S232951AbhBHMd2 (ORCPT + 99 others); Mon, 8 Feb 2021 07:33:28 -0500 Received: from mail-oi1-f174.google.com ([209.85.167.174]:33550 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232195AbhBHMXi (ORCPT ); Mon, 8 Feb 2021 07:23:38 -0500 Received: by mail-oi1-f174.google.com with SMTP id g84so1581966oib.0 for ; Mon, 08 Feb 2021 04:23:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dQEwbiMypKhbBuryhmpezZFoAPFM9BbLGoij2BA5Z4A=; b=P08Eh1b7G4IoBa52wZ9xBgrPDcISlUuYeadvVcX6vHyxNsqCPoDxvtqjGuXFHGidtX YG4CEUMG1+thJpSJVuqI3Us0v3pQEBcvjLLfNM5g9GTPd9aeauMxskmV9nwm1Teb6uSi gY1oHJUlxx43IULY6crPnTAVv4c5uAmErSNOnLf5ywV4jwOL+DkkQowY8+OXgKrsm6KK W3PZ2AuUEnZtBQbj9zvRqPwxiPUiOk58gcboDKTxspeSRdJVGe6NvjOHSJpQ1AMNLZbp xytJgsp0cvetAObIuru1nNQ/2Ypk1Rs3vjXJeJ+rbp3N3jbrwQGwDFEmDoWZtgujLkHJ vW8A== X-Gm-Message-State: AOAM532tHL1e8GTz+51PCHNXkChe71KX4+z3hjdvcaBYLOTGa/xewtPi Fv085L65uocIDKl/2v7rBH3krcThT0jnBvwYW1E= X-Received: by 2002:a54:4e88:: with SMTP id c8mr10766501oiy.148.1612786977234; Mon, 08 Feb 2021 04:22:57 -0800 (PST) MIME-Version: 1.0 References: <20210129221643.GZ2002709@lianli.shorne-pla.net> <2a018afc-d797-3a91-ffab-e55ae3b0a795@rwth-aachen.de> <20210130230310.GC2002709@lianli.shorne-pla.net> <20210131212752.GG2002709@lianli.shorne-pla.net> <6dbc27f8-5261-59c5-acba-70f6c6a74ba1@rwth-aachen.de> <20210205144317.GK2002709@lianli.shorne-pla.net> <20210205223651.GL2002709@lianli.shorne-pla.net> <20210208121648.GN2002709@lianli.shorne-pla.net> In-Reply-To: <20210208121648.GN2002709@lianli.shorne-pla.net> From: Geert Uytterhoeven Date: Mon, 8 Feb 2021 13:22:46 +0100 Message-ID: Subject: Re: [PATCH v2] openrisc: use device tree to determine present cpus To: Stafford Horne Cc: Jan Henrik Weinstock , Jonas Bonn , Stefan Kristiansson , Openrisc , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stafford, On Mon, Feb 8, 2021 at 1:16 PM Stafford Horne wrote: > On Sat, Feb 06, 2021 at 10:33:24AM +0100, Geert Uytterhoeven wrote: > > On Fri, Feb 5, 2021 at 11:36 PM Stafford Horne wrote: > > > On Fri, Feb 05, 2021 at 05:07:51PM +0100, Geert Uytterhoeven wrote: > > > > On Fri, Feb 5, 2021 at 3:43 PM Stafford Horne wrote: > > > > > On Mon, Feb 01, 2021 at 12:49:31PM +0100, Jan Henrik Weinstock wrote: > > > > > > Use the device tree to determine the present cpus instead of assuming all > > > > > > CONFIG_NRCPUS are actually present in the system. > > > > > > > > > > > > Signed-off-by: Jan Henrik Weinstock > > > > > > > > > > I cannot apply this patch, it seems you somehow sent it signed as a multipart > > > > > message via Thunderbird. > > > > > > > > > > This causes errors when trying to apply, even after I tried to manually fix the > > > > > patch mail: > > > > > > > > > > Applying: openrisc: use device tree to determine present cpus > > > > > error: sha1 information is lacking or useless (arch/openrisc/kernel/smp.c). > > > > > error: could not build fake ancestor > > > > > Patch failed at 0001 openrisc: use device tree to determine present cpus > > > > > > > > > > Can you send this using 'git send-email?' > > > > > > > > > > If not I can get it applied with some work, otherwise you can point me to a git > > > > > repo which I can pull it from. > > > > > > > > "b4 am 6dbc27f8-5261-59c5-acba-70f6c6a74ba1@rwth-aachen.de" works > > > > fine for me. > > > > > > > > git://git.kernel.org/pub/scm/utils/b4/b4.git > > > > > > Did it work? For me I got, base not found. > > > > > > Looking up > > > https://lore.kernel.org/r/6dbc27f8-5261-59c5-acba-70f6c6a74ba1%40rwth-aachen.de > > > Grabbing thread from lore.kernel.org/lkml > > > Analyzing 9 messages in the thread > > > Will use the latest revision: v2 > > > You can pick other revisions using the -vN flag > > > --- > > > Writing > > > ./v2_20210201_jan_weinstock_openrisc_use_device_tree_to_determine_present_cpus.mbx > > > [PATCH v2] openrisc: use device tree to determine present cpus > > > --- > > > Total patches: 1 > > > --- > > > Link: > > > https://lore.kernel.org/r/6dbc27f8-5261-59c5-acba-70f6c6a74ba1@rwth-aachen.de > > > Base: not found > > > > That just means the patch contains no information w.r.t. its base, i.e. > > against which tree/commit it applies to. To be ignored. > > > > > git am > > > ./v2_20210201_jan_weinstock_openrisc_use_device_tree_to_determine_present_cpus.mbx > > > > Just run the above command ;-) > > > > In addition, you can run "formail -s scripts/checkpatch.pl < *mbx" first, to > > run the mbox (which could contain multiple patches) through checkpatch. > > Thanks for your help, but this is still not working. See that attached patch. > If your patch doesn't have this corruption then please forward it. If Jan could > point to a git repo or reset with 'git send-email' that would be great too. > > It seems that the mailer has corrupted the patch by adding and removing > whitespace to each line. > > I don't have a 'formail' command, but I did try 'git am' and 'checkpatch.pl' and > it shows: > > < shorne@lianli ~/work/linux > git am v2_20210201_jan_weinstock_openrisc_use_device_tree_to_determine_present_cpus.mbx > Applying: openrisc: use device tree to determine present cpus > error: corrupt patch at line 62 Indeed, the patch is corrupt. Sorry for not verifying that before. I just thought you had an issue saving multipart patches. 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