Thread (39 messages) 39 messages, 5 authors, 2019-03-27

Re: [RFC PATCH net-next 01/13] lib: Add support for generic packing operations

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2019-03-24 20:32:09

On 3/24/19 9:02 PM, Richard Cochran wrote:
On Sun, Mar 24, 2019 at 05:23:34AM +0200, Vladimir Oltean wrote:
quoted
This provides an unified API for accessing register bit fields
regardless of memory layout. The basic unit of data for these API
functions is the u64. The process of transforming an u64 from native CPU
encoding into the peripheral's encoding is called 'pack', and
transforming it from peripheral to native CPU encoding is 'unpack'.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
---
  Documentation/packing.txt | 150 +++++++++++++++++++++++++++
  MAINTAINERS               |   8 ++
  include/linux/packing.h   |  49 +++++++++
  lib/Makefile              |   2 +-
  lib/packing.c             | 211 ++++++++++++++++++++++++++++++++++++++
For this kind of generic infrastructure, you really should CC the lkml
to get proper review.

Thanks,
Richard
Hi Richard,

I didn't want to pollute LKML with the entire driver patchset from the 
get-go, just receive some initial feedback from netdev first (hence the 
RFC).
How should I proceed? Should I resend just this patch to LKML, or a v2 
patchset with LKML copied on the lib patch?

Thanks,
-Vladimir
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help