Enable memshare driver compilation necessary for
allocation of memory for the clients requesting.
Change-Id: Ic9ff6fdfd120066ec22aa0f3bbbe6aba14cabf86
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Remove open_exec from whitelist as no one should be calling that from a
kernel module.
Bug: 157965270
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I3a4c52208ed26739de4471e910f5da7db565fa04
Include io.h header files in RTB only for QGKI configuration.
Change-Id: I81d7e38ed446040c63e35c66b0b0bd5352b970e6
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
The entire implementation is in kernel/bpf/helpers.c:
BPF_CALL_0(bpf_ktime_get_ns) {
/* NMI safe access to clock monotonic */
return ktime_get_mono_fast_ns();
}
const struct bpf_func_proto bpf_ktime_get_ns_proto = {
.func = bpf_ktime_get_ns,
.gpl_only = false,
.ret_type = RET_INTEGER,
};
and this was presumably marked GPL due to kernel/time/timekeeping.c:
EXPORT_SYMBOL_GPL(ktime_get_mono_fast_ns);
and while that may make sense for kernel modules (although even that
is doubtful), there is currently AFAICT no other source of time
available to ebpf.
Furthermore this is really just equivalent to clock_gettime(CLOCK_MONOTONIC)
which is exposed to userspace (via vdso even to make it performant)...
As such, I see no reason to keep the GPL restriction.
(In the future I'd like to have access to time from Apache licensed ebpf code)
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
(cherry picked from commit 082b57e3eb09810d357083cca5ee2df02c16aec9)
Change-Id: I76f763c64fcd56e7149f94625146486ba00db6c1
Audio compressed format definition moves to techpack. Add the
new file in bp.
Change-Id: Ib484a3a5da11d92f358488372c5faa9a577d6d5b
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Enable the IO_PGTABLE_PAGE_ACCOUNTING feature on debug configurations
for all targets. This feature allows for tracking the number of pages
dedicated towards IOMMU page table memory.
Change-Id: I2156e1571e45b7239252e40d4708ae56954b9955
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>