Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp564867pxk; Wed, 16 Sep 2020 10:54:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydXp8xc7kQoFXN2qrlgUKwTpT2dvnlMBCKjz3BXULJYGxAeXySHELPMftuXlb7ktvFjuem X-Received: by 2002:a17:906:c34d:: with SMTP id ci13mr26179901ejb.356.1600278868677; Wed, 16 Sep 2020 10:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600278868; cv=none; d=google.com; s=arc-20160816; b=BdBTF1+9f0Ld0q5DiuE1JTEtc5DnReoO6yEywKglEH78a3hlp2S+av0NueL+LzSX+D gt+12L20gxhUCuVcc94KnXYxZ1TS8TTegjIiw5JG4k3v9Nj5s11yOsU582eGmmctZCXH hQA4x8GCDptTxldy4J8Ijyh96ZV8O7uC4LmjSWR+EjnsihTsddVXnuO6kC4HjNg+UrL8 l3/05Va8/tD54rW0eq523B5d5raWHlFgB2nMnAfpB8Mue+L9UUt0clF6CuFW6LleZfgP GsTnSf1fhry1QENeCz5WariLlq0RU0y2QSBPKi4bswa61vHphVutUs5BJYg8qXaOM4Cz zdQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Adj2QKNd+NpxVCbul3d9i4RHf/GJQrImKAK0R8iU9Pg=; b=HjcIrZyHE3P/CAHYIbwTiGF97t6Cck21QWzTW4dqk/omB+Bs0IKF+jCnUrJz9hoqAQ BAVx7We76vKOxF3aEenYVFOLSSZEow5BH23nEF7q98NDYwD1QN7jSw81PjW8qEhqvDvB RQsMQo3tnwKzqZ8X5fzM/aNSelzYftWpMIaTbyLw7qqm8l40uRBJfME+Dh+/EYT1+vca UT13janPR083hl/SRZYWLmbe4fORRgy8uLktwP/9omnMSUKh27biwM58F59Fl58dBqqh NhI/rfkRFfBXmL9LEy5U6QIRirhs6wggVeWwI8XzPnfoeX4NCGgcCoXTcoAgN8rK/U4/ 7IpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Vkai1tLM; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si12166212edr.166.2020.09.16.10.54.05; Wed, 16 Sep 2020 10:54:28 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Vkai1tLM; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727388AbgIPRwd (ORCPT + 99 others); Wed, 16 Sep 2020 13:52:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:42920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbgIPRwV (ORCPT ); Wed, 16 Sep 2020 13:52:21 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B5CA421973; Wed, 16 Sep 2020 11:19:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600255155; bh=5Jd9jVHxcOyK7zuQDeG8R+4sy3KRHCao0bv2UcrVMR8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Vkai1tLMJU4GdeUGCp9K11DMk7R5iO71tYJ7eFcDU3nm99EXhGeOnzgIeUyqh6jYO 3EJzlWcAATX/kACui7SjkEzA1PReh35fsj/Z/4CNqfgESq5kIwMYOqEyDyflnw/c1d IUU4L3vob8oQNXHnLE1fSpalZax8hfd8OSfm9mFo= Date: Wed, 16 Sep 2020 13:19:49 +0200 From: Greg Kroah-Hartman To: Paras Sharma Cc: Jiri Slaby , linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, akashast@codeaurora.org Subject: Re: [PATCH V4] serial: qcom_geni_serial: To correct QUP Version detection logic Message-ID: <20200916111949.GA969520@kroah.com> References: <1600067957-8216-1-git-send-email-parashar@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1600067957-8216-1-git-send-email-parashar@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 14, 2020 at 12:49:17PM +0530, Paras Sharma wrote: > The current implementation reduces the sampling rate by half > if qup HW version is greater is than 2.5 by checking if the 2 space characters? And what is "qup"? What is "HW"? > geni SE major version is greater than 2 and geni SE minor version what is "geni"? What is "SE"? > is greater than 5.This implementation fails when the version is > greater than or equal to 3. > > Hence, a new macro QUP_SE_VERSION_2_5 is defined having value > for major number 2 and minor number 5 as 0x20050000.Hence,if That's not a "macro", it is a simple #define. And can you use a ' ' after a '.' please? That's all over this changelog, including trailing whitespace for some reason :( > ver is greater than this value,sampling rate is halved. > This logic would work for any future qup version. "will work"? > > Fixes: ce734600545f ("tty: serial: qcom_geni_serial: Update the oversampling rate") > Signed-off-by: Paras Sharma > --- > Changes in V4: > Created a new macro QUP_SE_VERSION_2_5 for Qup se version 2.5 > What changed from previous versions than v4? thanks, greg k-h