<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/samples/watch_queue/Makefile, branch linux-6.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.12.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.12.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2020-08-09T16:32:59Z</updated>
<entry>
<title>kbuild: introduce hostprogs-always-y and userprogs-always-y</title>
<updated>2020-08-09T16:32:59Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>masahiroy@kernel.org</email>
</author>
<published>2020-08-01T12:27:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=faabed295cccc2aba2b67f2e7b309f2892d55004'/>
<id>urn:sha1:faabed295cccc2aba2b67f2e7b309f2892d55004</id>
<content type='text'>
To build host programs, you need to add the program names to 'hostprogs'
to use the necessary build rule, but it is not enough to build them
because there is no dependency.

There are two types of host programs: built as the prerequisite of
another (e.g. gen_crc32table in lib/Makefile), or always built when
Kbuild visits the Makefile (e.g. genksyms in scripts/genksyms/Makefile).

The latter is typical in Makefiles under scripts/, which contains host
programs globally used during the kernel build. To build them, you need
to add them to both 'hostprogs' and 'always-y'.

This commit adds hostprogs-always-y as a shorthand.

The same applies to user programs. net/bpfilter/Makefile builds
bpfilter_umh on demand, hence always-y is unneeded. In contrast,
programs under samples/ are added to both 'userprogs' and 'always-y'
so they are always built when Kbuild visits the Makefiles.

userprogs-always-y works as a shorthand.

Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
Acked-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;
</content>
</entry>
<entry>
<title>samples: watch_queue: build sample program for target architecture</title>
<updated>2020-06-21T16:56:09Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>masahiroy@kernel.org</email>
</author>
<published>2020-06-17T02:08:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=214377e9b7e3185abf5998b8a90450e01bab21a7'/>
<id>urn:sha1:214377e9b7e3185abf5998b8a90450e01bab21a7</id>
<content type='text'>
This userspace program includes UAPI headers exported to usr/include/.
'make headers' always works for the target architecture (i.e. the same
architecture as the kernel), so the sample program should be built for
the target as well. Kbuild now supports 'userprogs' for that.

I also guarded the CONFIG option by 'depends on CC_CAN_LINK' because
$(CC) may not provide libc.

Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
</content>
</entry>
<entry>
<title>Add sample notification program</title>
<updated>2020-05-19T14:38:07Z</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2020-01-14T17:07:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f5b5a164f9a11aab5b225f082b33a8f03c07516c'/>
<id>urn:sha1:f5b5a164f9a11aab5b225f082b33a8f03c07516c</id>
<content type='text'>
The sample program is run like:

	./samples/watch_queue/watch_test

and watches "/" for mount changes and the current session keyring for key
changes:

	# keyctl add user a a @s
	1035096409
	# keyctl unlink 1035096409 @s

producing:

	# ./watch_test
	read() = 16
	NOTIFY[000]: ty=000001 sy=02 i=00000110
	KEY 2ffc2e5d change=2[linked] aux=1035096409
	read() = 16
	NOTIFY[000]: ty=000001 sy=02 i=00000110
	KEY 2ffc2e5d change=3[unlinked] aux=1035096409

Other events may be produced, such as with a failing disk:

	read() = 22
	NOTIFY[000]: ty=000003 sy=02 i=00000416
	USB 3-7.7 dev-reset e=0 r=0
	read() = 24
	NOTIFY[000]: ty=000002 sy=06 i=00000418
	BLOCK 00800050 e=6[critical medium] s=64000ef8

This corresponds to:

	blk_update_request: critical medium error, dev sdf, sector 1677725432 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

in dmesg.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
</feed>
='linux-4.19.y'>linux-4.19.y</option>
<option value='linux-4.2.y'>linux-4.2.y</option>
<option value='linux-4.20.y'>linux-4.20.y</option>
<option value='linux-4.3.y'>linux-4.3.y</option>
<option value='linux-4.4.y'>linux-4.4.y</option>
<option value='linux-4.5.y'>linux-4.5.y</option>
<option value='linux-4.6.y'>linux-4.6.y</option>
<option value='linux-4.7.y'>linux-4.7.y</option>
<option value='linux-4.8.y'>linux-4.8.y</option>
<option value='linux-4.9.y'>linux-4.9.y</option>
<option value='linux-5.0.y'>linux-5.0.y</option>
<option value='linux-5.1.y'>linux-5.1.y</option>
<option value='linux-5.10.y'>linux-5.10.y</option>
<option value='linux-5.11.y'>linux-5.11.y</option>
<option value='linux-5.12.y'>linux-5.12.y</option>
<option value='linux-5.13.y'>linux-5.13.y</option>
<option value='linux-5.14.y'>linux-5.14.y</option>
<option value='linux-5.15.y'>linux-5.15.y</option>
<option value='linux-5.16.y'>linux-5.16.y</option>
<option value='linux-5.17.y'>linux-5.17.y</option>
<option value='linux-5.18.y'>linux-5.18.y</option>
<option value='linux-5.19.y'>linux-5.19.y</option>
<option value='linux-5.2.y'>linux-5.2.y</option>
<option value='linux-5.3.y'>linux-5.3.y</option>
<option value='linux-5.4.y'>linux-5.4.y</option>
<option value='linux-5.5.y'>linux-5.5.y</option>
<option value='linux-5.6.y'>linux-5.6.y</option>
<option value='linux-5.7.y'>linux-5.7.y</option>
<option value='linux-5.8.y'>linux-5.8.y</option>
<option value='linux-5.9.y'>linux-5.9.y</option>
<option value='linux-6.0.y'>linux-6.0.y</option>
<option value='linux-6.1.y'>linux-6.1.y</option>
<option value='linux-6.10.y'>linux-6.10.y</option>
<option value='linux-6.11.y'>linux-6.11.y</option>
<option value='linux-6.12.y' selected='selected'>linux-6.12.y</option>
<option value='linux-6.13.y'>linux-6.13.y</option>
<option value='linux-6.14.y'>linux-6.14.y</option>
<option value='linux-6.15.y'>linux-6.15.y</option>
<option value='linux-6.16.y'>linux-6.16.y</option>
<option value='linux-6.17.y'>linux-6.17.y</option>
<option value='linux-6.18.y'>linux-6.18.y</option>
<option value='linux-6.19.y'>linux-6.19.y</option>
<option value='linux-6.2.y'>linux-6.2.y</option>
<option value='linux-6.3.y'>linux-6.3.y</option>
<option value='linux-6.4.y'>linux-6.4.y</option>
<option value='linux-6.5.y'>linux-6.5.y</option>
<option value='linux-6.6.y'>linux-6.6.y</option>
<option value='linux-6.7.y'>linux-6.7.y</option>
<option value='linux-6.8.y'>linux-6.8.y</option>
<option value='linux-6.9.y'>linux-6.9.y</option>
<option value='linux-rolling-lts'>linux-rolling-lts</option>
<option value='linux-rolling-stable'>linux-rolling-stable</option>
<option value='master'>master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>Hosts the 0x221E linux distro kernel.</td><td class='sub right'>Ubuntu</td></tr></table>
<table class='tabs'><tr><td>
<a href='/distro/kernel/?h=linux-6.12.y'>summary</a><a href='/distro/kernel/refs/?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>refs</a><a class='active' href='/distro/kernel/log/arch/blackfin/configs?h=linux-6.12.y'>log</a><a href='/distro/kernel/tree/arch/blackfin/configs?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>tree</a><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>commit</a><a href='/distro/kernel/diff/arch/blackfin/configs?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>diff</a></td><td class='form'><form class='right' method='get' action='/distro/kernel/log/arch/blackfin/configs'>
<input type='hidden' name='h' value='linux-6.12.y'/><input type='hidden' name='id' value='bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/distro/kernel/log/?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>root</a>/<a href='/distro/kernel/log/arch?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>arch</a>/<a href='/distro/kernel/log/arch/blackfin?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>blackfin</a>/<a href='/distro/kernel/log/arch/blackfin/configs?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa'>configs</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/distro/kernel/log/arch/blackfin/configs?h=linux-6.12.y&amp;id=bcc36b40dbba0f9a48af5b19a2f61d972f131bfa&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th></tr>
<tr><td><span title='2014-01-29 15:14:56 +0800'>2014-01-29</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=58095fdaaf1cee12d8e01aa20f94b976e3137d27'>From: Eunbong Song &lt;eunb.song@samsung.com&gt;</a></td><td>Steven Miao</td></tr>
<tr><td><span title='2014-01-29 15:13:20 +0800'>2014-01-29</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=44148338cec1cc69171ed4554333aec786b7d49a'>fix build error for bf527-ezkit_defconfig for old silicon</a></td><td>Aaron Wu</td></tr>
<tr><td><span title='2013-11-15 17:33:41 +0800'>2013-11-15</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=036c5df1839f709ed2018d4cd3bed1934eb26b83'>bf609: update default config for spi</a></td><td>Scott Jiang</td></tr>
<tr><td><span title='2012-11-08 16:00:52 +0200'>2012-11-08</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=77614e0250611fbeeb94b12e0a0b7f281fe61329'>arch: Change defconfigs to point to g_mass_storage.</a></td><td>Michal Nazarewicz</td></tr>
<tr><td><span title='2012-10-09 15:04:25 +0100'>2012-10-09</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=ffe315012510165ce82e4dd4767f0a5dba9edbf7'>Merge tag 'disintegrate-mtd-20121009' of git://git.infradead.org/users/dhowel...</a></td><td>David Woodhouse</td></tr>
<tr><td><span title='2012-10-08 14:36:30 +0800'>2012-10-08</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=e334492632babe99db5ac6811fec15312eedb2ca'>Blackfin: update defconfig for bf609-ezkit</a></td><td>Bob Liu</td></tr>
<tr><td><span title='2012-10-08 14:36:29 +0800'>2012-10-08</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=4563f2cc295e1094fc66e9d0cd9c5e4ea0616ae3'>Blackfin: bf533-ezkit: enable flash drivers by default</a></td><td>Mike Frysinger</td></tr>
<tr><td><span title='2012-09-29 15:00:49 +0100'>2012-09-29</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=b8c4bf26109878d39b5e6d1425b8c9cd562ef525'>defconfigs: remove CONFIG_MTD_NAND_VERIFY_WRITE</a></td><td>Huang Shijie</td></tr>
<tr><td><span title='2012-07-24 13:39:48 +0800'>2012-07-24</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=3d6ba60892daf93e2cfdcc20a3d9e83ddf501979'>bf60x: Enable Blackfin CRC crypto driver by default.</a></td><td>Sonic Zhang</td></tr>
<tr><td><span title='2012-05-21 14:54:50 +0800'>2012-05-21</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=0fbd88ca20a68a633b565e1f5ba18ca64afb0c78'>blackfin: bf60x: add wakeup source select</a></td><td>Steven Miao</td></tr>
<tr><td><span title='2012-05-21 14:54:47 +0800'>2012-05-21</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=1c40093976192c837c80f0c723394f176ca132ff'>blackfin:mach-bf609: fix norflash for bf609-ezkit</a></td><td>Bob Liu</td></tr>
<tr><td><span title='2012-05-21 14:54:12 +0800'>2012-05-21</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=b5affb0147cee0ea05d909396f8e389092729236'>blackfin: add bf60x to current framework</a></td><td>Bob Liu</td></tr>
<tr><td><span title='2012-05-21 14:54:06 +0800'>2012-05-21</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=b1a3c1daf67c2c8ac5450f8fa4b72b3b9d21b34c'>blackfin: configs: add SMP support back to BF561-EZKIT-SMP_defconfig</a></td><td>Bob Liu</td></tr>
<tr><td><span title='2012-04-06 10:25:03 +0800'>2012-04-06</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=35fe2e73bf097409abb9b81e041db83ea08b1c93'>blackfin: update defconfig for bf527-ezkit</a></td><td>Bob Liu</td></tr>
<tr><td><span title='2012-03-21 11:00:09 +0800'>2012-03-21</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=45a93315d829cfafb83eea0bf76b7346b6f0d072'>arch: blackfin: udpate defconfig</a></td><td>Bob Liu</td></tr>
<tr><td><span title='2012-03-21 11:00:08 +0800'>2012-03-21</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=ff4db3b14c30974c4c951772cb4e13b16bd676bb'>blackfin: update default defconfig</a></td><td>Bob Liu</td></tr>
<tr><td><span title='2012-01-09 10:26:15 +0800'>2012-01-09</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=5ef835ebf9672cc594af0d13accd8fb239926a0f'>blackfin: config: update def config for all boards</a></td><td>Scott Jiang</td></tr>
<tr><td><span title='2011-10-25 19:51:32 -0400'>2011-10-25</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=f8b4392091e1a699a1402b66d578ab9a05bf7d44'>Blackfin: bf548-ezkit: update defconfig</a></td><td>Sonic Zhang</td></tr>
<tr><td><span title='2011-07-23 01:18:17 -0400'>2011-07-23</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=4e12b08b7228a607a6183186bbe21f269a287137'>Blackfin: bf561-ezkit: change parallel flash from M to Y in defconfig</a></td><td>Mike Frysinger</td></tr>
<tr><td><span title='2011-06-15 20:04:02 -0700'>2011-06-15</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=c7cbb02222eccb82bfd42696b01abceddae663f2'>rtc: fix build warnings in defconfigs</a></td><td>Wanlong Gao</td></tr>
<tr><td><span title='2011-05-25 08:13:43 -0400'>2011-05-25</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=f91c69168a218fb7ab7a5ce09fa1ccd20a904119'>Blackfin: bf533-stamp/bf537-stamp: drop ad1980 from defconfigs</a></td><td>Mike Frysinger</td></tr>
<tr><td><span title='2011-05-25 08:13:42 -0400'>2011-05-25</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=3f62bcb259e87c9e1500b701f764c1f2ccb1da98'>Blackfin: bf527-ezkit: tweak sound defconfig</a></td><td>Mike Frysinger</td></tr>
<tr><td><span title='2011-03-25 16:54:12 -0400'>2011-03-25</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=901c23fb18fad6506c90e17fa265970c311b9227'>Blackfin: defconfigs: update after misc devices defaulted to N</a></td><td>Mike Frysinger</td></tr>
<tr><td><span title='2011-03-18 03:49:26 -0400'>2011-03-18</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=d6b435be4b3277b341ad1a77392d2e58b3d7b36d'>Blackfin: ADI boards: enable pseudo debug insns support</a></td><td>Mike Frysinger</td></tr>
<tr><td><span title='2011-01-20 17:02:05 -0800'>2011-01-20</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=6a108a14fa356ef607be308b68337939e56ea94e'>kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT</a></td><td>David Rientjes</td></tr>
<tr><td><span title='2011-01-10 07:18:25 -0500'>2011-01-10</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=3ea9f2bf5a3b91ba18af9f25bfc9a32677ea47d8'>Blackfin: DNP5370: new board port</a></td><td>Andreas Schallenberg</td></tr>
<tr><td><span title='2011-01-10 07:18:07 -0500'>2011-01-10</span></td><td><a href='/distro/kernel/commit/arch/blackfin/configs?h=linux-6.12.y&amp;id=c31b3f73855821d8292904a7c36f5ec9d2ba2c5b'>Blackfin: bf561-ezkit: add SMP defconfig</a></td><td>Mike Frysinger</td></tr>
