~apw/ubuntu/+source/linux/+git/review:signing/opal

Last commit made on 2018-03-01
Get this branch:
git clone -b signing/opal https://git.launchpad.net/~apw/ubuntu/+source/linux/+git/review
Only Andy Whitcroft can upload to this branch. If you are Andy Whitcroft please log in for upload directions.

Branch merges

Branch information

Name:
signing/opal
Repository:
lp:~apw/ubuntu/+source/linux/+git/review

Recent commits

afae089... by Andy Whitcroft

CHANGELOG

Signed-off-by: Andy Whitcroft <email address hidden>

401fcf2... by Andy Whitcroft

CHANGELOG

Signed-off-by: Andy Whitcroft <email address hidden>

2edea4d... by Andy Whitcroft

SMALLER

Signed-off-by: Andy Whitcroft <email address hidden>

ecb8e75... by Andy Whitcroft

UBUNTU: [Packaging] printenv -- add signing options

Signed-off-by: Andy Whitcroft <email address hidden>

f0a0430... by Andy Whitcroft

UBUNTU: [Config] signing -- enable Opal signing for ppc64el

Signed-off-by: Andy Whitcroft <email address hidden>

025cf50... by Andy Whitcroft

UBUNTU: [Packaging] signed -- add Opal binary signing support

Signed-off-by: Andy Whitcroft <email address hidden>

a300919... by Andy Whitcroft

UBUNTU: [Packaging] signing -- switch to raw-signing tarballs

Signed-off-by: Andy Whitcroft <email address hidden>

842f5d9... by Andy Whitcroft

UBUNTU: [Packaging] switch to triggers for postinst.d postrm.d handling

When we install linux-image we have to run kernel postinst.d support in
case this kernel has no linux-image-extra. Should it have an extra and
we install we then have to assume that is being installed cold
and that the same processing is neeed. If we are installing both at the
same time, we necessarily trigger kernel postinst.d twice. As this
includes rebuilding the initramfs and reconfiguring the boot loader this
is very inefficient.

For removal of linux-image-extra when we remove the package we also
need to run postinst.d handling in order to pare down the initramfs to
linux-image contents only. However when we are removing both packages
we immediatly remove the rebuilt initramfs. Doubly annoying.

This patch switches us to using a trigger against the linux-image package
for all postinst.d and postrm.d handling. On installation postinst.d
gets triggered twice once by linux-image and once by linux-image-extra.
As triggers are non-cumulative we will only run this processing
once. When removing both packages we will trigger postinst.d from
linux-image-extra and then in linux-image postrm.d we effectivly ignore
the pending trigger and simply run the postrm.d. This prevents us from
rebuilding the initramfs.

Signed-off-by: Andy Whitcroft <email address hidden>

92871ae... by Andy Whitcroft

UBUNTU: [Packaging] update to Debian like control scripts

Signed-off-by: Andy Whitcroft <email address hidden>

696c0da... by Tan Xiaojun <email address hidden>

drm/ttm: add ttm_bo_io_mem_pfn to check io_mem_pfn

BugLink: https://bugs.launchpad.net/bugs/1738334

The io_mem_pfn field was added in commit ea642c3216cb ("drm/ttm: add
io_mem_pfn callback") and is called unconditionally. However, not all
drivers were updated to set it.

Use the ttm_bo_default_io_mem_pfn function if a driver did not set its
own. And add new function ttm_bo_io_mem_pfn() as wrapper.

Signed-off-by: Michal Srb <email address hidden>
Signed-off-by: Tan Xiaojun <email address hidden>
Reviewed-by: Christian König <email address hidden>
Signed-off-by: Alex Deucher <email address hidden>
(cherry picked from commit c67fa6edc8b11afe22c88a23963170bf5f151acf)
Signed-off-by: Daniel Axtens <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>