Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3339949imm; Tue, 29 May 2018 05:41:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpEWAAhlrKM3w4wuhea01Fz8L3I/mv2Il2PpYd+vvkn4LKdIjcE5bht1sAhEBob1uctKbDT X-Received: by 2002:a17:902:9f84:: with SMTP id g4-v6mr17478055plq.152.1527597670413; Tue, 29 May 2018 05:41:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527597670; cv=none; d=google.com; s=arc-20160816; b=D2/C4MnU3/kh0bFKBsD1eX55EnyxeBpxDcng5KyMwYSrcUIBwSRYQeHNgvZuPgUsZ2 LaMyRrQ+1vUZgRJDw/jWNUurKiJuEC4BUTd7VcDLWO/ehdyzpDePQGDGQl/Mvs/PhXjt gIJ27beoydYRMz9m6bCWO+tIFSwMlOWO8vvKtzyO9rin3fzxOHdU8aT6ggNelvm8ZUAP bJcIYfvjeKR+/bbv4sRPJIuVTvBkWy0nPli7O2AuTw+AcR02dX3wk/pxt3L38NGEpDx0 YKMBQUomIeAoaLqDJYqb0jEWUOnI2F6SlxXSDE7dyH32ONUE3s+Nm4fbLOGJXBRYLCdS 6qBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=8aeSBAAjT4y/oJ4vIMbKsXEhGhBU2ZSQlWkW4JGQfT4=; b=EiNB1h3lsARW9qUfqqyruvy4STYeQHblFQ9n0GvNcw5muvofWpeWTquAiVLTCxU4Q2 Bj7R+FpiTd+/rD5weLGro7k+hkcPnrzoLkZyPBsqEtoSpT2BK1g5EJHSafCBH++Lsrg+ lEeAfBvWXWjCm/n2OhCY5Q/16g6U8zS4jKUnVrxXXbFdeHB8yIki6CLU5AYi3mhh0cXy EuWUKnfOMw7WcmT4dItpB2KpyrYotOpzFoQIqxWPZwpwZY07bIjAhLORRaKTn0ayGyQL Umiz7bKGro1DWn83DPETOEKHLchqpjLYyYLPRN8rJURIb9+E76qyY7tl9Cwzi+GSFv9j 4d/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=k8B2IIIc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7-v6si31351865plt.149.2018.05.29.05.40.55; Tue, 29 May 2018 05:41:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=k8B2IIIc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933899AbeE2Mjd (ORCPT + 99 others); Tue, 29 May 2018 08:39:33 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:39652 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933447AbeE2Mj1 (ORCPT ); Tue, 29 May 2018 08:39:27 -0400 Received: by mail-ot0-f193.google.com with SMTP id l12-v6so16741985oth.6; Tue, 29 May 2018 05:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8aeSBAAjT4y/oJ4vIMbKsXEhGhBU2ZSQlWkW4JGQfT4=; b=k8B2IIIc9nrA5GRR4OixmSSOuMvoGTdCPP7O8M9qjCXg+WwYqkrLpx5lhfzNLgDVON Ww7Bs2a5fCvAlVFbAa6YtbyqJCIYZ3Cttwlzlb2uolQVPPgaO3W+lRxTpBcqoTaqPCTJ zYKvjfOt0nhJZp6Z/4ujrfPVxXDoHfrCW5IZ2v09MZOpN9eBh8QyoOXJVIMg3y+kpB0J qtphyNF9KYyHnQtebax5v8A9sCQ/2bcmxtnXIbEwnOOOStNE/IbVjmUhrMWl3kD1FXMv BpuVBVcxqFeHGv85vRZBV3X7BTTNzH+4l2ypfrm63mcNkklCprSFku2XWZNX5f8oix5C z4HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8aeSBAAjT4y/oJ4vIMbKsXEhGhBU2ZSQlWkW4JGQfT4=; b=FAoljfJc9FsHJTRolPDW7T9j936aCWWhT+GfUnb3hvt4LClqm4iSjUGACB1YPaa075 ZZYnMKikaYHqL5+pdzesSceo/ubP6DywxcDwSolKX7WgW/mCYagdcwm+WgAgfhHfGpLW i2t4uWrq23CnDwSr0q32eArNvUkWr5Btze45zP0XUVa/yBwfjm1oJHDcK4IuE49tb+GN sBIrNa77mEfev3hlKPh/oAEpEesMDilkgodYX1zbEkWjXXSidAD0viYIUaoSzZkr/U4s ELWB5mxcVYwJJyiQ2M7Mv023f984VRpstmqBkEVNpIGCqMWRxhsxnhDyrZdq/xqcJLeD UJVA== X-Gm-Message-State: ALKqPwd7nV0sdnw6tAzTRHnk0M+qx7lJEU//GglfPtj97eQul2oPKtE/ 3YE4hLzOE2GXD1qeSIFjlk3oeDlo15LnvX/2CVY= X-Received: by 2002:a9d:3c38:: with SMTP id q53-v6mr4019728otc.39.1527597567066; Tue, 29 May 2018 05:39:27 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a8a:305:0:0:0:0:0 with HTTP; Tue, 29 May 2018 05:39:06 -0700 (PDT) In-Reply-To: <20180529222327.29d16eb6@canb.auug.org.au> References: <20180529210257.26da8de7@canb.auug.org.au> <20180529222327.29d16eb6@canb.auug.org.au> From: Mathieu Malaterre Date: Tue, 29 May 2018 14:39:06 +0200 X-Google-Sender-Auth: eFGBR2LEosHAOe8QSWee9Ft9YQk Message-ID: Subject: Re: linux-next: boot messages from today's linux-next To: Stephen Rothwell Cc: Michael Ellerman , Benjamin Herrenschmidt , PowerPC , Linux-Next Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen, On Tue, May 29, 2018 at 2:23 PM, Stephen Rothwell wrote: > Hi Mathieu, > > On Tue, 29 May 2018 13:56:48 +0200 Mathieu Malaterre wrote: >> >> On Tue, May 29, 2018 at 1:02 PM, Stephen Rothwell wrote: >> > Hi all, >> > >> > My qemu boots of today's powerpc linux-next kernel produced the following >> > boot message differences: >> > >> > -Max number of cores passed to firmware: 2048 (NR_CPUS = 2048) >> > +Max number of cores passed to firmware: u (NR_CPUS = 2048) >> > >> > Seemingly caused by commit >> > >> > eae5f709a4d7 ("powerpc: Add __printf verification to prom_printf") >> >> My bad. Patch is pending (thanks Michael!): >> >> https://patchwork.ozlabs.org/patch/921948/ > > Umm, that fixes some other messages, but not this particular one. Here is what I tried to say: diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 4d62f561f272..72ebe5896c1d 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -379,6 +379,11 @@ static void __init prom_printf(const char *format, ...) } prom_print_dec(vs); break; + case 'u': + ++q; + vs = va_arg(args, unsigned long); + prom_print_dec(vs); + break; case 'l': ++q; if (*q == 0) > -- > Cheers, > Stephen Rothwell