Received: by 10.223.164.221 with SMTP id h29csp3206433wrb; Mon, 30 Oct 2017 17:37:17 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SIzVMy6PhBJRrLgPr8KB/sVVqlFV08kTCK881mV0ZwvIvNt/rwMox2Z8rFIP2s8DKtmUHj X-Received: by 10.159.194.13 with SMTP id x13mr162979pln.282.1509410237548; Mon, 30 Oct 2017 17:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509410237; cv=none; d=google.com; s=arc-20160816; b=lIM2A3pE8l9kQPOF1nMEDgdlebJW/yAm9lDw12rDUwyJAYY/AM6yVLSrvg81VOiWKL YUzci9v3CMOvKOUDJut6yp4qaYGhfLoxwb3suLycv/yMzbk6Jo9qK0RvhDoCNSCSNpVx 9V1ceeQ5NOUwaUjXY3VElQ/JEcBzxJn4pHZsCaS0JEYyqtfvGQuMzwQjo/RrPK4LLJv7 UWDsdyhEQmxCDewvv7Wqrb7psb1uka4P4PhsOBBcIowBiXKRy2PC986kfZ1pwjTmImc+ j2PDfbMz+iczXLcvEl2KBNvUKBIOtWpT3VD0gPPCQpFsYIzIXCODrnZDlioCxIp9E9sk qu8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:arc-authentication-results; bh=Ra2TQMIP6txPDcU60HmMV83KIT0A23AR6aQuAGwPxAs=; b=Y93L52xiJj2IxqFsfIIX5XYuk7emZityN8EoEsqOGtxpIfHx01V9+KShtpvKcas4WI IcSOCedoZXr9gFy83P7clWrdxDmgLkiVP3x2Uh8HdrruI4iI0kTfs67oc+h9DnS/a6oN fD76wN683zW4j32ZE0iWnCkuCz90+bXbiLBTe0a8C9+c8j8bkP4Dkh0Iap0PsMKKrBdW gGxsEA/cPB8yqXFGDkst2CCwxyoNiroBwmZcbQkzpYaXBFezlWG7Iks0Vg9VG0cXDUxV +k/tQct+P7f/OakCSKA+9z+1WJ3429iJ1DACToiiwFu/cZ9iAalS8Veqg2l5kSJ2hxTF iCQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=fUeGhKeg; 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 s62si149729pgc.504.2017.10.30.17.37.03; Mon, 30 Oct 2017 17:37:17 -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=fail header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=fUeGhKeg; 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 S1753454AbdJaABV (ORCPT + 99 others); Mon, 30 Oct 2017 20:01:21 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:43896 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753248AbdJaABN (ORCPT ); Mon, 30 Oct 2017 20:01:13 -0400 Received: by mail-wm0-f52.google.com with SMTP id m72so12237198wmc.0 for ; Mon, 30 Oct 2017 17:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=Ra2TQMIP6txPDcU60HmMV83KIT0A23AR6aQuAGwPxAs=; b=fUeGhKeg0J7XME4HSh6gpJi4D8lovP5WB4/lfwUu7LvyXwim4FGsgy3vZwk2bdULhn bC50LymMoU8G7p5OCrDRkkNALsRBRBfrM+mLODt1jOT9tqwFf5+LNfZKTk31hBZJKq4n +NadMrNqHWlug8+VhVyI4InCBd16hWcK6F6ggVo+DJnzKek54qZuFv1y8qdRRh/4hH2e h935eJ/YoruPjv0WBS/pOLoG1UcHObkqFzsIwjLFOs3VUjM76aqyQZC/EAlGoYdDcJu0 bfllVd4kormm1JqWPCM/AgW/2KuiJBZCTVGeTbda7tABsIwDEJF7VtSP+eYS8o7g3QYb jMUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=Ra2TQMIP6txPDcU60HmMV83KIT0A23AR6aQuAGwPxAs=; b=RolMEtEcPy/OBaqVdwNJlmhNcmlab2BxhgWL9rbMWY3HcEyDgoqr7inFnJ/vajXj3t jUbDK8WWnO7tOFGauR0tgeWT/5ngvUnr6PpxoW4wKrl+XQXjLeFcaPE5RbEJSCrLCbJ/ Fv++CHgXTKeDfTyujf+BgPqHYjodYN4Tu0lmUtGbq+3vzhM6m3cfFomlWkejkxzmR3kd ecoIZQ921gMKEy/yyId1/iG2M8yuGvtH2fb3ysd6LNtBLVYzfU2w8hhWTWsA9FR0LtcX TFpLt2zjtNnpsncc6zOJ2Sq6o+3mLqCqkY0gzoqFZU+8k9bAoraJD1eZZBP9CXJM/IOE E0ww== X-Gm-Message-State: AMCzsaUalUKuPD2ktnIRClyscj4brdDC5G9PgwSI8WHokOm4C5JQATOB 1b9lcPqf4uAebE6xQy6U21t9Xg== X-Received: by 10.80.172.74 with SMTP id w10mr489918edc.257.1509408071806; Mon, 30 Oct 2017 17:01:11 -0700 (PDT) Received: from [192.168.192.40] ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id y3sm211580edd.73.2017.10.30.17.01.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Oct 2017 17:01:11 -0700 (PDT) Date: Tue, 31 Oct 2017 00:01:07 +0000 User-Agent: K-9 Mail for Android In-Reply-To: References: <20171024144938.GA41224@beast> <55a6647a-8565-09e8-9f45-d9048c7dd916@linaro.org> <20171030113202.GB7223@localhost> <558a6d02-515e-9998-18cc-b9b77d2b1d63@nexus-software.ie> <20171030113819.GD7223@localhost> <523e9618-e72e-72fa-3d98-062e687ca226@linaro.org> <20171030114809.GF7223@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2] staging: greybus: Convert timers to use timer_setup() To: Kees Cook , Johan Hovold CC: Bryan O'Donoghue , Greg Kroah-Hartman , LKML , Alex Elder , greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org From: pure.logic@nexus-software.ie Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30 October 2017 9:37:37 p=2Em=2E GMT+00:00, Kees Cook wrote: >On Mon, Oct 30, 2017 at 4:48 AM, Johan Hovold wrote: >> On Mon, Oct 30, 2017 at 11:44:22AM +0000, Bryan O'Donoghue wrote: >>> >>> >>> On 30/10/17 11:38, Johan Hovold wrote: >>> > On Mon, Oct 30, 2017 at 11:35:50AM +0000, Bryan O'Donoghue wrote: >>> >> On 30/10/17 11:32, Johan Hovold wrote: >>> >>> The right thing to do here is to respin your patch from last >year which >>> >>> converts the loopback driver to use the timeout handling in >greybus >>> >>> core=2E >>> >> >>> >> Actually I wasn't clear if you wanted to to that yourself aswell >as the >>> >> rest if it=2E >>> >> >>> >> But sure I can do that conversion, it's on my list=2E >>> > >>> > IIRC it was basically done=2E Just some odd locking that could now >also be >>> > removed=2E >>> > >>> > Thanks, >>> > Johan >>> > >>> >>> I think once Kees' change is applied to operation=2Ec and we convert >the >>> async stuff to operation=2Ec's callbacks there ought to be no use of >>> timers, linked lists of operations=2E >> >> That's correct=2E >> >>> I'll probably need at least a day to look at that, so it'll be the >>> weekend before I can really allocate time=2E >> >> Cool=2E I'm quite sure I just rebased your loopback conversion patch on >my >> core timeout handling and used that to test the core implementation, >so >> it should be straight forward=2E > >Hi, > >I seem to have lost the thread of conversation a bit=2E What exactly >remains that I should be doing here for timer conversions? (It sounded >like it was already partially handled already?) > >-Kees Trying again without top posting in html :( Just pair the patch down to operation=2Ec=2E There's a separate change to loopback=2Ec an old patch ARAIR that will sub= tract use of the timer from loopback=2Ec so you can skip that bit=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E From 1582720577787861283@xxx Mon Oct 30 21:46:05 +0000 2017 X-GM-THRID: 1582126742408023281 X-Gmail-Labels: Inbox,Category Forums