Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp246357pxb; Fri, 16 Apr 2021 04:48:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLPk9z/qYalxfZtYbQiXGQwt72ZTICzRYpoY9XTPdjvv/xAFN+wnuMgdCdmcJfz1GrkBlj X-Received: by 2002:a63:f962:: with SMTP id q34mr7683989pgk.22.1618573682952; Fri, 16 Apr 2021 04:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618573682; cv=none; d=google.com; s=arc-20160816; b=WOHJ+pZzJm4AIh6XTLtShs7+JqDUmi26BYn8tZT47/T5CcYhFXSwokyrYKxvWhjM+F ha9U5hqUUoPCfPy2q+4k5ANep8iEBbl6CCuI+2uWkXTfIEONlueWxT8vK5Y1Y4ejldzB p5DkHTt8J9LBjPE6bqPXAKPqWA/rsGUXiqB1eU1jGn2Mvzt9v6ZQZrpMfF3vRiZ/HrZr 5fv3TtRSQSZNP+ilmDkWLxK7Wy568ZS2+0Fu0s9A2LvSaConbUY4GodhIui7QtPoI8S+ GL1PaeETxwFVaQE6/bv4BD4z18P4eNhCEZjKnvQhOFlo2GRSStOOVM6TTQudZB+Wfdge gkuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject; bh=HtKCG9R5A8vqqpoIhwljJzAXkXnhdHkvIzdEFklxOLA=; b=B3vEHUog0Iwm8rqXY5MyQbBsV0hMv3xFBSFucW5v/WZlEU5Vw0hzzrp+vAeBqJxx/r e5SLqEeu2Js9boKH5Obb5xMs4xRlvI4UuZ3fxQw4Wt7emOQX1dM+QLucq2tHZTbUfaju MbZcEYB56FNgtbiB1ESbmPc+PuiKWbiAn9tU/pRtpxNENzNj5ieS+t5pUNZrXlSjFiDa jhHnScCTG46Zh5KTc8MHZSwDxI/Mc0FE1i3V8pX8JVMgaYRQW8KKQ/dHG4xLJ0CHzP4M fDRrMsOiL/7teYZbfEy2AXusB50ObIz/U27q6k1bVqZPWicN/A0Le6ewl4mkVny0eX1O ZydQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si6513358plh.112.2021.04.16.04.47.51; Fri, 16 Apr 2021 04:48:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241819AbhDPLqg (ORCPT + 99 others); Fri, 16 Apr 2021 07:46:36 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49128 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240598AbhDPLqf (ORCPT ); Fri, 16 Apr 2021 07:46:35 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: andrewsh) with ESMTPSA id 44BED1F435B8 Subject: Re: [PATCH 09/13] Samples: Rust examples To: Miguel Ojeda Cc: Miguel Ojeda , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Alex Gaynor , Geoffrey Thomas , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho References: <20210414184604.23473-1-ojeda@kernel.org> <20210414184604.23473-10-ojeda@kernel.org> From: Andrej Shadura Organization: Collabora Message-ID: Date: Fri, 16 Apr 2021 13:46:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 14/04/2021 21:42, Miguel Ojeda wrote: > On Wed, Apr 14, 2021 at 9:34 PM Linus Torvalds > wrote: >> >> Honestly, I'd like to see a real example. This is fine for testing, >> but I'd like to see something a bit more real, and a bit less special >> than the Android "binder" WIP that comes a few patches later. >> >> Would there be some kind of real driver or something that people could >> use as a example of a real piece of code that actually does something >> meaningful? > > Yeah, we are planning to write a couple of drivers that talk to actual > hardware. Not sure which ones we will do, but we will have them > written. I’m curious what’s the procedure and approach in general to adding new APIs? I was thinking of trying to port my driver but it needs USB HID and either LEDs or hwrandom (depending on which part I start porting first), so obviously it’s not doable right now, but I’m thinking about maybe helping with at least some of those. -- Cheers, Andrej