#ifndef _TSO_H #define _TSO_H #include <net/ip.h> struct tso_t { int next_frag_idx; void *data; size_t size; u16 ip_id; bool ipv6; u32 tcp_seq; }; int tso_count_descs(struct sk_buff *skb); void tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso, int size, bool is_last); void tso_build_data(struct sk_buff *skb, struct tso_t *tso, int size); void tso_start(struct sk_buff *skb, struct tso_t *tso); #endif /* _TSO_H */ pository'/> <link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/> </head> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='735a0045f9ea8372bcf3e599cbd3aa891a216b26'/><select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/pcmcia/cisreg.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/pcmcia/cisreg.h?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/pcmcia/cisreg.h?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/pcmcia/cisreg.h?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/pcmcia/cisreg.h'> <input type='hidden' name='id' value='735a0045f9ea8372bcf3e599cbd3aa891a216b26'/><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='/cgit.cgi/linux/net-next.git/log/?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/pcmcia?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>pcmcia</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/pcmcia/cisreg.h?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26'>cisreg.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/pcmcia/cisreg.h?id=735a0045f9ea8372bcf3e599cbd3aa891a216b26&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr> lass='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr> clude/soc/tegra/pm.h?h=nds-private-remove&id=bf29bddf0417a4783da3b24e8c9e017ac649326f'>pm.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='bf29bddf0417a4783da3b24e8c9e017ac649326f'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Jiri Kosina <jkosina@suse.cz></td><td class='right'>2017-01-27 22:25:52 +0000</td></tr> <tr><th>committer</th><td>Ingo Molnar <mingo@kernel.org></td><td class='right'>2017-01-28 09:18:56 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/soc/tegra/pm.h?h=nds-private-remove&id=bf29bddf0417a4783da3b24e8c9e017ac649326f'>bf29bddf0417a4783da3b24e8c9e017ac649326f</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/soc/tegra/pm.h?id=bf29bddf0417a4783da3b24e8c9e017ac649326f'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=bf29bddf0417a4783da3b24e8c9e017ac649326f'>54a05a4883b73f80e4e1d8c4b15750aa01c39932</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/soc/tegra/pm.h?h=nds-private-remove&id=bf29bddf0417a4783da3b24e8c9e017ac649326f'>include/soc/tegra/pm.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/soc/tegra/pm.h?h=nds-private-remove&id=883af14e67e8b8702b5560aa64c888c0cd0bd66c'>883af14e67e8b8702b5560aa64c888c0cd0bd66c</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/soc/tegra/pm.h?h=nds-private-remove&id=bf29bddf0417a4783da3b24e8c9e017ac649326f&id2=883af14e67e8b8702b5560aa64c888c0cd0bd66c'>diff</a>)</td></tr></table> <div class='commit-subject'>x86/efi: Always map the first physical page into the EFI pagetables</div><div class='commit-msg'>Commit: 129766708 ("x86/efi: Only map RAM into EFI page tables if in mixed-mode") stopped creating 1:1 mappings for all RAM, when running in native 64-bit mode. It turns out though that there are 64-bit EFI implementations in the wild (this particular problem has been reported on a Lenovo Yoga 710-11IKB), which still make use of the first physical page for their own private use, even though they explicitly mark it EFI_CONVENTIONAL_MEMORY in the memory map. In case there is no mapping for this particular frame in the EFI pagetables, as soon as firmware tries to make use of it, a triple fault occurs and the system reboots (in case of the Yoga 710-11IKB this is very early during bootup). Fix that by always mapping the first page of physical memory into the EFI pagetables. We're free to hand this page to the BIOS, as trim_bios_range() will reserve the first page and isolate it away from memory allocators anyway. Note that just reverting 129766708 alone is not enough on v4.9-rc1+ to fix the regression on affected hardware, as this commit: ab72a27da ("x86/efi: Consolidate region mapping logic") later made the first physical frame not to be mapped anyway. Reported-by: Hanka Pavlikova <hanka@ucw.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Borislav Petkov <bp@suse.de> Cc: Laura Abbott <labbott@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vojtech Pavlik <vojtech@ucw.cz> Cc: Waiman Long <waiman.long@hpe.com> Cc: linux-efi@vger.kernel.org Cc: stable@kernel.org # v4.8+ Fixes: 129766708 ("x86/efi: Only map RAM into EFI page tables if in mixed-mode") Link: http://lkml.kernel.org/r/20170127222552.22336-1-matt@codeblueprint.co.uk [ Tidied up the changelog and the comment. ] Signed-off-by: Ingo Molnar <mingo@kernel.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&id=bf29bddf0417a4783da3b24e8c9e017ac649326f'>Diffstat</a> (limited to 'include/soc/tegra/pm.h')</div><table summary='diffstat' class='diffstat'>