upgpkg: 3.5-2
removed not needed patches, added avmfritz capi20 fix, added kprobes and uprobes to config
This commit is contained in:
parent
1c94b33f5b
commit
e42591ff10
14
PKGBUILD
14
PKGBUILD
@ -20,12 +20,14 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.5.tar.xz"
|
||||
'config' 'config.x86_64'
|
||||
# standard config files for mkinitcpio ramdisk
|
||||
"${pkgname}.preset"
|
||||
'change-default-console-loglevel.patch')
|
||||
'change-default-console-loglevel.patch'
|
||||
'avmfritz-only-few-bytes-are-transfered-on-a-conn.patch')
|
||||
md5sums=('24153eaaa81dedc9481ada8cd9c3b83d'
|
||||
'a2facfc8fe8ba073f64d125694cda469'
|
||||
'05d00f104528ced0a3bd9bd6ca9733b9'
|
||||
'31dade2f50803beaebf947732f39b51e'
|
||||
'34bf41248c2ab68ddb0a7b3b5f4a68ce'
|
||||
'eb14dcfd80c00852ef81ded6e826826a'
|
||||
'9d3c56a4b999c8bfbd4018089a62f662')
|
||||
'9d3c56a4b999c8bfbd4018089a62f662'
|
||||
'2afcc001cc178be72e3a19d95f4bd5eb')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/linux-${_basekernel}"
|
||||
@ -41,6 +43,10 @@ build() {
|
||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||
patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"
|
||||
|
||||
# fix avmfritz capi20 functionallity
|
||||
# https://bugzilla.kernel.org/show_bug.cgi?id=45271
|
||||
patch -Np1 -i "${srcdir}/avmfritz-only-few-bytes-are-transfered-on-a-conn.patch"
|
||||
|
||||
if [ "${CARCH}" = "x86_64" ]; then
|
||||
cat "${srcdir}/config.x86_64" > ./.config
|
||||
else
|
||||
|
48
avmfritz-only-few-bytes-are-transfered-on-a-conn.patch
Normal file
48
avmfritz-only-few-bytes-are-transfered-on-a-conn.patch
Normal file
@ -0,0 +1,48 @@
|
||||
From 285c08154eede7dc4387bfc925967c884594dcc9 Mon Sep 17 00:00:00 2001
|
||||
From: Karsten Keil <keil@b1-systems.de>
|
||||
Date: Sat, 28 Jul 2012 20:10:04 +0200
|
||||
Subject: [PATCH] mISDN: Bugfix only few bytes are transfered on a connection
|
||||
|
||||
The test for the fillempty condition was wrong in one place.
|
||||
Changed the variable to the right boolean type.
|
||||
|
||||
Signed-off-by: Karsten Keil <keil@b1-systems.de>
|
||||
---
|
||||
drivers/isdn/hardware/mISDN/avmfritz.c | 7 ++++---
|
||||
1 files changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/drivers/isdn/hardware/mISDN/avmfritz.c b/drivers/isdn/hardware/mISDN/avmfritz.c
|
||||
index c08fc60..fa6ca47 100644
|
||||
--- a/drivers/isdn/hardware/mISDN/avmfritz.c
|
||||
+++ b/drivers/isdn/hardware/mISDN/avmfritz.c
|
||||
@@ -449,7 +449,8 @@ hdlc_fill_fifo(struct bchannel *bch)
|
||||
{
|
||||
struct fritzcard *fc = bch->hw;
|
||||
struct hdlc_hw *hdlc;
|
||||
- int count, fs, cnt = 0, idx, fillempty = 0;
|
||||
+ int count, fs, cnt = 0, idx;
|
||||
+ bool fillempty = false;
|
||||
u8 *p;
|
||||
u32 *ptr, val, addr;
|
||||
|
||||
@@ -462,7 +463,7 @@ hdlc_fill_fifo(struct bchannel *bch)
|
||||
return;
|
||||
count = fs;
|
||||
p = bch->fill;
|
||||
- fillempty = 1;
|
||||
+ fillempty = true;
|
||||
} else {
|
||||
count = bch->tx_skb->len - bch->tx_idx;
|
||||
if (count <= 0)
|
||||
@@ -477,7 +478,7 @@ hdlc_fill_fifo(struct bchannel *bch)
|
||||
hdlc->ctrl.sr.cmd |= HDLC_CMD_XME;
|
||||
}
|
||||
ptr = (u32 *)p;
|
||||
- if (fillempty) {
|
||||
+ if (!fillempty) {
|
||||
pr_debug("%s.B%d: %d/%d/%d", fc->name, bch->nr, count,
|
||||
bch->tx_idx, bch->tx_skb->len);
|
||||
bch->tx_idx += count;
|
||||
--
|
||||
1.7.7
|
||||
|
16
config
16
config
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/i386 3.5.0-1 Kernel Configuration
|
||||
# Linux/i386 3.5.0-2 Kernel Configuration
|
||||
#
|
||||
# CONFIG_64BIT is not set
|
||||
CONFIG_X86_32=y
|
||||
@ -204,9 +204,11 @@ CONFIG_OPROFILE=m
|
||||
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set
|
||||
CONFIG_HAVE_OPROFILE=y
|
||||
CONFIG_OPROFILE_NMI_TIMER=y
|
||||
# CONFIG_KPROBES is not set
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_UPROBES=y
|
||||
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
|
||||
CONFIG_KRETPROBES=y
|
||||
CONFIG_USER_RETURN_NOTIFIER=y
|
||||
CONFIG_HAVE_IOREMAP_PROT=y
|
||||
CONFIG_HAVE_KPROBES=y
|
||||
@ -1071,7 +1073,9 @@ CONFIG_IP_DCCP_TFRC_LIB=y
|
||||
# DCCP Kernel Hacking
|
||||
#
|
||||
# CONFIG_IP_DCCP_DEBUG is not set
|
||||
CONFIG_NET_DCCPPROBE=m
|
||||
CONFIG_IP_SCTP=m
|
||||
CONFIG_NET_SCTPPROBE=m
|
||||
# CONFIG_SCTP_DBG_MSG is not set
|
||||
# CONFIG_SCTP_DBG_OBJCNT is not set
|
||||
# CONFIG_SCTP_HMAC_NONE is not set
|
||||
@ -1191,6 +1195,7 @@ CONFIG_BQL=y
|
||||
# Network testing
|
||||
#
|
||||
CONFIG_NET_PKTGEN=m
|
||||
CONFIG_NET_TCPPROBE=m
|
||||
CONFIG_NET_DROP_MONITOR=y
|
||||
CONFIG_HAMRADIO=y
|
||||
|
||||
@ -5633,6 +5638,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60
|
||||
# CONFIG_RCU_CPU_STALL_VERBOSE is not set
|
||||
# CONFIG_RCU_CPU_STALL_INFO is not set
|
||||
# CONFIG_RCU_TRACE is not set
|
||||
# CONFIG_KPROBES_SANITY_TEST is not set
|
||||
# CONFIG_BACKTRACE_SELF_TEST is not set
|
||||
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
|
||||
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
|
||||
@ -5673,8 +5679,9 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
||||
# CONFIG_PROFILE_ALL_BRANCHES is not set
|
||||
CONFIG_STACK_TRACER=y
|
||||
CONFIG_BLK_DEV_IO_TRACE=y
|
||||
# CONFIG_UPROBE_EVENT is not set
|
||||
# CONFIG_PROBE_EVENTS is not set
|
||||
CONFIG_KPROBE_EVENT=y
|
||||
CONFIG_UPROBE_EVENT=y
|
||||
CONFIG_PROBE_EVENTS=y
|
||||
CONFIG_DYNAMIC_FTRACE=y
|
||||
CONFIG_FUNCTION_PROFILER=y
|
||||
CONFIG_FTRACE_MCOUNT_RECORD=y
|
||||
@ -5706,6 +5713,7 @@ CONFIG_DEBUG_RODATA=y
|
||||
CONFIG_DOUBLEFAULT=y
|
||||
# CONFIG_IOMMU_STRESS is not set
|
||||
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
|
||||
# CONFIG_X86_DECODER_SELFTEST is not set
|
||||
CONFIG_IO_DELAY_TYPE_0X80=0
|
||||
CONFIG_IO_DELAY_TYPE_0XED=1
|
||||
CONFIG_IO_DELAY_TYPE_UDELAY=2
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86_64 3.5.0-1 Kernel Configuration
|
||||
# Linux/x86_64 3.5.0-2 Kernel Configuration
|
||||
#
|
||||
CONFIG_64BIT=y
|
||||
# CONFIG_X86_32 is not set
|
||||
@ -206,9 +206,11 @@ CONFIG_OPROFILE=m
|
||||
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set
|
||||
CONFIG_HAVE_OPROFILE=y
|
||||
CONFIG_OPROFILE_NMI_TIMER=y
|
||||
# CONFIG_KPROBES is not set
|
||||
CONFIG_KPROBES=y
|
||||
CONFIG_JUMP_LABEL=y
|
||||
CONFIG_UPROBES=y
|
||||
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
|
||||
CONFIG_KRETPROBES=y
|
||||
CONFIG_USER_RETURN_NOTIFIER=y
|
||||
CONFIG_HAVE_IOREMAP_PROT=y
|
||||
CONFIG_HAVE_KPROBES=y
|
||||
@ -1036,7 +1038,9 @@ CONFIG_IP_DCCP_TFRC_LIB=y
|
||||
# DCCP Kernel Hacking
|
||||
#
|
||||
# CONFIG_IP_DCCP_DEBUG is not set
|
||||
CONFIG_NET_DCCPPROBE=m
|
||||
CONFIG_IP_SCTP=m
|
||||
CONFIG_NET_SCTPPROBE=m
|
||||
# CONFIG_SCTP_DBG_MSG is not set
|
||||
# CONFIG_SCTP_DBG_OBJCNT is not set
|
||||
# CONFIG_SCTP_HMAC_NONE is not set
|
||||
@ -1153,6 +1157,7 @@ CONFIG_BPF_JIT=y
|
||||
# Network testing
|
||||
#
|
||||
CONFIG_NET_PKTGEN=m
|
||||
CONFIG_NET_TCPPROBE=m
|
||||
CONFIG_NET_DROP_MONITOR=y
|
||||
CONFIG_HAMRADIO=y
|
||||
|
||||
@ -5402,6 +5407,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60
|
||||
# CONFIG_RCU_CPU_STALL_VERBOSE is not set
|
||||
# CONFIG_RCU_CPU_STALL_INFO is not set
|
||||
# CONFIG_RCU_TRACE is not set
|
||||
# CONFIG_KPROBES_SANITY_TEST is not set
|
||||
# CONFIG_BACKTRACE_SELF_TEST is not set
|
||||
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
|
||||
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
|
||||
@ -5442,8 +5448,9 @@ CONFIG_BRANCH_PROFILE_NONE=y
|
||||
# CONFIG_PROFILE_ALL_BRANCHES is not set
|
||||
CONFIG_STACK_TRACER=y
|
||||
CONFIG_BLK_DEV_IO_TRACE=y
|
||||
# CONFIG_UPROBE_EVENT is not set
|
||||
# CONFIG_PROBE_EVENTS is not set
|
||||
CONFIG_KPROBE_EVENT=y
|
||||
CONFIG_UPROBE_EVENT=y
|
||||
CONFIG_PROBE_EVENTS=y
|
||||
CONFIG_DYNAMIC_FTRACE=y
|
||||
CONFIG_FUNCTION_PROFILER=y
|
||||
CONFIG_FTRACE_MCOUNT_RECORD=y
|
||||
@ -5475,6 +5482,7 @@ CONFIG_DEBUG_RODATA=y
|
||||
# CONFIG_IOMMU_DEBUG is not set
|
||||
# CONFIG_IOMMU_STRESS is not set
|
||||
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
|
||||
# CONFIG_X86_DECODER_SELFTEST is not set
|
||||
CONFIG_IO_DELAY_TYPE_0X80=0
|
||||
CONFIG_IO_DELAY_TYPE_0XED=1
|
||||
CONFIG_IO_DELAY_TYPE_UDELAY=2
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- linux-3.3/drivers/platform/x86/acerhdf.c~ 2012-03-08 09:21:18.759446675 +0100
|
||||
+++ linux-3.3/drivers/platform/x86/acerhdf.c 2012-03-08 09:20:17.900452311 +0100
|
||||
@@ -182,6 +182,7 @@
|
||||
{"Acer", "Aspire 1810T", "v1.3308", 0x55, 0x58, {0x9e, 0x00} },
|
||||
{"Acer", "Aspire 1810TZ", "v1.3310", 0x55, 0x58, {0x9e, 0x00} },
|
||||
{"Acer", "Aspire 1810T", "v1.3310", 0x55, 0x58, {0x9e, 0x00} },
|
||||
+ {"Acer", "Aspire 1810T", "v1.3314", 0x55, 0x58, {0x9e, 0x00} },
|
||||
{"Acer", "Aspire 1810TZ", "v1.3314", 0x55, 0x58, {0x9e, 0x00} },
|
||||
/* Acer 531 */
|
||||
{"Acer", "AO531h", "v0.3201", 0x55, 0x58, {0x20, 0x00} },
|
@ -1,26 +0,0 @@
|
||||
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
|
||||
Tested-by: Santi <santi@agolina.net>
|
||||
---
|
||||
drivers/gpu/drm/i915/intel_tv.c | 9 +++++++++
|
||||
1 files changed, 9 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
|
||||
index dc83b7a..c8f67bf 100644
|
||||
--- a/drivers/gpu/drm/i915/intel_tv.c
|
||||
+++ b/drivers/gpu/drm/i915/intel_tv.c
|
||||
@@ -1267,6 +1267,15 @@
|
||||
DAC_B_0_7_V |
|
||||
DAC_C_0_7_V);
|
||||
|
||||
+ /*
|
||||
+ * The TV sense state should be cleared to zero on cantiga platform. Otherwise
|
||||
+ * the TV is misdetected. This is hardware requirement.
|
||||
+ */
|
||||
+ if (IS_GM45(dev))
|
||||
+ tv_dac &= ~(TVDAC_STATE_CHG_EN | TVDAC_A_SENSE_CTL |
|
||||
+ TVDAC_B_SENSE_CTL | TVDAC_C_SENSE_CTL);
|
||||
+
|
||||
+
|
||||
I915_WRITE(TV_CTL, tv_ctl);
|
||||
I915_WRITE(TV_DAC, tv_dac);
|
||||
POSTING_READ(TV_DAC);
|
@ -2,7 +2,7 @@
|
||||
# arg 2: the old package version
|
||||
|
||||
KERNEL_NAME=
|
||||
KERNEL_VERSION=3.5.0-1-ARCH
|
||||
KERNEL_VERSION=3.5.0-2-ARCH
|
||||
|
||||
# set a sane PATH to ensure that critical utils like depmod will be found
|
||||
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
|
||||
|
Loading…
Reference in New Issue
Block a user