Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4265323pxb; Tue, 25 Jan 2022 07:00:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1es8JW68lq11iVOH3syaTbZp9l5cm7NcUjunGR3WdQ75vv3jKVSU2+ePZPYstX11Hr7/8 X-Received: by 2002:a17:902:b116:b0:14a:a4a1:e7a4 with SMTP id q22-20020a170902b11600b0014aa4a1e7a4mr18532602plr.82.1643122858338; Tue, 25 Jan 2022 07:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643122858; cv=none; d=google.com; s=arc-20160816; b=VBP3/f5uoh1yZFx6YW2vmuUrbWxSAJDWtwnUByPqTuCT+voUoqVlDv1s56FzXFGOjt g8fQ64gzPkoY4RY6VPHvT73CqT8td1QGf+T28uAfpvpf9D9ow0oGE/Y9C+AQD7VzDrmo 7+UeZ1IhQXBvNVqIU/sng8GMfVN1ZuA+Oe5vOmxMUjttkamLicZxgv2EgyL2I7w7/Jhr ZOoL9PfvuzNLxdQ3Ix/QBMku9bS+Rih2FjmRQvy3LUHDFEpC7dkTdu/e8kAQoNhg8wNO GCY0ydw959ut6DvMWjG4lJvScnaBcpaq8cX62sPb9Vt/+llX1Wgh9nvTGML8C9fQ/F/m WuIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3C26yCyaXzcVvHeWZfOkXSeuOkga4w7PGrbQGmRCHFU=; b=uaV6UGWMpxHsHcK4Yl4wy87QZ2XSc2LTSe0SX1NDOBf3V8PDmiyIaB1kZ6eYn2pdYU DXrkI1ukpa1mUjoz/FNjaGsvXU/jaQDF91YvWUdzLUvuI/SK1sKXLJizXbbUvfJ1SDeJ bASKGp+Uqf+wlG5pza5wDaVzi1TUrJboAzSZG+ZdHNAEvJJHr+kJHSKNntU42xj4kek6 b8DEc+tmIz7HkDbIeyKIg15FwNRfzI9iptZlwVaNNtEfGCzCZ6zG7iXB8DS/syj3ISzh mJoVIuzDnzSpBLetDgn9cpH5TPzmgph//W3NSSM0Tvy9Q8MdyI6/KumAckyN5ge7RbFB 0T/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=HrETcTbU; 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 f2si18058572pfe.317.2022.01.25.07.00.43; Tue, 25 Jan 2022 07:00: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; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=HrETcTbU; 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 S1379758AbiAYK4r (ORCPT + 99 others); Tue, 25 Jan 2022 05:56:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236392AbiAYKyV (ORCPT ); Tue, 25 Jan 2022 05:54:21 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 171D5C061401; Tue, 25 Jan 2022 02:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3C26yCyaXzcVvHeWZfOkXSeuOkga4w7PGrbQGmRCHFU=; b=HrETcTbUllahnnU5GBR4Dd4EMz Pdv5BnIeodT7+zYAewTIOo3KfHQHagfZcdPShEueRJIrLoel288NVcNPrJu+6Mw61oAefybrA8wY+ snQWvD+ceANIg2Jr7pIwcvvHH5iQHBqv+IukBc2BcfOUDQX2IlVOZbWWkQw1YA6YFQ6+zHzKhmbHA TSb4bLxwL6+JV66tVdZP72ONwyyZisTD82O5hLjSBgdMKPepiFZvcnqfKOSd3g/alyn7Oazcbzy1I 1vi34EyIOzNUNJT9VAPLAbBF3RiVfkFHiSj2ubJDM4eEgHruF5jmkp/8VcEfBvJoPXrZO/KEZqZgF 70yVy4rg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCJSh-003Rt2-FS; Tue, 25 Jan 2022 10:54:07 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 439213002C5; Tue, 25 Jan 2022 11:54:06 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2A346212DC040; Tue, 25 Jan 2022 11:54:06 +0100 (CET) Date: Tue, 25 Jan 2022 11:54:06 +0100 From: Peter Zijlstra To: Mathias Nyman Cc: Greg KH , Dave Hansen , Lu Baolu , x86@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Chunfeng Yun Subject: Re: earlyprintk=xdbc seems broken Message-ID: References: <6e2700c4-07dd-76ac-cd8f-d9e5b9b24e74@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 25, 2022 at 11:47:11AM +0100, Peter Zijlstra wrote: > On Tue, Jan 25, 2022 at 10:51:00AM +0200, Mathias Nyman wrote: > > On 24.1.2022 18.46, Peter Zijlstra wrote: > > > > FYI, I'm thinking early_xdbc_parse_parameter should've now given > > > dpgp_num: 1 ? > > > > > > > Yes, it should. > > > > Looks like there's a parsing issue. > > "earlyprintk=xdbc1,keep" fails on our Tigerlake as well. > > > > Without the "keep" option it works for me: > > > > [ 0.000000] Command line: console=ttyS0,115200n8 buildroot_hostname=tgl04 earlyprintk=xdbc1 dmi_entry_point=0x74374000 > > [ 0.000000] xhci_dbc:early_xdbc_parse_parameter: dbgp_num: 1 > > [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.16.0+ root=UUID=a652986c-fbc6-4341-85c3-b4ad4402f130 ro debug ignore_loglevel sysrq_always_enabled usbcore.autosuspend=-1 earlyprintk=xdbc1,keep force_early_printk sched_verbose ft > race=nop mitigations=off nokaslr > > [ 0.000000] xhci_dbc:early_xdbc_parse_parameter: dbgp_num: 1 > > [ 0.399988] xhci_dbc:xdbc_start: DbC is running now, control 0x8d000003 port ID 15 > [ 0.399998] xhci_dbc:xdbc_handle_port_status: connect status change event > [ 0.399999] xhci_dbc:xdbc_handle_port_status: port reset change event > [ 0.431217] printk: console [earlyxdbc0] enabled > > Success!! I'll go submit proper patches for this then. Next up, I don't suppose there's working patches for GRUB ? Because the moment the thing gets stuck on a non-working kernel I'm screwed again :/