Hi Shuah,
I already sent the patch:
https://patchwork.kernel.org/project/linux-kselftest/patch/20201015120851.229242-1-vi...@massaru.org
On Thu, Oct 15, 2020 at 3:01 PM Shuah Khan wrote:
>
> On 10/15/20 4:43 AM, Vitor Massaru Iha wrote:
> > Hi Stephen,
> >
> > On Thu,
On Thu, Oct 15, 2020 at 2:47 PM Andy Shevchenko
wrote:
>
> On Wed, Oct 14, 2020 at 10:46:16PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of test_list_sort,
> > from `lib/test_list_sort.c` to KUnit tests.
>
> > r
On Thu, Oct 15, 2020 at 7:50 AM Andy Shevchenko
wrote:
>
> On Wed, Oct 14, 2020 at 10:46:16PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of test_list_sort,
> > from `lib/test_list_sort.c` to KUnit tests.
>
> Please, provide better com
This adds the conversion of the runtime tests of test_min_heap,
from `lib/test_min_heap.c` to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
v2:
* change Kconfig entries to be more adherent to KUnit documentation,
min_heap test runs when enabling full test coverage
Hi Ian,
On Thu, Oct 15, 2020 at 1:30 PM Ian Rogers wrote:
>
> On Wed, Oct 14, 2020 at 4:49 PM Vitor Massaru Iha wrote:
> >
> > Hi Ian,
> >
> >
> > On Wed, Jul 29, 2020 at 7:57 PM Ian Rogers wrote:
> > >
> > > On Wed, Jul 29, 2020 at 1:11 PM
A build condition was missing around a compilation test, this compilation
test comes from the original test_bitfield code.
And removed unnecessary code for this test.
Fixes: d2585f5164c2 ("lib: kunit: add bitfield test conversion to KUnit")
Signed-off-by: Vitor Massaru Iha
Li
Hi Stephen,
On Thu, Oct 15, 2020 at 2:31 AM Stephen Rothwell wrote:
>
> Hi all,
>
> After merging the kunit-next tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> lib/bitfield_kunit.c: In function 'test_bitfields_compile':
> lib/bitfield_kunit.c:136:21: warning: un
Hi Ian,
On Wed, Jul 29, 2020 at 7:57 PM Ian Rogers wrote:
>
> On Wed, Jul 29, 2020 at 1:11 PM Vitor Massaru Iha wrote:
> >
> > This adds the conversion of the runtime tests of test_min_heap,
> > from `lib/test_min_heap.c` to KUnit tests.
> >
> > Please appl
This adds the conversion of the runtime tests of test_min_heap,
from `lib/test_min_heap.c` to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
v2:
* min_heap test now runs when enabling full test coverage (KUNIT_ALL_TESTS).
---
lib/Kconfig.debug | 29 --
lib
This adds the conversion of the runtime tests of test_min_heap,
from `lib/test_min_heap.c` to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
v2:
* change Kconfig entries to be more adherent to KUnit documentation,
min_heap test runs when enabling full test coverage
This adds the conversion of the runtime tests of test_list_sort,
from `lib/test_list_sort.c` to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
v2:
* fix KUNIT_TEST sufix;
* make kconfig help more concise;
* remove obsolete commit comments;
* change Kconfig entries to be more adherent
he
> > general direction of the patch, verbosity and testing frameworks. I
> > see Vitor followed up with Peter but I'm not sure that means the
> > approach has been accepted.
>
> I kinda lost track, as long as it doesn't get more verbose I suppose I'm
> fine.
Ok. I'll send the v2 later with Ian's suggestions.
On Thu, Aug 27, 2020 at 7:23 AM Marco Elver wrote:
>
> On Wed, Jul 29, 2020 at 04:23PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of test_list_sort,
> > from `lib/test_list_sort.c` to KUnit tests.
> >
> > Please apply this commi
On Wed, Aug 19, 2020 at 6:05 PM Brendan Higgins
wrote:
>
> On Fri, Jul 17, 2020 at 5:50 PM Vitor Massaru Iha wrote:
> >
> > KUnit test cases run on kthreads, and kthreads don't have an
> > adddress space (current->mm is NULL), but processes have mm.
> >
>
Hi Peter,
On Tue, Aug 4, 2020 at 11:23 AM wrote:
>
> On Tue, Aug 04, 2020 at 10:46:21AM -0300, Vitor Massaru Iha wrote:
> > On Tue, Aug 4, 2020 at 10:25 AM wrote:
> > > On Wed, Jul 29, 2020 at 06:57:17PM -0300, Vitor Massaru Iha wrote:
> > >
> >
Hi Peter,
On Tue, Aug 4, 2020 at 10:25 AM wrote:
>
> On Wed, Jul 29, 2020 at 06:57:17PM -0300, Vitor Massaru Iha wrote:
>
> > The results can be seen this way:
> >
> > This is an excerpt from the test.log with the result in TAP format:
> > [snip]
> > ok
Hi Ian,
On Wed, Jul 29, 2020 at 7:57 PM 'Ian Rogers' via KUnit Development
wrote:
>
> On Wed, Jul 29, 2020 at 1:11 PM Vitor Massaru Iha wrote:
> >
> > This adds the conversion of the runtime tests of test_min_heap,
> > from `lib/test_min_heap.c` to KUnit tests
Hi Peter,
On Wed, Jul 29, 2020 at 5:39 PM wrote:
>
> On Wed, Jul 29, 2020 at 05:11:46PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of test_min_heap,
> > from `lib/test_min_heap.c` to KUnit tests.
> >
> > Please apply this commi
On Wed, Jul 29, 2020 at 4:19 PM Andy Shevchenko
wrote:
>
> On Wed, Jul 29, 2020 at 04:11:51PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the test_sort.c to KUnit test.
> >
> > Please apply this commit first (lin
This adds the conversion of the runtime tests of test_min_heap,
from `lib/test_min_heap.c` to KUnit tests.
Please apply this commit first (linux-kselftest/kunit-fixes):
3f37d14b8a3152441f36b6bc74000996679f0998 kunit: kunit_config: Fix parsing of
CONFIG options with space
Signed-off-by: Vitor
Documentation: [0]
Signed-off-by: Vitor Massaru Iha
Link: [0]
https://lore.kernel.org/linux-kselftest/20200620054944.167330-1-david...@google.com/T/#u
---
lib/Kconfig.debug | 29 +---
lib/Makefile| 2 +-
lib/{test_list_sort.c
__refdata (see linux/init.h) or name the variable
WARNING: modpost: lib/sort_kunit.o(.data+0x11c): Section mismatch in reference
from the variable sort_test_cases to the function .init.text:sort_test()
The variable sort_test_cases references
the function __init sort_test()
Signed-off-by: Vitor
Documentation: [0]
Signed-off-by: Vitor Massaru Iha
Link: [0]
https://lore.kernel.org/linux-kselftest/20200620054944.167330-1-david...@google.com/T/#u
---
lib/Kconfig.debug | 23 --
lib/Makefile | 2 +-
lib/{test_bitfield.c => bitfield_kunit.c} |
On Tue, Jul 21, 2020 at 8:47 PM 'Brendan Higgins' via KUnit
Development wrote:
>
> On Tue, Jul 21, 2020 at 12:38 PM Vitor Massaru Iha wrote:
> >
> > On Tue, Jul 21, 2020 at 3:55 PM Kees Cook wrote:
> > >
> > > On Mon, Jul 20, 2020 at 07:44:18PM -03
On Thu, Jul 23, 2020 at 5:04 AM Andy Shevchenko
wrote:
>
> On Wed, Jul 22, 2020 at 09:08:07PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the test_sort.c to KUnit test.
> >
> > Please apply this commit first (lin
This adds the conversion of the test_sort.c to KUnit test.
Please apply this commit first (linux-kselftest/kunit-fixes):
3f37d14b8a3152441f36b6bc74000996679f0998 kunit: kunit_config: Fix parsing of
CONFIG options with space
Signed-off-by: Vitor Massaru Iha
---
lib/Kconfig.debug
On Wed, Jul 22, 2020 at 4:45 PM Kees Cook wrote:
>
> On Wed, Jul 22, 2020 at 03:29:27PM -0300, Vitor Massaru Iha wrote:
> > On Tue, Jul 21, 2020 at 11:12 PM Kees Cook wrote:
> > >
> > > On Tue, Jul 21, 2020 at 07:19:12PM -0300, Vitor Massaru Iha wrote:
> >
On Wed, Jul 22, 2020 at 4:45 PM Kees Cook wrote:
>
> On Wed, Jul 22, 2020 at 03:29:27PM -0300, Vitor Massaru Iha wrote:
> > On Tue, Jul 21, 2020 at 11:12 PM Kees Cook wrote:
> > >
> > > On Tue, Jul 21, 2020 at 07:19:12PM -0300, Vitor Massaru Iha wrote:
> >
On Tue, Jul 21, 2020 at 11:12 PM Kees Cook wrote:
>
> On Tue, Jul 21, 2020 at 07:19:12PM -0300, Vitor Massaru Iha wrote:
> > When you talk about end-of-test summary, is it what is written in
> > dmesg and not the kunit-tool?
>
> Right, if I build this as a module and do &
On Tue, Jul 21, 2020 at 7:19 PM Vitor Massaru Iha wrote:
>
> On Tue, Jul 21, 2020 at 4:09 PM Kees Cook wrote:
> >
> > On Tue, Jul 21, 2020 at 02:46:54PM -0300, Vitor Massaru Iha wrote:
> > > This adds the conversion of the runtime tests of test_user_cop
On Tue, Jul 21, 2020 at 4:09 PM Kees Cook wrote:
>
> On Tue, Jul 21, 2020 at 02:46:54PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of test_user_copy fuctions,
> > from `lib/test_user_copy.c`to KUnit tests.
> >
> > Si
On Tue, Jul 21, 2020 at 4:06 PM Kees Cook wrote:
>
> On Tue, Jul 21, 2020 at 02:40:36PM -0300, Vitor Massaru Iha wrote:
> > KUnit test cases run on kthreads, and kthreads don't have an
> > adddress space (current->mm is NULL), but processes have mm.
> >
> >
On Tue, Jul 21, 2020 at 3:55 PM Kees Cook wrote:
>
> On Mon, Jul 20, 2020 at 07:44:18PM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of check_*_overflow functions,
> > from `lib/test_overflow.c`to KUnit tests.
> >
> > The log si
This adds the conversion of the runtime tests of test_user_copy fuctions,
from `lib/test_user_copy.c`to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
v2:
* splitted patch in 3:
- Allows to install and load modules in root filesystem;
- Provides an userspace memory context
ess that loaded the module to borrow mm.
This allows, for example, tests such as user_copy_kunit, which uses
vm_mmap, which needs current->mm.
Signed-off-by: Vitor Massaru Iha
---
v2:
* splitted patch in 3:
- Allows to install and load modules in root filesystem;
-
:$USER .uml_rootfs
For the kunit-tool to correctly capture the test results,
uml_utilities must be installed on the host to halt uml.
Signed-off-by: Vitor Massaru Iha
Reviewed-by: Brendan Higgins
---
v2:
* splitted patch in 3:
- Allows to install and load modules in root filesystem
This adds the conversion of the runtime tests of check_*_overflow functions,
from `lib/test_overflow.c`to KUnit tests.
The log similar to the one seen in dmesg running test_overflow.c can be
seen in `test.log`.
Signed-off-by: Vitor Massaru Iha
Tested-by: David Gow
---
v2:
* moved lib
This adds the conversion of the runtime tests of test_user_copy fuctions,
from `lib/test_user_copy.c` to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
v2:
* splitted patch in 3:
- Allows to install and load modules in root filesystem;
- Provides an userspace memory
ess that loaded the module to borrow mm.
This allows, for example, tests such as user_copy_kunit, which uses
vm_mmap, which needs current->mm.
Signed-off-by: Vitor Massaru Iha
---
v2:
* splitted patch in 3:
- Allows to install and load modules in root filesystem;
-
:$USER .uml_rootfs
For the kunit-tool to correctly capture the test results,
uml_utilities must be installed on the host to halt uml.
Signed-off-by: Vitor Massaru Iha
Reviewed-by: Brendan Higgins
---
v2:
* splitted patch in 3:
- Allows to install and load modules in root filesystem
On Wed, 2020-07-15 at 19:34 -0700, Kees Cook wrote:
> On Wed, Jul 15, 2020 at 12:11:20AM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of test_user_copy
> > fuctions,
> > from `lib/test_user_copy.c`to KUnit tests.
> >
> >
On Wed, 2020-07-15 at 17:40 -0700, Brendan Higgins wrote:
> On Tue, Jul 14, 2020 at 8:11 PM Vitor Massaru Iha
> wrote:
> > This adds the conversion of the runtime tests of test_user_copy
> > fuctions,
> > from `lib/test_user_copy.c`to KUnit tests.
> >
> &
On Wed, 2020-07-15 at 17:37 -0700, Brendan Higgins wrote:
> On Tue, Jul 14, 2020 at 8:11 PM Vitor Massaru Iha
> wrote:
>
> Probably want to add more of a description here as what you are doing
> is not entirely trivial to someone not familiar with mm contexts.
>
> > Sign
On Wed, 2020-07-15 at 17:37 -0700, Brendan Higgins wrote:
> On Tue, Jul 14, 2020 at 8:11 PM Vitor Massaru Iha
> wrote:
>
> Probably want to add more of a description here as what you are doing
> is not entirely trivial to someone not familiar with mm contexts.
>
> > Sign
On Wed, 2020-07-15 at 17:29 -0700, 'Brendan Higgins' via KUnit
Development wrote:
> On Tue, Jul 14, 2020 at 8:11 PM Vitor Massaru Iha
> wrote:
> > This makes it possible to use KUnit tests as modules.
> > And with that the tests can run in userspace.
> >
&g
On Wed, 2020-07-15 at 19:41 -0700, Kees Cook wrote:
> On Wed, Jul 15, 2020 at 11:47:11AM +0800, David Gow wrote:
> > - The inheriting of the mm stuff still means that
> > copy_{from,to}_user() will only work if loaded as a module. This
> > really needs to be documented. (Ideally, we'd find a way of
On Wed, 2020-07-15 at 11:47 +0800, David Gow wrote:
> On Wed, Jul 15, 2020 at 11:11 AM Vitor Massaru Iha > wrote:
> > Currently, KUnit does not allow the use of tests as a module.
> > This prevents the implementation of tests that require userspace.
>
> If this is wh
This adds the conversion of the runtime tests of test_user_copy fuctions,
from `lib/test_user_copy.c`to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
lib/Kconfig.debug | 17 ++
lib/Makefile| 2 +-
lib/{test_user_copy.c
Currently, KUnit does not allow the use of tests as a module.
This prevents the implementation of tests that require userspace.
This patchset makes this possible by introducing the use of
the root filesystem in KUnit. And it allows the use of tests
that can be compiled as a module
Vitor Massaru
Signed-off-by: Vitor Massaru Iha
---
include/kunit/test.h | 1 +
lib/kunit/try-catch.c | 15 ++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/include/kunit/test.h b/include/kunit/test.h
index 59f3144f009a..49c38bdcb93e 100644
--- a/include/kunit/test.h
+++ b
For the kunit-tool to correctly capture the test results,
uml_utilities must be installed on the host to halt uml.
Signed-off-by: Vitor Massaru Iha
---
tools/testing/kunit/kunit.py| 37 --
tools/testing/kunit/kunit_kernel.py | 105
2 files changed
On Thu, 2020-06-18 at 20:05 -0700, Kees Cook wrote:
> On Thu, Jun 18, 2020 at 11:08:14AM -0300, Vitor Massaru Iha wrote:
> > This adds the conversion of the runtime tests of check_*_overflow
> > functions,
> > from `lib/test_overflow.c`to KUnit tests.
> >
> > T
On Thu, 2020-06-18 at 13:29 -0700, Brendan Higgins wrote:
> On Wed, Jun 17, 2020 at 8:57 PM Vitor Massaru Iha
> wrote:
> > Commit 8b59cd81dc5 ("kbuild: ensure full rebuild when the compiler
> > is updated") added the environment variable CC_VERSION_TEXT,
> > pa
This adds the conversion of the runtime tests of check_*_overflow functions,
from `lib/test_overflow.c`to KUnit tests.
The log similar to the one seen in dmesg running test_overflow.c can be
seen in `test.log`.
Signed-off-by: Vitor Massaru Iha
Tested-by: David Gow
---
v2:
* moved lib
This adds the conversion of the runtime tests of check_*_overflow functions,
from `lib/test_overflow.c`to KUnit tests.
The log similar to the one seen in dmesg running test_overflow.c can be
seen in `test.log`.
Signed-off-by: Vitor Massaru Iha
---
v2:
* moved lib/test_overflow.c to lib
File "/home/iha/lkmp/linux/tools/testing/kunit/kunit_config.py", line 85, in
parse_from_string
raise KconfigParseError('Failed to parse: ' + line)
kunit_config.KconfigParseError: Failed to parse: CONFIG_CC_VERSION_TEXT="gcc
(GCC) 10.1.1 20200507 (Red Hat 10.1.1-1)"
S
nux/tools/testing/kunit/kunit_config.py", line 85, in
parse_from_string
raise KconfigParseError('Failed to parse: ' + line)
kunit_config.KconfigParseError: Failed to parse: CONFIG_CC_VERSION_TEXT="gcc
(GCC) 10.1.1 20200507 (Red Hat 10.1.1-1)"
Signed-off-by: Vitor Mass
On Sat, 2020-06-13 at 14:56 +0800, David Gow wrote:
> On Fri, Jun 12, 2020 at 5:55 AM Vitor Massaru Iha
> wrote:
> > This adds the convertion of the runtime tests of check_*_overflow
> > fuctions,
> > from `lib/test_overflow.c`to KUnit tests.
>
> Nit: couple o
On Fri, 2020-06-12 at 15:36 -0700, Kees Cook wrote:
> On Thu, Jun 11, 2020 at 06:55:01PM -0300, Vitor Massaru Iha wrote:
> > This adds the convertion of the runtime tests of check_*_overflow
> > fuctions,
> > from `lib/test_overflow.c`to KUnit tests.
> >
> > T
This adds the convertion of the runtime tests of check_*_overflow fuctions,
from `lib/test_overflow.c`to KUnit tests.
The log similar to the one seen in dmesg running test_overflow can be
seen in `test.log`.
Signed-off-by: Vitor Massaru Iha
---
lib/Kconfig.debug | 17 ++
lib/Makefile
9, in __init__
self._kconfig.read_from_file(kunitconfig_path)
File
"/home/iha/sdb/opensource/lkmp/linux/tools/testing/kunit/kunit_config.py", line
88, in read_from_file
with open(path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '.kunit/.kunitco
On Thu, May 28, 2020 at 2:28 PM Shuah Khan wrote:
>
> On 5/26/20 6:34 PM, Vitor Massaru Iha wrote:
> > To make KUnit easier to use, and to avoid overwriting object and
> > .config files, the default KUnit build directory is set to .kunit
> >
> > Fixed up mino
--defconfig
File "tools/testing/kunit/kunit.py", line 254
if not linux:
^
TabError: inconsistent use of tabs and spaces in indentation
Signed-off-by: Vitor Massaru Iha
Reviewed-by: Brendan Higgins
Signed-off-by: Shuah Khan
Link: https://bugzilla.kernel.org/show_
On Tue, 2020-05-26 at 16:29 -0600, Shuah Khan wrote:
> On 5/26/20 12:34 PM, Vitor Massaru Iha wrote:
> > To make KUnit easier to use, and to avoid overwriting object and
> > .config files, the default KUnit build directory is set to .kunit
> >
> > * Related bug:
To improve the usability of KUnit, defconfig is used
by default if no kunitconfig is present.
* https://bugzilla.kernel.org/show_bug.cgi?id=205259
Fixed up minor merge conflicts - Shuah Khan
Signed-off-by: Vitor Massaru Iha
Reviewed-by: Brendan Higgins
Signed-off-by: Shuah Khan
---
Version
To make KUnit easier to use, and to avoid overwriting object and
.config files, the default KUnit build directory is set to .kunit
* Related bug: https://bugzilla.kernel.org/show_bug.cgi?id=205221
Fixed up minor merge conflicts - Shuah Khan
Signed-off-by: Vitor Massaru Iha
Reviewed-by
On Mon, 2020-05-25 at 22:52 -0300, Vitor Massaru Iha wrote:
> Hi Shuah,
>
> On Fri, 2020-05-22 at 16:40 -0600, shuah wrote:
> > On 4/16/20 5:11 PM, Brendan Higgins wrote:
> > > On Tue, Apr 14, 2020 at 4:09 PM Vitor Massaru Iha <
> > > vi...@massaru.org> wro
Hi Shuah,
On Fri, 2020-05-22 at 16:40 -0600, shuah wrote:
> On 4/16/20 5:11 PM, Brendan Higgins wrote:
> > On Tue, Apr 14, 2020 at 4:09 PM Vitor Massaru Iha <
> > vi...@massaru.org> wrote:
> > > To make KUnit easier to use, and to avoid overwriting object and
&g
On Tue, 2020-05-05 at 09:46 -0600, Jonathan Corbet wrote:
> On Thu, 30 Apr 2020 19:12:38 -0300
> Vitor Massaru Iha wrote:
>
> > This fixes:
> >
> > Documentation/s390/vfio-ap.rst:488: WARNING: duplicate label
> > s390/vfio-ap:guest2, other instance in
> >
This fixes:
Documentation/misc-devices/uacce.rst: WARNING: document isn't included in any
toctree
Signed-off-by: Vitor Massaru Iha
---
Documentation/misc-devices/index.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/misc-devices/index.rst
b/Documentation/misc-de
This fixes:
Documentation/misc-devices/uacce.rst: WARNING: document isn't included in any
toctree
Signed-off-by: Vitor Massaru Iha
---
Documentation/misc-devices/index.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/misc-devices/index.rst
b/Documentation/misc-de
This fixes:
Documentation/s390/vfio-ap.rst:488: WARNING: duplicate label
s390/vfio-ap:guest2, other instance in
/home/iha/sdb/opensource/lkmp/linux_doc/Documentation/s390/vfio-ap.rst
Signed-off-by: Vitor Massaru Iha
---
Documentation/s390/vfio-ap.rst | 2 +-
1 file changed, 1 insertion(+), 1
On Thu, 2020-04-30 at 15:05 -0600, Jonathan Corbet wrote:
> On Thu, 30 Apr 2020 17:54:47 -0300
> Vitor Massaru Iha wrote:
>
> > Fix 'make htmldocs' warning:
> > Documentation/virt/kvm/amd-memory-encryption.rst:76: WARNING:
> > Inline literal start-string wi
Fix 'make htmldocs' warning:
Documentation/virt/kvm/amd-memory-encryption.rst:76: WARNING: Inline literal
start-string without end-string.
Signed-off-by: Vitor Massaru Iha
---
Documentation/virt/kvm/amd-memory-encryption.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
Fix `make htmldocs` warning:
Documentation/trace/coresight/coresight-ect.rst:2: WARNING: Explicit markup
ends without a blank line; unexpected unindent.
Signed-off-by: Vitor Massaru Iha
---
Documentation/trace/coresight/coresight-ect.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a
On Thu, 2020-04-30 at 14:04 -0600, Jonathan Corbet wrote:
> On Thu, 30 Apr 2020 16:57:24 -0300
> Vitor Massaru Iha wrote:
>
> > Sorry about that. I searched but I didn't find the documentation
> > tree.
> > Could you point me to the git url?
>
> The MAINTA
Hi Jon,
On Thu, 2020-04-30 at 13:47 -0600, Jonathan Corbet wrote:
> On Thu, 30 Apr 2020 16:07:37 -0300
> Vitor Massaru Iha wrote:
>
> > make htmldocs
> > Documentation/filesystems/orangefs.rst:124: WARNING: Literal block
> > expected; none found.
> >
>
make htmldocs
Documentation/filesystems/orangefs.rst:124: WARNING: Literal block expected;
none found.
Signed-off-by: Vitor Massaru Iha
---
Documentation/filesystems/orangefs.rst | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Documentation/filesystems/orangefs.rst
b
make htmldocs
./drivers/message/fusion/mptbase.c:5057: WARNING: Definition list ends without
a blank line; unexpected unindent.
Signed-off-by: Vitor Massaru Iha
---
drivers/message/fusion/mptbase.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/message/fusion/mptbase.c b/drivers
On Wed, 2020-04-29 at 19:06 -0700, Randy Dunlap wrote:
> On 4/29/20 6:59 PM, Vitor Massaru Iha wrote:
> > Add missed ":" on kernel-doc function parameter.
> >
> > This patch fixes this warnings from `make htmldocs`:
> > ./drivers/dma-buf/dma-buf.c:678: warn
warning: Function parameter or member
'importer_priv' not described in 'dma_buf_dynamic_attach'
Signed-off-by: Vitor Massaru Iha
---
drivers/dma-buf/dma-buf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf
Hi Boris,
From: Boris Brezillon
Date: Thu, Oct 03, 2019 at 15:29:43
> On Thu, 5 Sep 2019 12:00:35 +0200
> Vitor Soares wrote:
>
> > The newdev->boardinfo assignment was missing in
> > i3c_master_add_i3c_dev_locked() and hence the ->of_node info isn'
Hi Jonathan,
From: Jonathan Cameron
Date: Thu, Oct 03,
2019 at 12:49:02
> On Wed, 25 Sep 2019 15:35:10 +
> Vitor Soares wrote:
>
> > Hi Jonathan,
> >
> > From: Jonathan Cameron
> > Date: Sun, Jul 21, 2019 at 18:16:56
> >
> > > On Fr
Hi Jonathan,
From: Jonathan Cameron
Date: Sun, Jul 21, 2019 at 18:16:56
> On Fri, 19 Jul 2019 15:30:55 +0200
> Vitor Soares wrote:
>
> > For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor only in
> > spi and i2c mode.
> >
> > The LSM6DSO an
Hi Boris,
From: Vitor Soares
Date: Thu, Sep 05, 2019 at 11:00:34
> As for today, the I3C framework is keeping in memory and master->bus.devs
> list the devices that fail during pre_assign_dyn_addr() and send them on
> DEFSLVS command.
>
> According to MIPI I3C Bus spec the
For today the reattach function only update the device address on the
controller.
Update the location to the first available too, will optimize the
enumeration process avoiding additional checks to keep the available
positions on address table consecutive.
Signed-off-by: Vitor Soares
Reviewed
capable devices due to lack of space in controller.
Signed-off-by: Vitor Soares
---
Changes in v3:
- Change commit message
Changes in v2:
- Move out detach/free the i3c_dev_desc from pre_assign_dyn_addr()
- Convert i3c_master_pre_assign_dyn_addr() to return an int
drivers/i3c/maste
The I3C devices without a static address can require a specific dynamic
address for priority reasons.
Let's update the binding document to make the 'assigned-address' property
valid if static address == 0 and add an example with this use case.
Signed-off-by: Vitor Soares
R
")
Signed-off-by: Vitor Soares
---
Change in v3:
- None
Changes in v2:
- Change commit message
- Change i3c_master_search_i3c_boardinfo(newdev) to
i3c_master_init_i3c_dev_boardinfo(newdev)
- Add fixes, stable tags
drivers/i3c/master.c | 27 +--
1 file changed
By default, the framework will try to assign the 'assigned-address' to the
device but if the address is already in use the device dynamic address
will be different.
Signed-off-by: Vitor Soares
Reviewed-by: Rob Herring
---
Change in v3:
- Add Rob rb-tag
Documentation/devicetree/bi
guarantee of 'assigned-address' use
Vitor Soares (5):
i3c: master: detach and free device if pre_assign_dyn_addr() fails
i3c: master: make sure ->boardinfo is initialized in
add_i3c_dev_locked()
dt-bindings: i3c: Make 'assigned-address' valid if static address ==
From: Przemyslaw Gaj
Date: Wed, Sep 04, 2019 at 05:47:18
> The 09/03/2019 11:57, Vitor Soares wrote:
> > EXTERNAL MAIL
> >
> >
> > From: Przemyslaw Gaj
> > Date: Tue, Sep 03, 2019 at 12:13:57
> >
> > > Hi Vitor,
> > >
> > >
From: Przemyslaw Gaj
Date: Tue, Sep 03, 2019 at 12:13:57
> Hi Vitor,
>
> I'm sorry for the delay.
>
> The 09/03/2019 12:35, Vitor Soares wrote:
> > EXTERNAL MAIL
> >
> >
> > On pre_assing_dyn_addr() the devices that fail:
> > i3c_master_
Hi Boris,
From: Boris Brezillon
Date: Tue, Sep 03, 2019 at 11:52:37
> On Tue, 3 Sep 2019 12:35:50 +0200
> Vitor Soares wrote:
>
> > On pre_assing_dyn_addr() the devices that fail:
> > i3c_master_setdasa_locked()
> > i3c_master_reattach_i3c_dev()
> &g
ing and freeing the devices that fail on pre_assign_dyn_addr().
Signed-off-by: Vitor Soares
---
Changes in v2:
- Move out detach/free the i3c_dev_desc from pre_assign_dyn_addr()
- Convert i3c_master_pre_assign_dyn_addr() to return an int
drivers/i3c/master.c | 22 +++---
1 f
")
Signed-off-by: Vitor Soares
---
Changes in v2:
- Change commit message
- Change i3c_master_search_i3c_boardinfo(newdev) to
i3c_master_init_i3c_dev_boardinfo(newdev)
- Add fixes, stable tags
drivers/i3c/master.c | 27 +--
1 file changed, 25 insertions(+), 2 delet
The I3C devices without a static address can require a specific dynamic
address for priority reasons.
Let's update the binding document to make the 'assigned-address' property
valid if static address == 0 and add an example with this use case.
Signed-off-by: Vitor Soares
---
For today the reattach function only update the device address on the
controller.
Update the location to the first available too, will optimize the
enumeration process avoiding additional checks to keep the available
positions on address table consecutive.
Signed-off-by: Vitor Soares
Reviewed
dev)
- Add fixes, stable tags on patch 2
- Add a note for no guarantee of 'assigned-address' use
Vitor Soares (5):
i3c: master: detach and free device if pre_assign_dyn_addr() fails
i3c: master: make sure ->boardinfo is initialized in
add_i3c_dev_locked()
dt-bindings: i3c
By default, the framework will try to assign the 'assigned-address' to the
device but if the address is already in use the device dynamic address
will be different.
Signed-off-by: Vitor Soares
---
Documentation/devicetree/bindings/i3c/i3c.txt | 4 +++-
1 file changed, 3 insert
1 - 100 of 199 matches
Mail list logo