Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp729846rwb; Tue, 4 Oct 2022 09:50:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM79qfbb8Mjf7lte7VX8ZDcoA0YcwbR3rWuUwCTLNlcE2YN3vX8lcAU/o8g2fXUNj2gNMpMD X-Received: by 2002:a17:906:8251:b0:781:8016:2dc9 with SMTP id f17-20020a170906825100b0078180162dc9mr20378328ejx.488.1664902249684; Tue, 04 Oct 2022 09:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664902249; cv=none; d=google.com; s=arc-20160816; b=gKMmfBmBKYnL81nC8TP/72hcUu+6qA18RP3jyLBMkupo8CCjycL0+i+p/jDRQsTa/W oUgWLrK5N28QD/ZMVTcTZaHhWM98ihiSpdg1dJ4yvrfMnAVaILOZ5idW5uLKBUTfor2X r28WUs0dvQAtd30tN7XQDaL0/LRJcnPQ6adu+T6eJx/VU78dxc4A+f++MaIJ0isFYFLt 7t+7VP/HkQ2wxwW3iWgG37jBkHfRZYagmSA9AoNRYy7jhQMvXhaV+XvqDuLnp20zpzI0 xD/KSc3jJS+nQfM8N0wqxoDd8DW2WqAya3PT6ePCYRV8NzKkzSFCqi9LfpyoCibna+FT Z7Ew== 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=9rLTD5524ltpp+EX1g/hQgTLlmpZkYZOlGRyUWnMDxw=; b=sGofM5jNWubQS7PirfM2g7MrT81Hbd91mxqJ5a26e7WWFA4xHYcBXF6nSKZnQokfc3 4ZWoHzDvto1XuIeM6ktpw1MCJ+386sK915h0lFuM0F6e6vB/5b/lA0H8dnIrRWvlOHef 0Eb6sl+mvnL+0pDsOG8pSk9149Y4GeP5Myml+w7lw1Tv9t35ac1dPmSf52DDEFn95JZM pIUpZlfSzaD2NqOUthG06lHYF2l0R423hcPVLEVaMtNsUQiQKnktrNfU/mfFsTIMjuJV 0CeZUPHZDrFrENIumvU+vx23gTZ4WgPLndO85+QW7Re/kFEg/ltAPBFsJV7PlXaQ+CN3 LdbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VicybJtz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz7-20020a1709077d8700b0077979f8d3dbsi11285255ejc.838.2022.10.04.09.50.23; Tue, 04 Oct 2022 09:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VicybJtz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229725AbiJDPuW (ORCPT + 99 others); Tue, 4 Oct 2022 11:50:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbiJDPuT (ORCPT ); Tue, 4 Oct 2022 11:50:19 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD16812ACC for ; Tue, 4 Oct 2022 08:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664898617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9rLTD5524ltpp+EX1g/hQgTLlmpZkYZOlGRyUWnMDxw=; b=VicybJtz79uEI6gVj4NAzt6UbUEyqbMhFAKqNZImHiKIian0gbXXk32mvyOX93IVgJTm1G vBDVSU65waOzv08caU2Nzr2SieWC7Iztm5HpcAxoLKeRqXwa2+8VQHyR6JPckS5JcYSF6s YLZHhrt3VmqgLBhpYL3/LFV3qhhVlN0= Received: from mail-oa1-f71.google.com (mail-oa1-f71.google.com [209.85.160.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-361-A6UvrF0LNWqz0TRZzBStsA-1; Tue, 04 Oct 2022 11:50:16 -0400 X-MC-Unique: A6UvrF0LNWqz0TRZzBStsA-1 Received: by mail-oa1-f71.google.com with SMTP id 586e51a60fabf-131d7e4f7e9so8771213fac.8 for ; Tue, 04 Oct 2022 08:50:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=9rLTD5524ltpp+EX1g/hQgTLlmpZkYZOlGRyUWnMDxw=; b=oGrMqYri4otReC2JRvMnhkw6+GUzsEdnU0SIVt2Gqjfm5+6pbzfDDSjhocXL7DsrLX 3pbo0M0achBeml3JQvoWNVbwrx3NtH3XVriCYIwdIHQasVWm9TFpPX7W0Mj2fC6g5CjO iYCWrsdewRMuzT4Dcj8gSOicCCGhz2Jw+qPWjHTslm/9ctELjUINFNaq7Ojy1JZr/N/8 WA3KUfAaNgUJPRVUqkUxzODalbxtC1nJlSgUiMFZt2FcZpjo9pEwNpQ7cZTe5dbkkLWr /TpDYLUcQ1YzP3cCvkFRPsjAnhCYLcxU3Cc9iqXPsD/OD4Hpk/FQRB1c/UN33zGDwNF9 zavw== X-Gm-Message-State: ACrzQf10C/It2No6gJGczF8dgN4oEXI0HVGgC1h/5tTnG0D7QwS+XLo0 Ugyzm6auIhEJu0Cb/X828imHCPSlJSEF0wR6Al7mQsuej7ojgCslt4wdNIQJIm34XLcUae+1hjf wZhF6Xo1JiruOs7tjrjK5C2/4 X-Received: by 2002:a05:6808:1286:b0:350:994a:959 with SMTP id a6-20020a056808128600b00350994a0959mr193093oiw.136.1664898615324; Tue, 04 Oct 2022 08:50:15 -0700 (PDT) X-Received: by 2002:a05:6808:1286:b0:350:994a:959 with SMTP id a6-20020a056808128600b00350994a0959mr193080oiw.136.1664898615120; Tue, 04 Oct 2022 08:50:15 -0700 (PDT) Received: from halaney-x13s ([2600:1700:1ff0:d0e0::21]) by smtp.gmail.com with ESMTPSA id z187-20020aca33c4000000b00342d207e68bsm3185851oiz.37.2022.10.04.08.50.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 08:50:14 -0700 (PDT) Date: Tue, 4 Oct 2022 10:50:12 -0500 From: Andrew Halaney To: Eric Chanudet Cc: Brian Masney , Parikshit Pareek , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shazad Hussain , Johan Hovold Subject: Re: [PATCH v5 0/3] arm64: dts: qcom: add dts for sa8540p-ride board Message-ID: <20221004155012.5vhk7oq7ly7rw62w@halaney-x13s> References: <20221003125444.12975-1-quic_ppareek@quicinc.com> <20221004132816.ryhyo5ihwruxspl6@echanude> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221004132816.ryhyo5ihwruxspl6@echanude> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 04, 2022 at 09:28:16AM -0400, Eric Chanudet wrote: > On Mon, Oct 03, 2022 at 01:31:52PM -0400, Brian Masney wrote: > > Just for documentation purposes, to get linux-next-20220930 booting on > > the QDrive3 with the upstream arm64 defconfig I had to apply the > > following patches: > > > > - arm64: dts: qcom: sc8280xp: fix UFS PHY serdes size > > https://lore.kernel.org/linux-arm-msm/20220915141601.18435-1-johan+linaro@kernel.org/ > > > > Without this, the phy fails to probe due to the following error: > > > > qcom-qmp-ufs-phy 1d87000.phy: can't request region for resource [mem 0x01d87400-0x01d87507] > > qcom-qmp-ufs-phy 1d87000.phy: failed to create lane0 phy, -16 > > qcom-qmp-ufs-phy: probe of 1d87000.phy failed with error -16 > > > > - This hack patch is still needed: > > disable has_address_auth_metacap and has_generic_auth > > https://github.com/andersson/kernel/commit/d46a4d05d5a17ff4447af08471edd78e194d48e5 > > > > Without this, the boot hangs at: > > > > rcu: srcu_init: Setting srcu_struct sizes based on contention. > > arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt). > > clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns > > sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns > > > > - My UFS clock patch is still needed: > > arm64: dts: qcom: sc8280xp: correct ref_aux clock for ufs_mem_phy > > https://lore.kernel.org/lkml/20220830180120.2082734-1-bmasney@redhat.com/T/#u > > > > - I didn't use an initrd for testing so I had to change the options > > CONFIG_SCSI_UFS_QCOM and CONFIG_PHY_QCOM_QMP from =m to =y. > > I followed the instructions above and linux-next-20220930 booted on the > QDrive3 to a prompt. It then hanged after a couple minutes and rebooted > in Sahara mode: > B - 1662280 - Sahara Init > B - 1665422 - Sahara Open > > There seems to be no trace from the kernel, this happened consistently > over 3 boots. > > I asked Brian, he mentioned he only booted to prompt so that may have > happened unbeknownst to him as well. I took the upstream defconfig for a spin and see similar. My T-B was for this defconfig (downstream one + make olddefconfig) which works ok for me: https://gitlab.com/ahalaney/linux/-/commit/40f1b241117716ef4b0e27cf50054e749b8ff608 Thanks, Andrew > > -- > Eric Chanudet >