From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756096AbcJUAfv (ORCPT ); Thu, 20 Oct 2016 20:35:51 -0400 Received: from mga06.intel.com ([134.134.136.31]:29141 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751788AbcJUAfu (ORCPT ); Thu, 20 Oct 2016 20:35:50 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,521,1473145200"; d="scan'208";a="1047763977" Subject: Re: [RESEND PATCH v2 1/4] usb: dbc: early driver for xhci debug capability To: Peter Zijlstra References: <1476836305-4468-1-git-send-email-baolu.lu@linux.intel.com> <1476836305-4468-2-git-send-email-baolu.lu@linux.intel.com> <20161019130943.GA3175@twins.programming.kicks-ass.net> <58087B71.2040509@linux.intel.com> <20161020084132.GR3102@twins.programming.kicks-ass.net> <20161020090836.GH3157@twins.programming.kicks-ass.net> Cc: Greg Kroah-Hartman , Mathias Nyman , Ingo Molnar , linux-usb@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org From: Lu Baolu Message-ID: <580962E0.4000209@linux.intel.com> Date: Fri, 21 Oct 2016 08:35:44 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20161020090836.GH3157@twins.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On 10/20/2016 05:08 PM, Peter Zijlstra wrote: > On Thu, Oct 20, 2016 at 10:41:32AM +0200, Peter Zijlstra wrote: >> I'm already only using early_printk() because regular printk() is an >> unfixable piece of crap, and now you're making early_printk() useless >> too. > Note that the existing USB debug port stuff doesn't seem to have a > single lock in. Its just polling on readl and doing writel without any > serialization what so ever. > > Not that I've ever actually used it (lack of the magic cable), but it at > least looks like it should mostly work. > Thank you again. Your comments make sense to me. I will remove the lock and work queue usages in the new version. Best regards, Lu Baolu