Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1092779ybl; Sun, 1 Dec 2019 20:16:14 -0800 (PST) X-Google-Smtp-Source: APXvYqy9A4Ip+VW/RGxOMBc94rxRyRisMjmH4HZ92tzJw7TjM5NkNsWi5eVDSDAe4BdriZ4QdVPR X-Received: by 2002:a17:906:da1d:: with SMTP id fi29mr20316220ejb.205.1575260174393; Sun, 01 Dec 2019 20:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575260174; cv=none; d=google.com; s=arc-20160816; b=Ao7gHzHpeUhL7+ndoktuEAfFtlgaoKZgkBxaa5q+v20EZEhat1MFlqw7vkObehqPn5 bbxzuZ20hdyeskO7xRBPpv9qN8olrX/HZkugak8auWu+4DDaeTsfxXhNwl7Sh4eojj0/ FUtsAe3U7Iar5/i7yCBYLTLa0eLe4zkZvOHmBqexD6YxKwntmJA/ENWQEjXTRzSXN5I/ 5OcAZuXTCWFf8mGwaTp8PxvB/ePfo9cKkWPusq+39HSnjYRNpC8LVEHUtR7Utmet1i/e HuhisWcZEkA+D7Q0KqK0XBQSSavF7QagIw2kBvUVk+59j9/eNtqNq+njPJxOaKGnLhC9 AoIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=f/5KDWwc/xKNxHsiDOtb26jMc/teIu2y72BKQlD6HUw=; b=mTr0+x4sFfV38+TH0LL7CpNbnzGsQv/PwymnjQ5hr/kKKP0o2Qs/WCqOV5z2bZeM6x bncS2Fs6rHFX+nNpDmZjyQ9JRF3BKve5Kqjn3LDOpuqvphNPy9h/GglWKG6B7l9Pfblw mYDSq53h2Xe2TzoQMFGNab0f3U3EydeD2+oJKKWXVeMCZq7+2QrV/ObcbxinvDq/vnRv T0cV9sdeX9ziVI7KgzG53LtHjcavZhBGk6dD2IVy34T+J9XdezlSXqXOU09VZJXj8GTN 2ckFbTH+kJI6D4RD+/CjprPCd9QhszItmgVHvwXtSbCsOnJF62Alukw9p8msMrQZXTlD rIbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=PyPB0suN; 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 r9si3624309ejh.204.2019.12.01.20.15.49; Sun, 01 Dec 2019 20:16:14 -0800 (PST) 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=PyPB0suN; 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 S1727378AbfLBEOq (ORCPT + 99 others); Sun, 1 Dec 2019 23:14:46 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:41943 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727298AbfLBEOq (ORCPT ); Sun, 1 Dec 2019 23:14:46 -0500 Received: by mail-oi1-f193.google.com with SMTP id e9so31203747oif.8; Sun, 01 Dec 2019 20:14:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=f/5KDWwc/xKNxHsiDOtb26jMc/teIu2y72BKQlD6HUw=; b=PyPB0suN3Ac/0YBN/GdG8mMtlpX+Q2k15I84EAq6fyg6P3jVxHJ+pL9vSwl/+B+8q4 PWU3EUC+3u7/7UkoBdF9NI8morrmDlADs397ZTs6x/CLy3KRHnBCSu7jf0NpWKJWbtK0 OS9SNvWEjeRkbN5l/YTF7NK1uWGN7UXFD0tmWlOH505dDMXvfWWIRgLCgbLFhkoFHcho tRbUvog+kYJmqI9IQlg6//ZjWVpwEAUy674rkBNd4ySL5ywzMlA1ncNQk3XpJw/BIibJ VVn1hTFhHjahdJyg/TDKWziZHhJvo6NBn2Nist5N+J2skFel2VqMuSZZ0jvw/GzuCTzZ zmaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=f/5KDWwc/xKNxHsiDOtb26jMc/teIu2y72BKQlD6HUw=; b=hVuPOt9diZ1HC6AjblSd9TeXYCdW7doIUYBduUhgRF4op3maFHU7EgAoa1vKPn2H1a WNdLn9DzGbWFl1vleWiJn/FvmZ+pVcRShKLDIrmAHeW/dZ5Fp4DjzR3rrjmkZNreh3Qd qL4roykSAmdIm3NzrmNxEXQAVDwmg1CTxaUc7CfmlPcQV1pozPIU7fJ9wtru3e0qMxbS JW3M40up882bs+gkEy+/yP0+FEqGvZImp9fWdGRzqwFpqXMcBd5XwS/h9iidKS1G/FB5 +eX3vAKd+HTemF252PXFDpv9lwFRagyEwS7WR1x51FSZvVae2MVKOuBNQVqnWh/xF+Yo 9FeQ== X-Gm-Message-State: APjAAAX48oVcz1Xq6/iMFDl23WExDJuFuiHI7cnvKvZyFOQBp5KSq0/j G9Y44OQ+o4RrWrSycwcL+yfpnOoT X-Received: by 2002:aca:d4c1:: with SMTP id l184mr22524637oig.172.1575260083692; Sun, 01 Dec 2019 20:14:43 -0800 (PST) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id y23sm10176414oih.17.2019.12.01.20.14.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 01 Dec 2019 20:14:42 -0800 (PST) Date: Sun, 1 Dec 2019 20:14:40 -0800 From: Guenter Roeck To: Bartosz Golaszewski Cc: Yoshinori Sato , Rich Felker , Greg Kroah-Hartman , "Rafael J . Wysocki" , Daniel Lezcano , Thomas Gleixner , Jiri Slaby , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v4 1/2] drivers: move the early platform device support to arch/sh Message-ID: <20191202041440.GA1628@roeck-us.net> References: <20191003092913.10731-1-brgl@bgdev.pl> <20191003092912.G3pupKBmyct1r9ScP5Skuw9D-_ALcMVSnfMfHAlwe0Y@z> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191003092912.G3pupKBmyct1r9ScP5Skuw9D-_ALcMVSnfMfHAlwe0Y@z> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 03, 2019 at 11:29:12AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > SuperH is the only user of the current implementation of early platform > device support. We want to introduce a more robust approach to early > probing. As the first step - move all the current early platform code > to arch/sh. > > In order not to export internal drivers/base functions to arch code for > this temporary solution - copy the two needed routines for driver > matching from drivers/base/platform.c to arch/sh/drivers/platform_early.c. > > Also: call early_platform_cleanup() from subsys_initcall() so that it's > called after all early devices are probed. > > Signed-off-by: Bartosz Golaszewski Wondering ... has anyone tested this patch on affected hardware ? All my qemu boot tests (both sh and sheb) fail because of it. Bisect log below. Guenter --- # bad: [72c0870e3a05d9cd5466d08c3d2a3069ed0a2f9f] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input # good: [89d57dddd7d319ded00415790a0bb3c954b7e386] Merge tag 'media/v5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media git bisect start 'HEAD' '89d57dddd7d3' # good: [0a6cad5df541108cfd3fbd79eef48eb824c89bdc] Merge branch 'vmwgfx-coherent' of git://people.freedesktop.org/~thomash/linux into drm-next git bisect good 0a6cad5df541108cfd3fbd79eef48eb824c89bdc # bad: [9a3d7fd275be4559277667228902824165153c80] Merge tag 'driver-core-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core git bisect bad 9a3d7fd275be4559277667228902824165153c80 # good: [59274c7164807d27b24e6c068dfe734f7bea4623] Merge tag 'usb-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb git bisect good 59274c7164807d27b24e6c068dfe734f7bea4623 # good: [e71903106721dc53923e90aa484d78bc86c039a9] staging: mt7621-dma: align to match open parenthesis git bisect good e71903106721dc53923e90aa484d78bc86c039a9 # good: [8f56e4ebe05c26c30e167519273843476e39e244] Merge tag 'char-misc-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc git bisect good 8f56e4ebe05c26c30e167519273843476e39e244 # good: [8bde9f3d2a217d1635a7c7bdf8ad4c25c9a34b50] Merge tag 'iio-for-5.5c' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next git bisect good 8bde9f3d2a217d1635a7c7bdf8ad4c25c9a34b50 # bad: [0628cda318df6baec439ca6e6e274007492f1ccd] mac80211: Use debugfs_create_xul() helper git bisect bad 0628cda318df6baec439ca6e6e274007492f1ccd # bad: [03324507e66c7664c754b1ef92c5c3be24c78aa2] driver core: Allow fwnode_operations.add_links to differentiate errors git bisect bad 03324507e66c7664c754b1ef92c5c3be24c78aa2 # bad: [313f5dbba41d905d59c820bb2d91ee6c661aff99] debugfs: remove return value of debugfs_create_u16() git bisect bad 313f5dbba41d905d59c820bb2d91ee6c661aff99 # good: [d4387cd117414ba80230f27a514be5ca4a09cfcc] of: property: Create device links for all child-supplier depencencies git bisect good d4387cd117414ba80230f27a514be5ca4a09cfcc # bad: [c31e73121f4c1ec45a3e523ac6ce3ce6dafdcec1] base: soc: Handle custom soc information sysfs entries git bisect bad c31e73121f4c1ec45a3e523ac6ce3ce6dafdcec1 # bad: [201e91091b1d47047f55580b5474e1239f4d17aa] sh: add the sh_ prefix to early platform symbols git bisect bad 201e91091b1d47047f55580b5474e1239f4d17aa # bad: [507fd01d5333338753a1cc26322dfc9f856c109f] drivers: move the early platform device support to arch/sh git bisect bad 507fd01d5333338753a1cc26322dfc9f856c109f # first bad commit: [507fd01d5333338753a1cc26322dfc9f856c109f] drivers: move the early platform device support to arch/sh