Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) by mail-b.sr.ht (Postfix) with ESMTPS id E2B70FF0C0 for <~postmarketos/upstreaming@lists.sr.ht>; Wed, 1 Jul 2020 13:50:46 +0000 (UTC) Authentication-Results: mail-b.sr.ht; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=rvVIaySq Received: by mail-ed1-f67.google.com with SMTP id by13so9927066edb.11 for <~postmarketos/upstreaming@lists.sr.ht>; Wed, 01 Jul 2020 06:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=x6o1wkUwjMuIR89Ql/nev/CvdBqKZU3NdYKJFabOM+Y=; b=rvVIaySq9mtTuhuIi+50y4YnttLRbH/7eWb3ro520avRBvTmtcMlkt+hn+Eki5xRMK xjDAAqxGbBAPL4vrUpuuJagnSTGmvK52DjomFS4Ui8xj/89Jf5N7Y/9HyD6k6jgsOVeY c4KWJWKUKu6VWx0Et+jBjsQ2gZc/lcI2c9zlfuege0n10g26xBKyUEwtjpIcvTc2cjUN DRtJ+mWbAmxvjUAdADT6fAOFbCLK3NlJ+/1SJwE1NoyP7xOeKxjUeEh9SqnSo26j0PVg soe5BlKucj5CVRNuGpuRfKb++UNJOhU5Mp55WQcWvAIGaTTpHLPm0KNY3FYeRr0hLnNY oxJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=x6o1wkUwjMuIR89Ql/nev/CvdBqKZU3NdYKJFabOM+Y=; b=Xg8Ex3MX6hDGNgHAzYdAjy3JwvJCccFmtQhCgRnLDOtSs+O7svcpDTe1XsvOOgk82O nGMt/SxH+VFZFaameE3U1eYBBK/NlYllziEnWW5qWoo5Vlscu3AqOWgDNX5JGfkmiO0z tMZkf5cGLXxQHT4jhGBD3acF5+BiAQnRlrw3chKBYstFFV6RUYrAfCe729IDHswpMKQv tagA1dPduXab2VcIADRu6T+ggstKk30zadjL+wZ0wlYWT4nUX05xlRO7p7v9TBMttLzY bzFTzcyk/jHYeOlE/agP7/cJKVnhL2jQJytLcDnasuPBBtaO88R33lRXV9tu8x9x2XZW Ll5Q== X-Gm-Message-State: AOAM533eg8lx5dvkUhsQxvzHeV2In35ZGLXQNKRMoZH9/qhNH5AyPzrI K1cbJWMYKqe/lWLdJdr7cBE= X-Google-Smtp-Source: ABdhPJwVTHv/cW8OyFVqXrMuKBDBcr1ErMCL/gontOQJK/hpXYAxnQ5jriB9yEsF4o9YWv67PWbuqA== X-Received: by 2002:a50:f05d:: with SMTP id u29mr30155381edl.137.1593611445900; Wed, 01 Jul 2020 06:50:45 -0700 (PDT) Received: from [192.168.86.31] ([213.191.183.145]) by smtp.gmail.com with ESMTPSA id o21sm4575872eja.37.2020.07.01.06.50.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Jul 2020 06:50:43 -0700 (PDT) Subject: Re: [PATCH 0/7] ARM: dts: qcom: msm8974: klte: Enable some hardware To: Brian Masney Cc: Rob Herring , Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org References: <20200630140912.260294-1-iskren.chernev@gmail.com> <20200701103041.GA3246@onstation.org> From: Iskren Chernev Message-ID: <9fb3c6b4-85fc-7528-a2c7-58a1350fa241@gmail.com> Date: Wed, 1 Jul 2020 16:50:41 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200701103041.GA3246@onstation.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US On 7/1/20 1:30 PM, Brian Masney wrote: > Hi Iskren, > > On Tue, Jun 30, 2020 at 05:09:05PM +0300, Iskren Chernev wrote: >> Enable support for various hw found on the Samsung Galaxy S5: >> - touchkey (the two buttons around the home button) >> - touchscreen >> - notification led >> - wifi >> - external SD card >> >> Please note that for working wifi the correct firmware is needed. Check [1] >> for links and locations. >> >> Also note, that to actually run a mainline kernel on the klte, you'd need >> to apply this patch [2]. Any feedback on getting this to run on pure >> mainline are welcome. >> >> [1] https://gitlab.com/postmarketOS/pmaports/-/blob/master/firmware/firmware-samsung-klte/APKBUILD >> [2] https://gitlab.com/postmarketOS/linux-postmarketos/-/commit/765f55b248cd3b231af8431fe2f2aeca263b4e4b > > Good to see more msm8974 support upstream! > > Regarding the second patch, that should only be needed in order to > use the GPU on these devices. For the klte, without this delay rpm init patch, the device reboots soon after being booted. I tested with pure v5.8 and next-20200701 (both have basic klte support, including usb ethernet for ssh). With the patch applied, it works like a charm. Note that there is no GPU enabled in this setup (unless I'm missing some piece from the SOC dtsi). > I hope that patch won't be needed once > IOMMU support is added, which is the last major missing piece in order > to have the GPU working upstream. I posted a RFC patch [3] in January > but didn't get any suggestions. I suspect some kind of memory corruption > since the board gets unstable with that patch. If the IOMMU is only used for graphics, then the problem remains for klte. > If that hack patch is still needed to use the GPU once IOMMU support is > in place, then I planned to troubleshoot it further by adding some log > statements to various probe functions with and without that patch to see > the probe order between the various subsystems. I suspect the issue is > that a clock isn't ticking yet. > > [3] https://lore.kernel.org/lkml/20200109002606.35653-1-masneyb@onstation.org/T/#u I'll be happy to help with that. > Brian Iskren