Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2417876ybi; Mon, 17 Jun 2019 04:34:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzk5RZ8JbkpzW+On74/mm+NCVaKWAuP0VgXTFrvCXRaUjE6vzeRTXNYsppHZdwaxaPb3B7B X-Received: by 2002:a17:902:b102:: with SMTP id q2mr20742080plr.149.1560771297981; Mon, 17 Jun 2019 04:34:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560771297; cv=none; d=google.com; s=arc-20160816; b=ygAZi6wJVVB3MnuvFHjXcdW46BrD5GfwAzoYyrA+bNBC8Uf4n9Fixeo0ZTO7CocHfF NleW2fgPaMd9rQ5ezDwv3HbGRVVQkQXmhnmOUdqEaeFUGYLU1UlBP0ViInRaZZyMT6e7 tf10TrTMu1G2ScfhgCGhxqh6oRXjEytqjLhZNPgii5uYovIV3shzjhzQbnletsn1tlTy Q8DCntGruJsSHkagm7UaXBOdAPZ18hGIOSpDiDZA7qY8mgZLVyepAgRSVq2AIDR/9sgA Zu39aXZMIefa068gAk1/ONNWqje7ynI0FHjtwguo1ScuAnTcT99x/ZykfHsZ+AznSESJ ejEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=9vPSLa5+XLyQJw19zpdaml7fRJQhxguAtOgI7YT73oo=; b=ozmglNnKW3BkV3TDmvfLxyGlMKPKAa7m/SbOrvCG4nzbMcymHaGjBs67igKY2ZB0Sm CnPr4JCWewzMbEbomezrKTww0rrPseKjq0EuzvI8xI5gPSmEHrwoUbRysOehQgheZIPi Q/4KExjw3kksld9BnvYA4cKXoXXp7IbBTaFQuoWQxEl+rGUHpGYCd9YUHWu2pGF4eDBz 4zR8Mpf6G+9YVuBey16ChFGfLeGNvjy1HJp0AY7ktH03ia+DnPGLBTzMS93oPt56CzZh 0Tpwt9tepedRR7pfDvrUT3wTPTWSrABugwhDohlsxFz/ctT2TnvlEmXLRaRuz4qIC+/Y oYJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=YaXNNhpE; 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 x204si10539200pgx.354.2019.06.17.04.34.42; Mon, 17 Jun 2019 04:34:57 -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=pass header.i=@sifive.com header.s=google header.b=YaXNNhpE; 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 S1726642AbfFQLec (ORCPT + 99 others); Mon, 17 Jun 2019 07:34:32 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:33423 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbfFQLeb (ORCPT ); Mon, 17 Jun 2019 07:34:31 -0400 Received: by mail-ed1-f65.google.com with SMTP id i11so15730279edq.0 for ; Mon, 17 Jun 2019 04:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=9vPSLa5+XLyQJw19zpdaml7fRJQhxguAtOgI7YT73oo=; b=YaXNNhpEEHuGAVVYKiFjcIjtnlRn+SX4KK6cHn4Pg7lywkMBTaTfMWwp9ZftE10ZTr nuJ/UU47huRRPPSztqkz4DT7OKeZiKaT3eRLIl1roljXdiZqjxVtFlg3kLPfsMBLX4Un 7ceatCqEab2IpD+LDjdjSxFc3CPR7yAI7ByqoRuTM6zTdeKEHebGRoQcAkX8h/0DLvtx mU1LmYOU6smRlrahMdW/qJObnQsEC/dU3qrlVLLrj1wviK4LfngoI/syjUqsbWjuk/se mN/ZqzvXU79WwIu8OvQHKDBC0nfBXRps1lnFQdEllgWHSwdSXd1mJ+KOqrNNWMbWO75W khiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=9vPSLa5+XLyQJw19zpdaml7fRJQhxguAtOgI7YT73oo=; b=pf2KEokoYzt9CUnhYG4lF/rXNr58WpcCY8011Ps/6sP2xR45u0A8eaG8+SUcDWXqQe dHumKglCiGpi7aat61+0B9enztnuoFzeNyQTwewFMf4KXHeIJVWfrK3BaEfViJnhvOJ0 pUFaKpqn3fIwjhy3ML/aIyMygVwLYhrlAdgD8lc0L+LA7ryfEIujwlq+w33R38M9GESu hmbNy3yMaYajrJyyaGopRt8QB1gjytLeImAwbR+9Kufdn7HA+ohpEQaf9J2SwpLW8J+1 UdihVd3ocJOQM83H5fOicsqpJrPsa8m/sOnVObdoeI5xKC7gPuJPCUYUgl9BwYHvcTka vLcw== X-Gm-Message-State: APjAAAX6Cx+EYa3riVmllCqC2FZfhUx/gYfxyMmbQngjQl0Ws/cpy9Hd JurP19GAN4OrnWCr7ILHF2OMkw== X-Received: by 2002:a50:d0d6:: with SMTP id g22mr46189168edf.250.1560771269879; Mon, 17 Jun 2019 04:34:29 -0700 (PDT) Received: from localhost ([81.92.102.43]) by smtp.gmail.com with ESMTPSA id s5sm3434216edh.3.2019.06.17.04.34.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 17 Jun 2019 04:34:29 -0700 (PDT) Date: Mon, 17 Jun 2019 04:34:28 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Andreas Schwab cc: Yash Shah , davem@davemloft.net, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, nicolas.ferre@microchip.com, palmer@sifive.com, aou@eecs.berkeley.edu, ynezz@true.cz, sachin.ghadi@sifive.com Subject: Re: [PATCH v2 0/2] Add macb support for SiFive FU540-C000 In-Reply-To: Message-ID: References: <1560745167-9866-1-git-send-email-yash.shah@sifive.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Jun 2019, Andreas Schwab wrote: > On Jun 17 2019, Paul Walmsley wrote: > > > On Mon, 17 Jun 2019, Andreas Schwab wrote: > > > >> On Jun 17 2019, Paul Walmsley wrote: > >> > >> > Looks to me that it shouldn't have an impact unless the DT string is > >> > present, and even then, the impact might simply be that the MACB driver > >> > may not work? > >> > >> If the macb driver doesn't work you have an unusable system, of course. > > > > Why? > > Because a system is useless without network. From an upstream Linux point of view, Yash's patches should be an improvement over the current mainline kernel situation, since there's currently no upstream support for the (SiFive-specific) TX clock switch register. With the right DT data, and a bootloader that handles the PHY reset, I think networking should work after his patches are upstream -- although I myself haven't tried this yet. - Paul