Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5467283img; Wed, 27 Mar 2019 09:03:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlS5fux6Wire2x6J2r5MKgSjjx9oPAQw1xaSUlXnWneSuYt+uG7d7VQZquFJIje6zjve23 X-Received: by 2002:aa7:8453:: with SMTP id r19mr8731828pfn.44.1553702579992; Wed, 27 Mar 2019 09:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553702579; cv=none; d=google.com; s=arc-20160816; b=Oigzo10VAUXWw+uMIoQsif8dsfBrKV24Ml3M6131vdGgbLCkBhUPrFxlkrVTLNXayX OpCdELkVLI+IPHpTZUlpVGj3I5OgQzfuc9PVGcXW1zA2OHDxPqITLWCa6OLiX9ePUOeS 9GzZ4Pg3ehkmJ8IfmQeGrAjThOX4e5MWaK3Bblw96tAld/JN8h8cOhnCx0Vf29A2Ox3l BBoCFp63JDjH8V+inSeEEWe8pVq3dX0H2/aP3MQuGS/fSs1htvi//7qzQeTHux+lL9Hh sDJblp9WSe1T+M3s/hhjWC6JtV6B57FTIkVxGinJQvGpfDXeqGRZ2T7vbIJHZUwz2/zZ v6zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pHeA537fnJ4pDsXCjDzNIfpxL7R52PMocjY0p5DVxuc=; b=rMQo6/xPEPq1Ab79joTguL0/U7wt5nnt1e2VHBteJOs8wFEva6khnZe4RCZlITR8Fz IHkqYJPERIZQDpoXUc1W2CNgfP0OYl7t2OTmgyofJa28j4VVVXP5swUG3cKzbdetLX6i AWys7wZ3Ky3CKM8mVLRdUfkHfGyWwkqwFCHLsam0llygawnu5CgdpaFHCOy4RXRZw/zY 3ZsGP74/BB1ccnPqsB8PHmHpvjkERfNG9akrJM3BiasyRpase4sH8sRW6u0WvQl/6UUe rkwTW79MOz5fES+vaTT1+CWj7yjOL6UyJgEocagsB2VyUMQ44Il6csN+FBAwfOlgUQhc kzdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CGln5oh6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c142si6214420pfb.32.2019.03.27.09.02.43; Wed, 27 Mar 2019 09:02:59 -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=@chromium.org header.s=google header.b=CGln5oh6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727405AbfC0QCE (ORCPT + 99 others); Wed, 27 Mar 2019 12:02:04 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:41241 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726126AbfC0QCD (ORCPT ); Wed, 27 Mar 2019 12:02:03 -0400 Received: by mail-oi1-f193.google.com with SMTP id v7so13287100oie.8 for ; Wed, 27 Mar 2019 09:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pHeA537fnJ4pDsXCjDzNIfpxL7R52PMocjY0p5DVxuc=; b=CGln5oh6SzqQpxM3IHknaVbdPN/vj5l+fcaGLrWWEwTzUNRcoDJf82UJP+KudbYqr3 pJGXFWv7Cqzanos4kvRdTlKMjWfglK5n6ud5B2ivruTA1ZKmhWfp9HTfCWR41L2e/GYS exkg1bGKNiH1iBHgygTUayrgSfobeYmH8PmfQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pHeA537fnJ4pDsXCjDzNIfpxL7R52PMocjY0p5DVxuc=; b=UTQespWObPZe8Ol0ph8GiQabBsnDbcOIlWYhMcLbQNwKXTtpuXz034ftrshom1IzE3 1JeZefAPGiImOBp4ZM8JRJzfky3VOkHfrdzpJAIGPe3njCTPsYQi3/enS6nMwaO//d4y 9ePQeUHupjGDMjFV/5B63bEqo0y5qCE0oEl3cSojuCrHnwO7EY2L2ET9OsarKRTUNv2h Uj+TDMFYOZ4BIuog4iW2ZFGj6FjFcVJHaAsm/Jupn6WRmIGPrMs/mB6l+HP4zAcxCB3m ffO6/K9yYtkf/wyt5y6dYhptOct5hYNndl8aQnARelbVQQsuYoQBD2zf4kyvpPUBJxzP SIIQ== X-Gm-Message-State: APjAAAUOhZHgl9aIe2Q/PTtVEgr/hpkYS4ZYOqW9fHUYTdHKrCQVd+Xj dyFux4PZeOda48oYnlkpwg12FekdZcg= X-Received: by 2002:aca:6209:: with SMTP id w9mr20308411oib.47.1553702522701; Wed, 27 Mar 2019 09:02:02 -0700 (PDT) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com. [209.85.167.173]) by smtp.gmail.com with ESMTPSA id v1sm3388866oto.47.2019.03.27.09.02.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 09:02:01 -0700 (PDT) Received: by mail-oi1-f173.google.com with SMTP id 67so13217225oif.10 for ; Wed, 27 Mar 2019 09:02:01 -0700 (PDT) X-Received: by 2002:aca:558d:: with SMTP id j135mr19842683oib.49.1553702521007; Wed, 27 Mar 2019 09:02:01 -0700 (PDT) MIME-Version: 1.0 References: <1553339772-25012-1-git-send-email-rushikesh.s.kadam@intel.com> <31755c704928710da998353192157ddfd903080c.camel@linux.intel.com> In-Reply-To: From: Nick Crews Date: Wed, 27 Mar 2019 10:01:49 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] HID: intel-ish-hid: ISH firmware loader client driver To: Srinivas Pandruvada Cc: Rushikesh S Kadam , benjamin.tissoires@redhat.com, jikos@kernel.org, jettrink@chromium.org, gwendal@google.com, linux-kernel , linux-input@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 8:22 PM Srinivas Pandruvada wrote: > > On Tue, 2019-03-26 at 18:39 -0600, Nick Crews wrote: > > Hi Rushikesh, I know I've been reviewing this on Chromium, but I have > > some more larges-scale design thoughts. > Hi Nick. > > Does this fundamentally change, the way it is done here or can wait for > subsequent revisions later? I don't have any official stakes in this, as I'm not the maintainer or anything, so I'm just preaching what I think would be good design :) I think I would like to see most of my suggestions addressed. At the very least there are some actual bugs (infinite loops, accessing bad memory, not reporting all errors) that need to get fixed. Of course I'm not the one that has to write or test it, but I imagine that the one large design change I proposed of where memory is allocated shouldn't be too hard either. I worry that "subsequent revisions" to upstream won't happen, since it's hard enough to get a patch accepted. Maybe that concern isn't warranted though, I don't have that much experience on the LKML. Is there a really tight deadline for this? If so then I would say we should apply what we currently have to the Chromium tree, and upstream the final version when it's done. Thanks, Nick > > Thanks, > Srinivas >