Merge branch 'Add support of pointer to struct in global'
authorAlexei Starovoitov <ast@kernel.org>
Sat, 13 Feb 2021 01:37:23 +0000 (17:37 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 13 Feb 2021 01:37:23 +0000 (17:37 -0800)
commit5e1d40b75ed85ecd76347273da17e5da195c3e96
tree39b7ad2400b62446aa3bd60cb6168f911de4e5a7
parentb62eba563229fc7c51af41b55fc67c4778d85bb7
parent8b08807d039a843163fd4aeca93aec69dfc4fbcf
Merge branch 'Add support of pointer to struct in global'

Dmitrii Banshchikov says:

====================

This patchset adds support of pointers to type with known size among
global function arguments.

The motivation is to overcome the limit on the maximum number of allowed
arguments and avoid tricky and unoptimal ways of passing arguments.

A referenced type may contain pointers but access via such pointers
cannot be veirified currently.

v2 -> v3
 - Fix reg ID generation
 - Fix commit description
 - Fix typo
 - Fix tests

v1 -> v2:
 - Allow pointer to any type with known size rather than struct only
 - Allow pointer in global functions only
 - Add more tests
 - Fix wrapping and v1 comments
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>