Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1289324

Re: [PATCH-v8] serial: 8250_dw: Add support for big-endian MMIO accesses

From Heikki Krogerus <heikki.krogerus@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH-v8] serial: 8250_dw: Add support for big-endian MMIO accesses
Date 2015-12-11 09:40 +0100
Message-ID <qErp9-1Ja-21@gated-at.bofh.it> (permalink)
References <qErp9-1Ja-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Noam,

On Thu, Dec 10, 2015 at 04:33:39PM +0000, Noam Camus wrote:
> Please see
> https://lkml.org/lkml/2015/8/3/806
> Why I added private accessors.

Greg is not saying anything about the iotype checking there? Looks
more like confusion about what exactly is that patch trying to
achieve. I think Greg just thought you moved the writel call from
the beginning of the function to be called later inside the "else"
condition.

You need to start your series with a patch where you just separate the
lcr checking to its own function and follow that with patches where
you introduce the big-endian support. I think this is also what Andy
told you. Use the diff I gave you.

One more thing that I forgot to comment before:

s/dw8250_check_LCR/dw8250_check_lcr/


Thanks,

-- 
heikki
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH-v8] serial: 8250_dw: Add support for big-endian MMIO  accesses Heikki Krogerus <heikki.krogerus@linux.intel.com> - 2015-12-11 09:40 +0100

csiph-web